本文介绍了Docker和Chromium net :: ERR_NETWORK_CHANGED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个执行ajax调用的AngularJS应用程序,但它会导致铬错误:

I have an AngularJS application that does an ajax call but it results in a chromium error:

net::ERR_NETWORK_CHANGED

我尝试禁用所有不需要的适配器。我有多个运行中的dockers容器。

I tried to disable any adapters that I don't need. I have multiple ones and multiple dockers containers running.

我在每个适配器上禁用了ipv6。我不使用任何代理,也不使用没有任何插件或浏览器配置文件的默认Chromium浏览器。

I disabled ipv6 on each adapter. I don't use any proxy and use default Chromium browser without any addon nor browser profile.

禁用Wifi接口,仅使用以太网。

Disabled Wifi interface, only using ethernet.

有什么办法解决这个问题吗?

Any idea how to fix this?

推荐答案

我一直在不断获取ERR_NETWORK_CHANGED。

I was constantly getting ERR_NETWORK_CHANGED.

这最终适用于我当前的浏览器:
Chromium,Opera和FlashPeak Slimjet。

This is what finally worked for my current browsers:Chromium, Opera and FlashPeak Slimjet.

sudo service docker stop

以下操作无法解决我的问题:

The following actions did not solve my issue:


  • 检查调制解调器,路由器和电缆以找出问题所在。

  • Checked modem, router, and cables to isolate the issue.

从我的有线网络禁用了IPv6

Disabled IPv6 from my wired Network

命令:

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

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

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

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

之后我停止了Docker,我再也没有遇到任何控制台错误。

After I stopped Docker, I am not getting any more console errors.

我希望这可以帮助某人节省数小时的烦人麻烦射击。

I hope this can help someone saving hours of annoying troubleshooting.

罗恩。

这篇关于Docker和Chromium net :: ERR_NETWORK_CHANGED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 18:04