[keycloak-user] Keycloak node cannot join cluster, initial state transfer timed out
Matt Evans
mevans at aconex.com
Fri Sep 1 17:47:03 EDT 2017
No, I just start up keycloak and run standalone ha. There's no mention of that property in the keycloak docs about clustering
Matt
________________________________
From: Meissa M'baye Sakho <msakho at redhat.com>
Sent: Saturday, September 2, 2017 12:53:35 AM
To: Matt Evans
Cc: keycloak-user at lists.jboss.org
Subject: Re: [keycloak-user] Keycloak node cannot join cluster, initial state transfer timed out
Matt,
How did you add your new node?
Have you defined the jboss.node.name<http://jboss.node.name> property in your new node?
Meissa
On Fri, Sep 1, 2017 at 6:31 AM, Matt Evans <mevans at aconex.com<mailto:mevans at aconex.com>> wrote:
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
_______________________________________________
keycloak-user mailing list
keycloak-user at lists.jboss.org<mailto:keycloak-user at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list