Error connecting to node with java.net.UnknownHostException

Hey everyone :slightly_smiling_face: I am running this setup locally (production-secure-deploy), however when I try to list ACL I get this message:

WARN [AdminClient clientId=adminclient-1] Error connecting to node rb0.my.domain:9092 (id: 0 rack: 0) (org.apache.kafka.clients.NetworkClient)
java.net.UnknownHostException: rb0.my.domain

Why is the host rb0.my.domain:9092 not reachable (probably it is not being resolved by the DNS)?

Any ideas what is going on?

Thanks :slight_smile:

UnknownHostException is a DNS thing the vast majority of the time

Try putting the IP of a broker in there

โ€œin thereโ€ where? :smile:

If I use IPs I get an SSL handshake error :confused:

Just to test, I added localhost into the CN just to bypass the SSL handshake error but I still have the:

UnknownHostException: rb0.my.domain

This isnโ€™t really a Kafka error. You should see the same with ping, nslookup, or dig, for example, so start with asking someone who knows more about your network

, hey! Thanks for the reply. I am aware that this is a network configuration issue. I was just hopping to get some guidance about this issue here.