Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

kafka-manager not working #8

Open
EdgarsK opened this issue Jul 6, 2016 · 4 comments
Open

kafka-manager not working #8

EdgarsK opened this issue Jul 6, 2016 · 4 comments

Comments

@EdgarsK
Copy link

EdgarsK commented Jul 6, 2016

after any changes in web interface kafka-manager goes into loop with this:
kafka-manager_1 | [info] o.a.z.ClientCnxn - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
kafka-manager_1 | [warn] o.a.z.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
kafka-manager_1 | java.net.ConnectException: Connection refused

Tried running manager separately and with fixed host ip still the same, seems it can't connect to zookeeper.

@Robin7Ma
Copy link

Same problem!

@sheepkiller
Copy link
Owner

Hi,

could you send/pastebin/gist me please:

  • information how zookeeper(s) is (are) set up
  • if previously run kafka-manager on this cluster
  • docker inspect <containerid> output

thanks

@EdgarsK
Copy link
Author

EdgarsK commented Jul 23, 2016

Got it working running kafka 0.8.2.1, errors happens on any of 0.9.x versions.
Ran from blank slate - https://gist.github.com/EdgarsK/f59eda366baf8b636bff238faea62c13#file-gistfile1-txt

@kuskmen
Copy link

kuskmen commented Nov 3, 2017

@EdgarsK, you need to add your zookeeper host properly.

I failed doing this earlier(yielding the error you've mentioned) because I was configuring cluster with wrong zookeeper host - I thought it should be localhost:2141(because it is on my local machine, but docker is doing another network in your local machine as far as I know), but if you notice your docker-compose.yml you might see that network that docker creates is actually zookeeper:2141 so you need to configure cluster with zookeeper:2141 instead of localhost:2141.

This thing resolved the issue for me, hope it helps in future as well.

Regards,
YV

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants