-
Notifications
You must be signed in to change notification settings - Fork 1.4k
request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) #2956
Comments
Please make sure that you're on a stable connection and use a solid DNS such as Google DNS. |
Go to Docker settings > network > DNS server . change from automaic to fixed ( default is 8.8.8.8 ) |
I had a similar issue trying to login to my own docker repo. |
My problem was missing proxy config:
[Service]
|
This is god damn works !! |
Works ! |
I also confirm this is the solution. |
Works |
Thanks for the solution. I was stuck for half a day on this. It works. |
Does anyone know how to do this now? I tried going to "Preferences" under Docker, but I can't find anything about network or DNS server so I don't know how to change the DNS server settings. I am using Docker Desktop, Docker version 18.09.2 on MacOS Mojave version 10.14.5 |
i had to go preferences to proxies > manual configuration proxy > and set web server (http) to 8.8.8.8 |
Installing Docker update 2.1.0.1 fix the problem for me. |
i'm resolved this problem with setting proxy variables correct, oc or kubectl utilize proxy variables for connect to api even on localhost. |
Expected behavior
Pull and run container.
Actual behavior
Docker return error with message:
(HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
at pull image.
Information about the Issue
Platform: Win10 x64
Docker version 17.06.0-ce, build 02c1d87
I don't use proxies and VPN. Speed of internet connection is ~90Mb/s.
Steps to reproduce the behavior
I reproduce this issue on creation container with "mongo". Percent of reproduce this issue is ~95%, sometimes everything goes well.
The text was updated successfully, but these errors were encountered: