<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    There was a long thread about this here.  You'll have to google
    infinispan jgroups AWS. Or find the thread.<br>
    <br>
    <div class="moz-cite-prefix">On 1/29/2016 9:13 AM, Revanth
      Ayalasomayajula wrote:<br>
    </div>
    <blockquote
cite="mid:CAA1skqUL9As22aovLu7_dkPpF==K9=HqEmoY37Yf=V=dkwEKwA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Bill,<br>
            <br>
          </div>
          I seemed to have identified the issue. Both the machines are
          on AWS and AWS doesn't support multicast. Is there any way
          around this which can help me out??<br>
          <br>
        </div>
        Thanks<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jan 29, 2016 at 7:36 PM, Bill
          Burke <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Are your clustered
              machines clocks in sync?
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 1/29/2016 5:15 AM, Revanth Ayalasomayajula
                    wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>Hi,<br>
                                    <br>
                                  </div>
                                  I am using keycloak 1.5.0 and i am
                                  facing an issue with the clustering of
                                  it.<br>
                                  <br>
                                </div>
                                I have two instances of keycloak behind
                                a load balancer and i made the following
                                changes to keycloak-server.json on both
                                the instances.<br>
                                <br>
                              </div>
                              Added:<br>
                              <pre>"realmCache": {
    "provider": "infinispan"
},

"userCache": {
    "provider": "infinispan"
</pre>
                              } ,t<br>
                              <pre>"userSessions": {
    "provider": "infinispan"
}

</pre>
                              and ran the following command:
                              ./standalone.sh
                              --server-config=standalone-ha.xml
                              -b=172.31.7.132.<br>
                              <br>
                            </div>
                            The server is starting but when i try to
                            access admin console, it first gives me this
                            error: <br>
                            type=LOGIN_ERROR, realmId=master,
                            clientId=null, userId=null,
                            ipAddress=172.31.18.200, error=expired_code,
                            restart_after_timeout=true <br>
                            <br>
                          </div>
                          and redirects me to the login page again and
                          then if i try to login in again, it gives me
                          another again:<br>
                          type=LOGIN_ERROR, realmId=master,
                          clientId=null, userId=null,
                          ipAddress=172.31.25.198, error=invalid_code<br>
                        </div>
                        <div>and exits <br>
                        </div>
                        saying  'try login using your application'. <br>
                        <br>
                      </div>
                      What am i doing that is causing this ?? Any config
                      changes i need to do?? <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
keycloak-user mailing list
<a moz-do-not-send="true" href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a moz-do-not-send="true" href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a></pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>