question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker ERROR: Could not ping Zookeeper

See original GitHub issue

There seems to be an issue both on the dev and master branches - the crawler container keeps failing and restarting with the following message:

ERROR: Could not ping Zookeeper

I’ve tried this with a fresh copy of the crawler on both Windows and MacOS with the same result.

To replicate - download either branch and issue the command:

docker-compose up -d

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
Deadly0commented, Jul 7, 2019

@Shique Try image wurstmeister/zookeeper instead of zookeeper. it’s works for me

0reactions
softwarevampcommented, Feb 10, 2020

-e ZOO_4LW_COMMANDS_WHITELIST="*" fix this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My kafka docker container cannot connect to my zookeeper ...
Another option is to use --restart=on-failure flag with docker run. This will make sure the container is restarted on failure and will try...
Read more >
Cannot get zookeeper to work running in docker using swarm ...
I have been trying to get a zookeeper ensemble (cluster) running, to support a kafka cluster, in a docker swarm created using the...
Read more >
Container network issue with 2.89.15 and cp-zookeeper ...
I can ping the containers test1 and test2 from each other but I cannot ping zookeeper by hostname. The DNS seems to be...
Read more >
Why Can't I Connect to Kafka? | Troubleshoot Connectivity
Shut down the Docker containers from above first ( docker rm -f broker; docker rm -f zookeeper ) and then create docker-compose.yml locally...
Read more >
Connect to Apache Kafka running in Docker - Baeldung
Often, people experience connection establishment problems with Kafka, especially when the client is not running on the same Docker network ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found