-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot connect to Zookeeper #410
Comments
First of all it always helps to provide all the relevant information to reproduce the issue, including configurations (i.e. docker-compose files), commands, OS, docker versions, logs etc. In this case, i'm assuming you're running on linux? (possibly in a VM?) due to the
Most likely you want this to be the LAN NIC (eth0/en0) - e.g. 192.168.x.x / 10.10.x.x. Please see the Connectivity Guide for more info.
Would indicate that the broker isn't connected to zookeeper. This probably isn't related to the |
My Apologies for the incomplete report, I am using Adding the full docker logs would result in an incredibly long log file. So I will instead list the steps I took (updated to go to my 172.16.xx.xx enp4so)
Side note: I could not find a 192.168.xx.xx or 10.10.xx.xx so I had to assume this would be correct? |
So, I ignored the error list, and it looks like everything works despite the error list. The errors are still there, they don't seem to cause any real problems |
172.16.x.x is a Reserved Private Network address - so that is most likely correct. You should be able to check if zookeeper is up and running by sending a status command to the open port, e.g.
I guess only the full logs would have possibly helped with seeing what was causing the error message. |
After running
docker-compose up
and digging through the startup logs, I see a list of zookeeper errors pop up.and
What am I doing wrong?
KAFKA_ADVERTISED_HOST_NAME
is set to my docker0 ip, and the rest of the files I left untouched...The text was updated successfully, but these errors were encountered: