Hi I am using keycloak1.5.0 and want to cluster it, I made the changes
necessary changes to standalone-ha.xml.
I am running the following command: ./standalone.sh
--server-config=standalone-ha.xml -b=0.0.0.0
I am getting the below error:
Caused by: java.net.BindException: [UDP] /0.0.0.0 is not a valid address on
any local network interface
at org.jgroups.util.Util.checkIfValidAddress(Util.java:3484)
at
org.jgroups.stack.Configurator.ensureValidBindAddresses(Configurator.java:903)
at
org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:118)
at
org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:57)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:477)
at org.jgroups.JChannel.init(JChannel.java:854)
at org.jgroups.JChannel.<init>(JChannel.java:159)
at
org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:96)
at
org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:93)
at
org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
... 7 more
I changed my keycloak.json as per the documentation for clustering.
Could you help me figure out what is the issue??
On Wed, Jan 13, 2016 at 12:08 AM, Stian Thorgersen <sthorger(a)redhat.com>
wrote:
If you're saying you can only access it using localhost, then run
it with
"bin/standalone.sh -b 0.0.0.0" and it'll be bound to all interfaces.
On 12 January 2016 at 16:26, Revanth Ayalasomayajula <
revanth(a)arvindinternet.com> wrote:
> I mean, i am not able to access it using it public ip.
>
>
>
> On Tue, Jan 12, 2016 at 8:18 PM, Stian Thorgersen <sthorger(a)redhat.com>
> wrote:
>
>> I don't know what you mean that you can't access from outside world, but
>> if you're running a cluster you'll need a load balance in front. Apache,
>> Nginx or even Undertow would do that for you.
>>
>> You add nodes by just running more nodes on the same subnet and they'll
>> discover themselves.
>>
>> On 12 January 2016 at 12:37, Revanth Ayalasomayajula <
>> revanth(a)arvindinternet.com> wrote:
>>
>>> Hi,
>>>
>>> I have a few applications that are using Keycloak 1.5 and I now want to
>>> cluster it. I had followed this link (
>>>
https://docs.jboss.org/keycloak/docs/1.1.0.Beta2/userguide/html/clusterin...)
>>> but i am not able to access this server from outside world and I also
>>> wanted to know how I can add nodes to my cluster. Could anyone please help
>>> me out in this respect.
>>>
>>> Thanks.
>>>
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>