[keycloak-user] Unable To Add Server to Existing Keycloak Cluster

Sagar Ahire sagarahire at arvindinternet.com
Sat Jul 15 04:04:19 EDT 2017


Hello,

I'm trying to add/start one more server to our existing keycloak cluster of
two nodes. I took the AMI snapshot of current running server and tried to
launch new keycloak service keeping the same configuration but getting the
following errors.

I'm using
*Keycloak version: 2.4.0*
*Wildfly version: 2.0.10*

*******Errors*******
*07:39:08,605 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool
-- 58) MSC000001: Failed to start service
jboss.infinispan.keycloak.sessions: org.jboss.msc.service.StartException in
service jboss.infinispan.keycloak.sessions:
org.infinispan.commons.CacheException: Unable to invoke method public void
org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()
throws java.lang.Exception on object of type StateTransferManagerImpl*
* at
org.wildfly.clustering.service.AsynchronousServiceBuilder$1.run(AsynchronousServiceBuilder.java:107)*
* at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)*
* at java.lang.Thread.run(Thread.java:745)*
* at org.jboss.threads.JBossThread.run(JBossThread.java:320)*
*Caused by: org.infinispan.commons.CacheException: Unable to invoke method
public void
org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()
throws java.lang.Exception on object of type StateTransferManagerImpl*

---------------------------------------------------------------------------------------------------------------

*07:39:08,615 ERROR [org.jboss.as.controller.management-operation]
(Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address:
([*
*    ("subsystem" => "infinispan"),*
*    ("cache-container" => "keycloak"),*
*    ("distributed-cache" => "sessions")*
*]) - failure description: {"WFLYCTL0080: Failed services" =>
{"jboss.infinispan.keycloak.sessions" =>
"org.jboss.msc.service.StartException in service
jboss.infinispan.keycloak.sessions: org.infinispan.commons.CacheException:
Unable to invoke method public void
org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()
throws java.lang.Exception on object of type StateTransferManagerImpl*
*    Caused by: org.infinispan.commons.CacheException: Unable to invoke
method public void
org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete()
throws java.lang.Exception on object of type StateTransferManagerImpl*

*    Caused by: org.infinispan.commons.CacheException: Initial state
transfer timed out for cache sessions on
ip-172-31-23-136.ap-southeast-1.compute.internal"}} *
*regards,*
**************end*************


*Any help is greatly appreciated.*



 -Sagar


More information about the keycloak-user mailing list