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

driver failed programming external connectivity on endpoint proxy #48

Open
kumarabhirup opened this issue Nov 22, 2018 · 8 comments
Open

Comments

@kumarabhirup
Copy link

I ran this on mac:

docker run -d --restart=always \
> -v /var/run/docker.sock:/tmp/docker.sock:ro \
> -v ~/.dinghy/certs:/etc/nginx/certs \
> -p 80:80 -p 443:443 -p 19322:19322/udp \
> -e DNS_IP=127.0.0.1 -e CONTAINER_NAME=http-proxy \
> --name proxy \
> codekitchen/dinghy-http-proxy

But I end up with this error everytime:

f925d92d06f417bf89da2541d13f2a3b31f3aa8b52126c7cb3b781fdc73a0e3a
docker: Error response from daemon: driver failed programming external connectivity on endpoint proxy (558d85d62cc87ec2cc076251afa12fecc815b44477df8b13bc435912d9f69b2c): Error starting userland proxy: Bind for 0.0.0.0:443: unexpected error (Failure EADDRINUSE).

Would appreciate help. 👍

@codekitchen
Copy link
Owner

Failure EADDRINUSE sounds like another container is already listening on 443. Try shutting down that other container first, if you are using Dinghy then it could just be the built-in dinghy-http-proxy instance.

@AndreiD
Copy link

AndreiD commented Jun 1, 2019

I get something like this: docker: Error response from daemon: driver failed programming external connectivity on endpoint http-proxy (8be6f6a7a3f480bed66b354620a8cc9824b8606857866124d0a78efab9231145): Error starting userland proxy:.

@Solexplorer
Copy link

@AndreiD I came here after having issues with NightFall as I see that you were in my same boat.
Did you manage to solve this error ? I've tried shutting down all the containers but still getting that error

@AndreiD
Copy link

AndreiD commented Jun 2, 2019

no I haven't.... the next thing I wanted to try is get another docker version, since I'm suspecting the current one, that you install with apt-get has problems. but didn't had time to do it.
if you find a fix, please do write 🙇‍♂️

@Solexplorer
Copy link

@AndreiD Did npm run setup-all work fine with yu or did it throw any error ?
Maybe we should open an issue here because even using the setup in this GitHub does not start it

Btw, I do not have anything running on port 0 and 422, this thing is becoming even more strange.

P.S I installed docker version 18.6.1 and still not working for me

@Solexplorer
Copy link

Solexplorer commented Jun 2, 2019

@AndreiD I run the following code and it shows the container working:
docker run -d --restart=always -v /var/run/docker.sock:/tmp/docker.sock:ro -v ~/.dinghy/certs:/etc/nginx/certs -e CONTAINER_NAME=http-proxy --name http-proxy codekitchen/dinghy-http-proxy

CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS               NAMES
da8083262360        codekitchen/dinghy-http-proxy   "/app/docker-entrypo…"   35 seconds ago      Up 33 seconds       80/tcp, 19322/tcp   http-proxy

@AndreiD
Copy link

AndreiD commented Jun 2, 2019

so you managed in the end to see the angular UI ?

@Solexplorer
Copy link

@AndreiD Did you solve the issue at the end ?
We are trying to find a way to get it through here: https://github.com/EYBlockchain/nightfall/issues/16

Btw, I still have issues with docker-proxy

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

4 participants