Status: Resolved (View Workflow)
Using DNS_PING in Jgroups 4.0.11 and SRV records the port from the SRV record is being dropped (set to zero) and the default is used instead (7600).
I am using this Jgroups config:
I have these service discovery DNS entries
But I get this in the logs when running Keycloak in standalone cluster:
As you can see it is resolving the DNS addresses, but discarding the ports.
To be clear, in this example 32923 ids the port (eg:
1 1 32923 60b5a820-9678-4bd2-84c6-00061a52bde0.jgroups.dev.auth.example.com.svc.cluster.local).
These are dynamic ports mapped to port 7600 in order to put more Keycloak containers on each instance.
This seems like it might be where ports are getting lost:
I don't see the port number being extracted from the SRV entry and appended to the IP returned from resolveAEntries.
Let me know if I am missing any details. This is a major blocker for development.