Javascript 为什么这个错误出现在chrome加载资源中:net::ERR_QUIC_PROTOCOL_ERROR
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28195610/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Why is this error appearing in chrome load resource: net::ERR_QUIC_PROTOCOL_ERROR
提问by Patrick Mutwiri
This is the error I am seeing in my Chrome's console.
这是我在 Chrome 控制台中看到的错误。
load resource: net::ERR_QUIC_PROTOCOL_ERROR
加载资源:net::ERR_QUIC_PROTOCOL_ERROR
How can I fix it? I want to display a Google map
我该如何解决?我想显示谷歌地图


回答by StuartLC
The error appears to occur when the QUIC protocol is blocked (e.g. by an ISP) along the route between you and the target site. As a workaround, to this error, you can disable QUIC in Chrome by disabling the enable-quicsetting by navigating to:
当 QUIC 协议在您和目标站点之间的路由上被阻止(例如,被 ISP)阻止时,错误似乎发生了。作为解决方法,对于此错误,您可以enable-quic通过导航到以下位置禁用设置来禁用 Chrome 中的 QUIC :
chrome://flags/#enable-quic
chrome://flags/#enable-quic
And changing the Experimental QUIC Protocoldrop down to Disabled.
并将Experimental QUIC Protocol下拉更改为Disabled.


回答by Paulo Tiago Mariano
QUIC (Quick UDP Internet Connections) is a next generation transport over UDP, which aims to reduce latency (goal: 0-RTT connectivity overhead), deliver better multiplexing, introduce packet pacing, error correction, and more.
QUIC(快速 UDP 互联网连接)是基于 UDP 的下一代传输,旨在减少延迟(目标:0-RTT 连接开销)、提供更好的多路复用、引入数据包步调、纠错等。
On the request the crypto maybe cached and the response refused to call
在请求中,加密可能被缓存并且响应拒绝调用
More info:
更多信息:
www.youtube.com/watch?v=3dV_EPDSNSI
www.youtube.com/watch?v=3dV_EPDSNSI
回答by Mohammad Adnan
just press ctrl + F5 on browser page. Some local caching might be an issue. once you clear it, it should work.
只需在浏览器页面上按 ctrl + F5 即可。一些本地缓存可能是一个问题。一旦你清除它,它应该工作。
回答by David Najman
In my case disabling of the QUIC (chrome://flags/#enable-quic) in Chrome didn't help. I saw this ERR_QUIC_PROTOCOL_ERROR in all browsers.
在我的情况下,在 Chrome 中禁用 QUIC (chrome://flags/#enable-quic) 没有帮助。我在所有浏览器中都看到了这个 ERR_QUIC_PROTOCOL_ERROR。
The solution wasn't in my computer but on the local network router. I have Synology RT1900ac router with parental control enabled and it uses web-filter for blocking danger or malware sites (in the default setting the basic level of the web-filter is set). And this router's web-filter blocked googleadservices.comwebserver that Google uses for redirecting.
解决方案不在我的电脑中,而是在本地网络路由器上。我有启用家长控制的 Synology RT1900ac 路由器,它使用网络过滤器来阻止危险或恶意软件站点(在默认设置中设置了网络过滤器的基本级别)。该路由器的网络过滤器阻止了 Google 用于重定向的googleadservices.com网络服务器。
So the solution was just to add googleadservices.com to the list of allowed domains(see Network Center > Parental Control > web-filter tabon Synology router administration.)
因此,解决方案只是将 googleadservices.com 添加到允许的域列表中(请参阅Synology 路由器管理上的网络中心 > 家长控制 > 网络过滤器选项卡。)
If you have different router, you can have similer "web-filter" active and encounter the similar problems.
如果您有不同的路由器,您可以激活类似的“网络过滤器”并遇到类似的问题。
回答by Octavioamu
Sometimes I get this when cache is disabled (due Paulo Mariano explanation). Just reenable it and will stop complaining about this and start getting google js sources.
有时我会在缓存被禁用时得到这个(由于 Paulo Mariano 的解释)。只需重新启用它,就会停止抱怨并开始获取 google js 资源。

