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

dockerized etcdkeeper fails to start and seems hangs at connecing request POST to http://host:8080/v3/connect #36

Open
abregar opened this issue Mar 5, 2020 · 6 comments

Comments

@abregar
Copy link

abregar commented Mar 5, 2020

Hi,
tried building the tool and run from host, all good. When dockerized, browser hangs on this POST call and never timeouts. Which renders the usage impossible.

May I ask for some potential hint what might be wrong?
Best regards

@evildecay
Copy link
Owner

Can you use the developer tools of chrome browser to debug the screenshots for me to visit?
Something like this
微信截图_20200306114504

@abregar
Copy link
Author

abregar commented Mar 6, 2020

Sure, this is the chrome devtools screen when calling dockerized:
etcd-keeper-hang-pending-devtools

@evildecay
Copy link
Owner

There is such a problem with dockerized deployment. There is no problem found when using binary directly in the operating system, which may be related to docker or alpine configuration and settings. I will find the source of the problem when I have time, and I hope someone can help me

@Raboo
Copy link

Raboo commented Mar 8, 2020

Is your docker container allowed to connect to your etcd cluster?

@daydaygo
Copy link

@abregar set your etcd cluster right first. if you use docker-compose, the etcd connection maybe etcd:2379 instead of 127.0.0.1:2379

@makejiang
Copy link

where can I set the "etcd:2379" in the docker-compose.yml?

etcdkeeper:
#build .
image: "evildecay/etcdkeeper:latest"
container_name: "etcdkeeper"
environment:
HOST: "0.0.0.0"
ports:
- 12000:8080
depends_on:
- etcd

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

No branches or pull requests

5 participants