[keycloak-user] Fwd: Keycloak 3.2.1 Final not working in cluster
Cédric Couralet
cedric.couralet at gmail.com
Thu Nov 9 05:23:22 EST 2017
We had a similar problem because we forgot to enable multicast on our linux box.
Are you sure it is enabled in your case?
(You can look for the value in
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, it should be 0)
2017-11-09 10:27 GMT+01:00 mahendra sonawale <mahson1 at gmail.com>:
> Hi Team,
>
> We are facing similar problem where kelcloak is not running in cluster and
> giving the same error log as mentioned by Subash in jira.
>
> https://issues.jboss.org/browse/KEYCLOAK-5013
>
> I tried to use the private interface as suggested into the document but
> still no luck.
> am I missing anything else? CAN YOU please help?? I am using Keycloak -
> Version 3.2.1.Final.
> I have load balancer configured above 2 keycloak nodes (nodes are running in
> on different VMs)
>
> Start command :
> nohup ./bin/standalone.sh --server-config=standalone-ha.xml -b $HOSTNAME -u
> 230.0.0.4 &
>
> HA configuration :
> <interface name="private">
> <inet-address value="$
> {jboss.bind.address.private:(node1 IP address and on second node that IP
> address)}
> " />
> </interface>
> </interfaces>
> <socket-binding-group name="standard-sockets"
> default-interface="public" port-offset="$
> {jboss.socket.binding.port-offset:0}
> ">
> <socket-binding name="management-http" interface="private"
> port="$
> {jboss.management.http.port:9990}
> " />
> <socket-binding name="management-https" interface="private"
> port="$
> {jboss.management.https.port:9993}
> " />
> <socket-binding name="ajp" port="$
> {jboss.ajp.port:8009}
> " />
> <socket-binding name="http" port="$
> {jboss.http.port:8080}
> " />
> <socket-binding name="https" port="$
> {jboss.https.port:8443}
> " />
> <socket-binding name="proxy-https" port="443"/>
> <socket-binding name="jgroups-mping" interface="private"
> port="0" multicast-address="$
> {jboss.default.multicast.address:230.0.0.4}
> "
> multicast-port="45700" />
> <socket-binding name="jgroups-tcp" interface="private"
> port="7600" />
> <socket-binding name="jgroups-tcp-fd" interface="private"
> port="57600" />
> <socket-binding name="jgroups-udp" interface="private"
> port="55200" multicast-address="$
> {jboss.default.multicast.address:230.0.0.4}
> "
> multicast-port="45688" />
> <socket-binding name="jgroups-udp-fd" interface="private"
> port="54200" />
> <socket-binding name="modcluster" port="0"
> multicast-address="224.0.1.105" multicast-port="23364" />
> <socket-binding name="txn-recovery-environment" port="4712" />
> <socket-binding name="txn-status-manager" port="4713" />
> <outbound-socket-binding name="mail-smtp">
> <remote-destination host="localhost" port="25" />
> </outbound-socket-binding>
> </socket-binding-group>
> Log :
> 2017-11-09 04:38:22,749 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-3) ISPN000094: Received new cluster view for channel hibernate:
> [keycloak2|0] (1) [keycloak2]
> 2017-11-09 04:38:22,750 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-2) ISPN000094: Received new cluster view for channel keycloak:
> [keycloak2|0] (1) [keycloak2]
> 2017-11-09 04:38:22,749 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-4) ISPN000094: Received new cluster view for channel ejb:
> [keycloak2|0] (1) [keycloak2]
> 2017-11-09 04:38:22,750 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-7) ISPN000094: Received new cluster view for channel server:
> [keycloak2|0] (1) [keycloak2]
> 2017-11-09 04:38:22,749 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-1) ISPN000094: Received new cluster view for channel web:
> [keycloak2|0] (1) [keycloak2]
> 2017-11-09 04:38:22,761 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-2) ISPN000079: Channel keycloak local address is keycloak2,
> physical addresses are [**.**.**.**]
> 2017-11-09 04:38:22,763 INFO
> [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service
> thread 1-1) ISPN000079: Channel web local address is keycloak2, physical
> addresses are [**.**.**.**]
>
>
>
> --
> Sent from: http://keycloak-user.88327.x6.nabble.com/
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list