Skip to content
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

Can't up cluster from master branch #227

Closed
MasterSergius opened this issue Sep 19, 2019 · 1 comment
Closed

Can't up cluster from master branch #227

MasterSergius opened this issue Sep 19, 2019 · 1 comment

Comments

@MasterSergius
Copy link

After executing docker-compose up I've faced with several errors.
Kafka container logs:

2019-09-19T13:58:04.022988200Z ERROR: No listener or advertised hostname configuration provided in environment.
2019-09-19T13:58:04.023037600Z        Please define KAFKA_LISTENERS / (deprecated) KAFKA_ADVERTISED_HOST_NAME

If I modify docker-compose.yml (add KAFKA_ADVERTISED_HOST_NAME):
49 KAFKA_ADVERTISED_HOST_NAME: localhost
Kafka looks ok, but crawler is still unable to connect to it, logs from crawler container:

019-09-19T14:14:07.409019000Z 2019-09-19 14:14:07,408 [sc-crawler] INFO: Changed Public IP: None -> b'156.67.51.8'
2019-09-19T14:14:07.439196700Z 2019-09-19 14:14:07,438 [sc-crawler] ERROR: Could not ping Zookeeper
2019-09-19T14:14:07.439868500Z Unhandled error in Deferred:
2019-09-19T14:14:07.440134200Z 
2019-09-19T14:14:11.012381900Z 2019-09-19 14:14:11,012 [sc-crawler] ERROR: Unable to connect to Kafka in Pipeline, raising exit flag.
2019-09-19T14:14:11.012991200Z Unhandled error in Deferred:

And the most interesting part - everything is ok if up from dev branch!

@madisonb
Copy link
Collaborator

Hello - yes I would highly recommend the dev branch, the master branch contains the latest official release but all the new work/maintenance on this repo is done on the dev branch.

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

No branches or pull requests

2 participants