v7.0.0 installation fails during configuring wildfly Failed to set session cookie. Error message - Unable to connect to controller. Caught: java.lang.IllegalStateException: Unable to connect to controller.
Originally Published: 2016-04-20
Last Modified: 2023-10-06
Article Number
Applies To
RSA Product/Service Type: Software Appliance
RSA Version/Condition: 7.0
Platform: Wildfly
Issue
[Thu Dec 10 02:04:15 EST 2015]: Failed to set session cookie. Error message - Unable to connect to controller.
Caught: java.lang.IllegalStateException: Unable to connect to controller.
java.lang.IllegalStateException: Unable to connect to controller.
at org.jboss.as.cli.scriptsupport.CLI.connect(CLI.java:84)
at org.jboss.as.cli.scriptsupport.CLI$connect.call(Unknown Source)
at com.aveksa.wildfly.Util.connect(Util.groovy:131)
at com.aveksa.wildfly.Util$connect.call(Unknown Source)
at com.aveksa.wildfly.Undertow.setSessionCookieFlag(Undertow.groovy:102)
at com.aveksa.wildfly.Undertow.enableSecureCookie(Undertow.groovy:65)
at com.aveksa.wildfly.Undertow.main(Undertow.groovy:210)
Caused by: org.jboss.as.cli.CommandLineException: The controller is not available at localhost:9990
at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1028)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:840)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:819)
at org.jboss.as.cli.scriptsupport.CLI.connect(CLI.java:80)
... 6 more
Caused by: java.io.IOException: java.net.ConnectException: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:129)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:71)
at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1005)
... 9 more
Caused by: java.net.ConnectException: JBAS012174: Could not connect to http-remoting://localhost:9990. The connection failed
at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:117)
at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:256)
at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:70)
at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:204)
at org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:169)
at org.jboss.as.cli.impl.CLIModelControllerClient$2.getChannel(CLIModelControllerClient.java:129)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:117)
at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:92)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:236)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:141)
at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:127)
... 11 more
Caused by: java.net.ConnectException: Connection refused
at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:319)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)
at ...asynchronous invocation...(Unknown Source)
at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:272)
at org.jboss.remoting3.EndpointImpl.doConnect(EndpointImpl.java:253)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:351)
at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:339)
at org.jboss.as.protocol.ProtocolConnectionUtils.connect(ProtocolConnectionUtils.java:78)
at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:109)
... 21 more
Failed to enable secure cookies on Wildfly
Step failed! See for more information.Cause
[root@rtplapdvavk03 ~]# ping localhost
ping: unknown host localhost
Resolution
** add localhost to the ip 127.0.0.1 **
Related Articles
Access Manager is unable to connect to Active Directory even after expired Domain Controller certificate is replaced 44Number of Views How to connect to SQL in RSA Authentication Manager 8.x 339Number of Views Error: '[Date/Time] Unable to connect to session server: Connection refused' in KCA/KRA admin-error.log 50Number of Views Patching RSA Governance & Lifecycle fails with error Unable to connect to controller. 59Number of Views AAOP in tomcat 6 'Unable to connect to the DB connection for the image service'<DATASTORE_ERROR ' Unable to get DB connect… 93Number of Views
Trending Articles
Troubleshooting RSA MFA Agent for Microsoft Windows RSA SecurID Software Token for Microsoft Windows shows blank screen when asked to select a device where the token will be … RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console
Don't see what you're looking for?