title: Keycloak(Wildfly/Infinispan) in HA mode - issue in detecting other machines in the cluster
body: <p>As a result, when I put the machines under an ELB, the login doesn't work.
  I have tried TCP and UDP for IP casting. Tried using TCPPING instead of MPING (although not sure whether I used them correctly).
  Infinispan is being used for distributed caching.
  Here is the default configuration, followed by the changes I had made:</p>
  <pre><code>&lt;subsystem xmlns=&quot;urn:jboss:domain:jgroups:7.0&quot;&gt;
      &lt;channels default=&quot;tcp&quot;&gt;
          &lt;channel name=&quot;ee&quot; stack=&quot;udp&quot; cluster=&quot;ejb&quot;/&gt;
      &lt;/channels&gt;
      &lt;stacks&gt;
          &lt;stack name=&quot;udp&quot;&gt;
              &lt;transport type=&quot;UDP&quot; socket-binding=&quot;jgroups-udp&quot;/&gt;
              &lt;protocol type=&quot;PING&quot;/&gt;
              &lt;protocol type=&quot;MERGE3&quot;/&gt;
              &lt;socket-protocol type=&quot;FD_SOCK&quot; socket-binding=&quot;jgroups-udp-fd&quot;/&gt;
              &lt;protocol type=&quot;FD_ALL&quot;/&gt;
              &lt;protocol type=&quot;VERIFY_SUSPECT&quot;/&gt;
              &lt;protocol type=&quot;pbcast.NAKACK2&quot;/&gt;
              &lt;protocol type=&quot;UNICAST3&quot;/&gt;
              &lt;protocol type=&quot;pbcast.STABLE&quot;/&gt;
              &lt;protocol type=&quot;pbcast.GMS&quot;/&gt;
              &lt;protocol type=&quot;UFC&quot;/&gt;
              &lt;protocol type=&quot;MFC&quot;/&gt;
              &lt;protocol type=&quot;FRAG3&quot;/&gt;
          &lt;/stack&gt;
          &lt;stack name=&quot;tcp&quot;&gt;
              &lt;transport type=&quot;TCP&quot; socket-binding=&quot;jgroups-tcp&quot;/&gt;
              &lt;socket-protocol type=&quot;MPING&quot; socket-binding=&quot;jgroups-mping&quot;/&gt;
               &lt;protocol type=&quot;MERGE3&quot;/&gt;
              &lt;socket-protocol type=&quot;FD_SOCK&quot; socket-binding=&quot;jgroups-tcp-fd&quot;/&gt;
              &lt;protocol type=&quot;FD_ALL&quot;/&gt;
              &lt;protocol type=&quot;VERIFY_SUSPECT&quot;/&gt;
              &lt;protocol type=&quot;pbcast.NAKACK2&quot;/&gt;
              &lt;protocol type=&quot;UNICAST3&quot;/&gt;
              &lt;protocol type=&quot;pbcast.STABLE&quot;/&gt;
              &lt;protocol type=&quot;pbcast.GMS&quot;/&gt;
              &lt;protocol type=&quot;MFC&quot;/&gt;
              &lt;protocol type=&quot;FRAG3&quot;/&gt;
          &lt;/stack&gt;
      &lt;/stacks&gt;
  &lt;/subsystem&gt;
  </code></pre>
  <p>Changed to TCP, and in TCP stack, removed MPING to add TCPPING:</p>
  <pre><code>&lt;transport type=&quot;TCP&quot; socket-binding=&quot;jgroups-tcp&quot;/&gt;
      &lt;protocol type=&quot;TCPPING&quot;&gt;
      &lt;property name=&quot;initial_hosts&quot;&gt;&lt;IP of VM1&gt;[7600],&lt;IP of VM2&gt;[7600]&lt;/property&gt;
      &lt;property name=&quot;port_range&quot;&gt;0&lt;/property&gt;
  &lt;/protocol&gt;
  </code></pre>
  <p>How can I further debug the deployment?</p>