for-win icon indicating copy to clipboard operation
for-win copied to clipboard

ERROR: Network timed out while trying to connect

Open mahnunchik opened this issue 10 years ago • 23 comments

Expected behavior

docker pull works

Actual behavior

docker pull does not work

ERROR: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/redis/images. You may want to check your internet connection or if you are behind a proxy.

Information

error1

image_from_skype

Steps to reproduce the behavior

  1. docker pull any-image

mahnunchik avatar Aug 05 '16 05:08 mahnunchik

Hi @mahnunchik Could you share your logs or a diagnostic id? Thanks a lot!

dgageot avatar Aug 05 '16 09:08 dgageot

I have the same issue. I tried it both on stable and beta version as well.

Icantthinkofanyname avatar Aug 05 '16 10:08 Icantthinkofanyname

Hi @Icantthinkofanyname could you share your logs or a diagnostic id? Thanks a lot!

dgageot avatar Aug 05 '16 10:08 dgageot

@dgageot logs http://pastebin.com/RYi6tY04

mahnunchik avatar Aug 05 '16 12:08 mahnunchik

@Icantthinkofanyname @mahnunchik Can you try with a fixed DNS server? Something like 8.8.8.8

settings-network

dgageot avatar Aug 05 '16 13:08 dgageot

@dgageot I've tried, nothing has changed.

mahnunchik avatar Aug 05 '16 13:08 mahnunchik

I had this problem. I had previously been using Docker Toolbox with VirtualBox which I had uninstalled before installing Docker for Windows. I tried many suggestions involving fiddling around with the virtual network. Then I noticed that the uninstalling Docker Toolbox had left some folder in my AppData folder and so had Virtual Box. I deleted all that stuff manually, reinstalled Docker for Windows and voila - working Docker.

This could all be coincidental but you might want to give it a try. It only takes 5 minutes.

glennsills avatar Aug 05 '16 17:08 glennsills

@dgageot I've also tried that and it didn't work for me either. @glennsills I had never install toolbox with VirtualBox before so I don't think that fits my situation.

changeisnormal avatar Aug 05 '16 19:08 changeisnormal

@dgageot

A diagnostic was uploaded with id: A4341136-0CD7-4779-AF29-A378002D0636/2016-08-05_15-23-48

changeisnormal avatar Aug 05 '16 19:08 changeisnormal

I had the same problem. But after changing to a fixed DNS server it fixed my problem!

hineios avatar Aug 05 '16 20:08 hineios

Fixed DNS server don't solve my problem. I am always get "Network timed out while trying to connect to ... You may want to check your internet connection or if you are behind a proxy".

Senegura avatar Aug 09 '16 16:08 Senegura

I just installed docker, then I had this error. I switched to fixed DNS (8.8.8.8) and it solved the problem. Then I reverted the setting (removed the fixed DNS) and it keeps working. I found the solution here: http://stackoverflow.com/questions/31990757/network-timed-out-while-trying-to-connect-to-https-index-docker-io

saule1508 avatar Aug 12 '16 13:08 saule1508

None of the advice above worked for me either. I am running Windows 10 Enterprise version 1511, build 10586.545. Uploaded diagnostic with ID AFCCE8AA-DEFB-4046-93FD-68B40FF3D9D8/2016-08-18_08-55-33.

Rhynier avatar Aug 18 '16 16:08 Rhynier

+1 Same problem here with Windows 10 Pro version 1607 build 14393.51. Diagnostic ID: B625FBF8-26D1-4A80-8F24-B93512DD68B9/2016-08-23_11-18-23

khalidsalomao avatar Aug 23 '16 14:08 khalidsalomao

+1 I always got this issue

zcl0621 avatar Aug 24 '16 01:08 zcl0621

@mahnunchik @Icantthinkofanyname @changeisnormal @Senegura @Rhynier @khalidsalomao @zcl0621 A new version (Beta25) was released yesterday with fixes to the network/dns stack. Could you please give it a try and tell us if you see an improvement? Thanks a lot!

dgageot avatar Sep 08 '16 14:09 dgageot

@dgageot : it solved the problem for me, thanks. (in a previous post I mentioned that switching to fixed DNS solved my issue but it was only temporarily fixed).

saule1508 avatar Sep 09 '16 07:09 saule1508

@saule1508 \0/

dgageot avatar Sep 09 '16 07:09 dgageot

I believe this is a duplicate of #55

When I get a bit more users saying that Beta25 fixes the issue, I'll close both tickets

dgageot avatar Sep 09 '16 12:09 dgageot

Looks like Beta25 fixes the issue for a lot of users and nobody complained that the issue is still here. So let's close this ticket!

dgageot avatar Sep 10 '16 10:09 dgageot