Google Chrome:错误 21(net::ERR_NETWORK_CHANGED)

Google Chrome:错误 21(net::ERR_NETWORK_CHANGED)

在 Kubuntu 17.04 Zesty 上,我不断收到错误 21 (net::ERR_NETWORK_CHANGED)。刷新后,页面加载正常。由于此错误,我的下载也中断了。在 Firefox 上一切正常。

此错误可能是什么原因造成的?我不认为这是由 WiFi 驱动程序引起的,因为在其他 Web 浏览器上我没有收到任何错误。

sudo apt list google-chrome-stable 
google-chrome-stable/stable,now 56.0.2924.87-1 amd64 [installed]



lspci | grep -i network
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)


sudo modprobe ath9k && dmesg | grep ath
[   20.522563] ath: phy0: WB335 1-ANT card detected
[   20.522564] ath: phy0: Set BT/WLAN RX diversity capability
[   20.532780] ath: phy0: Enable LNA combining
[   20.534814] ath: phy0: ASPM enabled: 0x43
[   20.534817] ath: EEPROM regdomain: 0x6a
[   20.534818] ath: EEPROM indicates we should expect a direct regpair map
[   20.534819] ath: Country alpha2 being used: 00
[   20.534820] ath: Regpair used: 0x6a
[   20.731920] usbcore: registered new interface driver ath3k
[   20.895278] ath9k 0000:02:00.0 wlo1: renamed from wlan0
[   22.460435] audit: type=1400 audit(1487757197.106:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/mission-control-5" pid=758 comm="apparmor_parser"
[   22.460438] audit: type=1400 audit(1487757197.106:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*" pid=758 comm="apparmor_parser"
[   22.460440] audit: type=1400 audit(1487757197.106:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/telepathy/telepathy-*//pxgsettings" pid=758 comm="apparmor_parser"
[   87.919856] ath: EEPROM regdomain: 0x8268
[   87.919857] ath: EEPROM indicates we should expect a country code
[   87.919858] ath: doing EEPROM country->regdmn map search
[   87.919859] ath: country maps to regdmn code: 0x37
[   87.919860] ath: Country alpha2 being used: PL
[   87.919860] ath: Regpair used: 0x37
[   87.919861] ath: regdomain 0x8268 dynamically updated by country IE
[ 1269.886049] ath: phy0: ASPM enabled: 0x43
[ 1274.311544] ath: EEPROM regdomain: 0x8268
[ 1274.311546] ath: EEPROM indicates we should expect a country code
[ 1274.311547] ath: doing EEPROM country->regdmn map search
[ 1274.311547] ath: country maps to regdmn code: 0x37
[ 1274.311548] ath: Country alpha2 being used: PL
[ 1274.311549] ath: Regpair used: 0x37
[ 1274.311550] ath: regdomain 0x8268 dynamically updated by country I

答案1

您在使用 Docker 吗?您有 Docker 网络吗?尝试删除它们(除了bridgehostnone)。这为我解决了问题。

我在戴尔 Inspiron 13(5000 系列,英特尔公司 Wireless 3165(修订版 79))上使用 Kubuntu 16.10。此问题曾经在 IPv4 和 IPv6 网络中以及有线和无线网络中发生过。

您可以使用以下命令删除所有未使用的 Docker 网络:

docker network prune

答案2

您可以尝试使用以下命令禁用 IPv6。

sysctl -w net.ipv6.conf.all.disable_ipv6 = 1
sysctl -w net.ipv6.conf.default.disable_ipv6 = 1

如果有效,请将以下几行添加到/etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

相关内容