43

When I use Google Chrome (currently 61, but the error exists before), I constantly get ERR_NETWORK_CHANGED. Often, the webpage reloads and works a second later, but often things simply don't work. For example, I'm not able to download files from Google Drive at all, because a XHR call fails with this error (this is an example. The error is not specific to Google Drive). Social logins with Google / Facebook are not possible, because the callback after the login are failing, too. The problem exists in incognito mode, too.

With Firefox, there seem to be no problems.

On Ubuntu 16.04, the problem doesn't exist.

Ethernet controller is a I219-V. Not able to try other machines.

While writing this, I found out that disabling the IPv6 privacy extensions with

sudo sysctl -w net.ipv6.conf.enp0s31f6.use_tempaddr=0

and restarting the interface seem to be a workaround solve the problem, but obviously it's bad to use workarounds instead of solving the root problem.

  1. Whats going on here? Why does this affect Chrome and not Firefox? What is the difference?
  2. Whats the difference between Ubuntu 17.04 and 16.04 regarding this problem?
  3. How can I get more information about the problem?
  4. Is this a known problem with Ubuntu 17.04?
Eliah Kagan
  • 119,640

4 Answers4

86

For anyone else that probably didn't think of it like me - this was being caused by a docker container I had running on the machine.

Dale King
  • 989
4

Making a js request while starting a docker container seems to trigger this kind of error. Somehow connected with the docker network, when containers are dynamically added/removed. Chromium only, not seen on Firefox.

4

This still happens in Ubuntu 18.04 and Google Chrome Stable (80.0.3987.106 now).

Disabling Docker reduces (not eliminate) this issue, and using sysctl to disable use_tempaddr also reduces too (still didn't eliminate).

I need to totally disable IPv6 to avoid this issue, by changing /etc/default/grub from:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

To:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"

Then running Docker would be fine.

4

Alternately, the following lines can be added to /etc/sysctl.conf to disable IPv6 permanently.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
sudar
  • 67