-
Notifications
You must be signed in to change notification settings - Fork 284
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 #611
Comments
I'm also experiencing this issue. |
I Lin, for my part, was only an issue with my network. Please, Check your own
De : Han Lin [mailto:notifications@github.com]
Envoyé : lundi 3 avril 2017 12:21
À : docker/for-win <for-win@noreply.github.com>
Cc : mferlay <mferlay@gnubila.fr>; Author <author@noreply.github.com>
Objet : Re: [docker/for-win] Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (#611)
I'm also experiencing this issue.
Diagnostic ID: 79D6DCBD-03D0-46A5-93B8-A6A28E122565/2017-04-03_18-16-29
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#611 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AY834ecs0NK3mBoVQgHn7XA95rgndDeiks5rsMgXgaJpZM4Ms_iX> .
|
I am experiencing the same issue since the latest update: |
The same issue... |
Same here, EDIT : http://stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy |
I'm closing this issue since folks seem to have resolved the problem. @MaxPovver @hotdogee please open separate issues with diagnostic ids and details if you're still experiencing problems. |
@IAmAStealer , you link is for linux , not windows, I am using the latest docker |
@videni try changing your DNS and proxy settings and retry. Changing the DNS from 8.8.8.8 to auto fixed it for me. Not sure why, though. |
Facing the same issue in windows enviornment. Any solutions? |
I had the same issue on Windows.
|
I was getting this same error in Windows 10 Home using Docker Toolbox. Changing my DNS to Google's 8.8.8.8 (secondary to 8.8.4.4) also worked for me (per @aasaanhai here). Detailed instructions for how to do so here (see section II). |
Thanks for the DNS tips, it works. |
Restarting docker fixed it for me on Windows |
In Ubuntu 16 had to change |
For anyone who is changing the DNS but it is not getting results, check the proxy. First, create a systemd drop-in directory for the docker service:
Now create a file called /etc/systemd/system/docker.service.d/http-proxy.conf that adds the HTTP_PROXY environment variable:
If you have internal Docker registries that you need to contact without proxying you can specify them via the NO_PROXY environment variable:
Flush changes:
Verify that the configuration has been loaded:
Restart Docker:
|
The following works for me. I'm using Boot2Docker on Windows 10: |
I met the same issue and solved it by restarting docker, as someone suggested here :-) |
On Windows 10 docker's gui give some facilities. Just right click on docker's icon in the tray bar and select "Settings" Then, on the Docker's window, select the "Network" section and change the DNS option from "Automatic" to "Fixed" and hit "Apply". Docker will restart itself after that. I putted the Google's DNS (8.8.8.8) and it worked fine to me. Hope it helps. |
Both windows 10 pro machines I have here have the same issue ( using docker for windows ) It's always broken after a machine reboot, and fixed by using the docker for windows gui to restart docker. |
Make sure your proxy settings are correct in your docker settings. After I changed the proxy settings to Manual from "Use System Proxy" and supply the URL, it worked for me. (On Mac) |
Still having this issue on Windows 10 with Docker v17.12.0-ce-win74 after an os boot / restart. No proxy but Docker still fails to connect. Restarting docker usually fixes the issue. Applying the DNS change in docker's network settings also fixes the issue but I'd wager it's because applying the network changes still enacts a docker restart. |
Some things that have worked:
|
I just downloaded Docker stable to my windows 10 today, not behind a proxy and ran into this issue, why on earth was it closed? This software is not ready for release with such a serious bug in it. |
@WhatFreshHellIsThis The reason why it is closed is mentioned right before it is closed. Just scroll back... |
@starquake this should not have been closed in my opinion, nothing is "resolved" and this is the case where the issue was reported and this is the first result that comes up when I search for this problem. |
@WhatFreshHellIsThis The issue was resolved. See comment by @mferlay. If you have a similar issue I suggest you do what @friism said: Open a new issue. He probably needs to information to help you. Or maybe has other reasons. The point is: if you want results you should probably follow orders. Hope this helps! |
@WhatFreshHellIsThis just to be sure - have you tryed to restart docker? :-) If you haven't read comments, that solved it for others. |
Yes, it was resolved (not by restarting, that did nothing) after I installed it tried it and it immediately failed and I needed it to work and had some free time on my hands so took the time to find a solution and after repeated searching came here to see it's a well known bug experienced by many people and apparently because there are some workarounds discovered by the victims of this bug it was decided there was no need to respect the users that took the time to report the issue and to respect the time of countless other potential users of the software that will give up on it after wasting their time installing it only to have it immediately fail by actually fixing it in the first place. It's baffling to me that such a showstopper bug would be considered fine to leave in there, but other people jumping in to excuse it and normalize it is to be honest even more baffling. |
I tried changing DNS to 8.8.8.8 in Docker network settings and restarted my docker, i am still not able to download images. |
Just restarting docker solved my problem. |
Well, for me the issue was that I forgot to give docker access to my local drive <.<* |
WE are actually sitting behind our company proxy and this configuration worked at least for us:
|
Thanks. DNS Change to 8.8.8.8 in Docker Network settings worked for me as well. |
@andreipaz Thanks It works! |
Changing to Windows Containers is worked for but, But I want to use Linux Containers too. |
edit: disregard that. It only worked for one image, attempting to download another image will fail again. Disappointing. |
Chiming in here for people still running into this issue: You should run |
Facing the same issue in ubuntu 16.04 enviornment, no proxy, any solutions? |
SOLUTION: Updated /etc/resolv.conf |
restarting docker also works for me. |
This works for me Thank you a lot. |
I'm on Windows 10 Pro, none of the DNS things fixed it or restarting docker, but restarting my PC did fix it. |
In my case, removing registry-1.docker.io from my hosts files fixed the issue. (running on windows) |
I had a strange error message trying to run docker behind a proxy last year, turned out that I had a typo in my proxy conf, had to fix " |
If you're not sure how to restart docker, this forum was helpful:
|
I fixed this issue by continuing to repeat my |
Updating nameservers to 8.8.8.8 within /etc/resolv.conf fixed the issue. |
restarting docker fixed the issue
|
On linux, and working with rails, ruby verison on Dockerfile must match ruby version on Gemfile. |
Alterando o DNS para o do Google: 8.8.4.4 funcionou para mim. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Download an image and run the container
Actual behavior
Unable to download images
Information
Version 17.03.1-ce-win5 (10743)
Channel: stable
b18e2a5
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: