-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection #30876
Comments
Today there was an update in dnf which included docker-engine-1.13.1-1.fc25.x86_64 |
Met the same issue. Is there a solution for this issue? |
Me too, I'm behind a corporate proxy on Windows 10, I configured docker proxy correctly btw but still timeout |
Same here |
all this did not help me. If you are in a company behinde a proxy use this guide, it did solve my problem |
@brunowerneck, fixed dns doesn't solve the problem , I have tried 2 window10 machines |
Hitting the same issue.
|
Please refer to this: https://docs.docker.com/engine/admin/systemd/#httphttps-proxy |
docker documentation talks about using systemctl not for as service |
@alldev0825 Thx your link!! |
@alldev0825 Yes, that link was very helpful. We were trying to build AWX (open source tower). It would hang trying to pull the postgress db images from the Docker public registry even though we set proxy in the shell and in the inventory filel. Only when we set it in the systmctl environment variables did it work! |
I already had proxy environment variables defined like |
Description
Getting a time-out when running
docker login
,docker run hello-world
ordocker pull <anything>
Issue is happening on Fedora 25 with docker 1.13.0
Steps to reproduce the issue:
docker run hello-world
Describe the results you received:
Describe the results you expected:
I expect to be able to run the hello-world container, or pull any container by using the default commands.
Additional information you deem important (e.g. issue happens only occasionally):
The issue is happening always and i know docker was behaving correctly some while back.
I'm not sure if the issue started happening due to some package upgrade since i haven't been working with docker on a daily basis this last month.
I have tried it on 2 different networks, both wifi though.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
I've been trying for a few days to get it working again but basicly have read every thread google came up with, since some of them seem to be fixed by changing DNS settings, i've been toying around with anything related to that. (see below for more details)
I did notice that my
~/.docker
directory is empty, i'm not sure if that is normal or i should expect additional configuration there?I'm at least able to connect through curl:
I've changed my network settings to not use the company DNS but google DNS:
I changed my wifi connection at
/etc/sysconfig/network-scripts/ifcfg-myconnection
by setting these values:Which results in:
I verified whether this works:
I've explicitly added the 8.8.8.8 dns server in the systemd conf file:
I've also checked the resolv.conf file generated by systemd-resolved:
Lastly i added the -D flag when starting dockerd and executed
docker run hello-world
once, i added that log in attachment.journalctl.txt
The text was updated successfully, but these errors were encountered: