37

Recently my Google Chrome on Windows 10 (only on a single machine out of 4) has had issues with connecting to websites for 2-5 minutes after the machine coming out of hibernate/sleep.

The issue is specific to chrome, as I can open IE and get to sites immediately. In addition, when working on local development through Visual Studio, Chrome can't even manage a localhost hosted page show up, until the issue has resolved itself after the 2-5 minutes.

Has anyone experienced this before, and know what kind of settings I should look at to diagnose and/or fix?

Kritner
  • 871
  • 1
  • 7
  • 10

4 Answers4

40

Not sure why this fixed it, but turning off "automatically detect settings" for LAN settings fixed it.

Settings:

enter image description here

Show advanced settings:

enter image description here

Change proxy settings:

enter image description here

LAN Settings:

enter image description here

Uncheck automatically detect settings:

enter image description here

Kritner
  • 871
  • 1
  • 7
  • 10
  • 1
    Thank you, your solution works fine so far. Windows 10 (version 10.0.16299.19) and Chrome 62. – TechAurelian Nov 01 '17 at 15:06
  • 2
    I found a Chrome bug report about this a year ago without a fix. This fixed it, finally! I'm quite curious about how you found this. :) – Wouter Nov 28 '17 at 19:37
  • For reference, in case Chrome devs find this. My version is 62.0.3202.94 – Wouter Nov 28 '17 at 19:37
  • I don't really recall how I eventually figured it out... could have been something someone suggested, could have just been trial and error. Was too long ago for me to remember, but it seems it's been more of an issue for people lately as this question has gotten a few upvotes recently :O – Kritner Nov 28 '17 at 19:39
  • I'm not sure if this will fix it for me yet or not (I'll try to reply in a few days after testing). If this DOES work, I have a feeling it has something to do with the new Windows 10 Fall Creators Update (Version 1709). In Hyper-V, they added a new "Default Switch" that you cannot get rid of. It "hijacks" your network connection so that your VMs can communicate with your host OS. – DaleyKD Nov 28 '17 at 20:56
  • @DaleyKD I guess that could possibly have something to do with it, but note the date I opened this question (2016-07-16) - so it may impact more people now, but it was a problem for me prior to a recent update. – Kritner Nov 28 '17 at 22:03
  • @Kritner - Right. I was referring more to the comment that said "it seems more of an issue for people lately..." And FWIW, I just woke up from sleep and Chrome was working great. Thanks for the fix! – DaleyKD Nov 29 '17 at 02:45
  • I started having this problem in Windows 7 recently, and it was driving me crazy! This fix worked perfectly. – Mark Ransom Jan 15 '18 at 16:15
  • IDK if sleep/resume was required to fix this back in the day, but I definitely needed it when I ran into this today as per Brendan's answer below. +1 in any case. – zpletan Apr 21 '19 at 20:55
10

Sledgers answer is more relevant now after the Windows 10 Fall Creators edition, as addressed by daleykd in his initial response to the option to fixing in "Internet Options".

If using Hyper-V (even if not directly, i.e. for Docker), then Windows 10 creates a default switch network adaptor, that will route all traffic. This switch seems to fail on Chrome (and Firefox) for 30 to 60 seconds, and then reverts to the auto selected one (Wifi or Ethernet).

The simplest solution is to disable the interface:

netsh interface set interface "vEthernet (Default Switch)" admin=disable

Second Edit: This only actually occurs if Docker is using the new linux subsystem to create linux containers, and even if they are then the "Automatically detect settings" in "Internet Options" fixes it after a sleep. It was good to know the cause, though!

Brendan
  • 101
  • 1
  • 3
  • Won't that cause problems when actually using Hyper-V? I. e. inability for any virtual machine using that switch to access the network? – plocks Feb 08 '18 at 09:50
0

I disabled use of predictive service in chrome advanced settings and turned of automatic in Lan windows settings and it worked

-1

I had a similar problem which i discovered was due to virtual network adaptors, easy fix. I posted a 2 min video on youtube Showing the issue and the fix. hope this is of some help.