主机迷主机迷

如何解决Firefox的NS_ERROR_NET_INADEQUATE_SECURITY错误和Chrome的ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY错误

最近访问七牛(portal.qiniu.com)和阿里云万网(wanwang.aliyun.com)时浏览器报莫名其妙的错误,在Firefox报的错误是NS_ERROR_NET_INADEQUATE_SECURITY:

Your connection is not secure

The website tried to negotiate an inadequate level of security.

portal.qiniu.com uses security technology that is outdated and
vulnerable to attack. An attacker could easily reveal information
which you thought to be safe. The website administrator will need to
fix the server first before you can visit the site.

Error code: NS_ERROR_NET_INADEQUATE_SECURITY

在Chrome报错为ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY:

无法访问此网站

网址为 https://portal.qiniu.com/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。
ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY

老实说我并没有完全搞明白报错的原因,只知道和http2以及https有关,所访问网站的服务器端我也无法修改,只能修改自己电脑的浏览器设置,通过禁用http2来解决这个报错,好让我能正常访问。

Firefox禁用http2的办法:

  1. 在Firefox地址栏输入about:config,回车后点击确认接受风险的按钮
  2. 搜索network.http.spdy.enabled.http2,双击修改其Value为False
  3. 重启Firefox

Chrome禁用http2的办法参考链接,我的Chrome版本比较老,没有做测试。

这一篇还有这一篇解释得比较清楚。

转载请注明出处 | 当前页面:主机迷 » 如何解决Firefox的NS_ERROR_NET_INADEQUATE_SECURITY错误和Chrome的ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY错误

评论

  • 请输入 5 + 2 = ? 的计算结果: