[keycloak-user] Keycloak node cannot join cluster, initial state transfer timed out

Matt Evans mevans at aconex.com
Fri Sep 1 00:31:02 EDT 2017


We're running keycloak clustered with standalone-ha.xml, and it's been working fine.

We changed the 'owners' of the distributed caches for session, loginFailures etc to 2 so that it will distribute those caches across the 2 nodes in the cluster.

Now, when I remove a node and add a new node, the new node fails to start some of the services, due to:

org.infinispan.commons.CacheException: Initial state transfer timed out for cache sessions on xxxx

Is this because it's actually taking too long to fetch the initial cache data from the other node? Is it due to the size of the cache, or some other issue?

What can I do to address this so that I can add the node back into the cluster?

I'm not experienced at all in infinispan or jgroups, so any pointers on how to query the servers to see whats in the caches, and how to see what's actually happening will be appreciated!

Thanks

Matt


More information about the keycloak-user mailing list