etcdkeeper icon indicating copy to clipboard operation
etcdkeeper copied to clipboard

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

Open abregar opened this issue 4 years ago • 6 comments

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

abregar avatar Mar 05 '20 13:03 abregar

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

evildecay avatar Mar 06 '20 03:03 evildecay

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

abregar avatar Mar 06 '20 12:03 abregar

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

evildecay avatar Mar 07 '20 09:03 evildecay

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

Raboo avatar Mar 08 '20 09:03 Raboo

@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

daydaygo avatar Aug 13 '20 15:08 daydaygo

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

makejiang avatar Sep 12 '20 06:09 makejiang