Chrome浏览器:The request client is not a secure context and the resource is in more-private address ...

2,202 阅读1分钟

1、概述

新版的chrome浏览器会校验发起端的域名和访问资源的域名直接的关系,如果客户端发起域名比访问资源所在的域名更public(开放),会导致The request client is not a secure context and the resource is in more-private address space……错误产生。

2、问题

最近使用Chrome浏览器访问公司内网某个地址时,突然报了这么个错:

The request client is not a secure context and the resource is in more-private address space……

3、原因

报错内容

错误原因

4、解决

在浏览器地址栏输入

chrome://flags/#block-insecure-private-network-requests

按照下图将Block insecure private network requests.项的Default改为Disabled即可。

 参考:www.jianshu.com/p/04dedb927…