Docker Community Forums

Share and learn in the Docker community.

Timing out trying to connect to dockerhub


(Jshowalter) #1

ERROR: Get https://dockerhub.xyzcorp.com:5321/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

MTU is already 1500 or lower:

PS C:\Users\jshowalter> netsh interface ipv4 show subinterfaces

MTU MediaSenseState Bytes In Bytes Out Interface


1500 1 6917973347 4050752835 Ethernet 2
1500 5 0 0 Wi-Fi
4294967295 1 0 464360 Loopback Pseudo-Interface 1
1500 5 0 0 Local Area Connection* 2
1406 1 45231247 16006113 Ethernet
1500 5 0 0 Bluetooth Network Connection
1500 1 56707 957522 vEthernet (DockerNAT)

I’m totally blocked at this point. Any suggestions?


(Jeff Anderson) #2

It sounds like you’re simply having a network timeout error. Are you able to reach https://dockerhub.xyzcorp.com:5321/v2/ from your web browser? Is that indeed the correct port? Is it possible that there’s a firewall blocking traffic between your docker host and that registry?


(Jshowalter) #3

Weird. I posted to the Docker forum, and by the time I got done with that and reran compose, it started working:

16e1019478e: Download complete
94540b27973b: Download complete
870427520ae5: Download complete
22df12249944: Download complete
624688937bdd: Download complete
b6537a58558a: Download complete
b5d6b5a9fe92: Download complete
36e8231f5c30: Download complete
4c8c0c3b7105: Download complete
1b5abc52e778: Download complete
674012813166: Downloading [====> ] 2.097MB/24.98MB
67f761f28e32: Waiting
6efb7c64275c: Waiting

Next time I’ll (duh) try pinging the server.