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

导读:本篇文章讲解 The request client is not a secure context and the resource is in more-private address …,希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com

概述

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

问题

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

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

以前都是正常的,最新的浏览器最近有什么更新导致的。

原因

  • 报错内容
    在这里插入图片描述
  • 错误原因
    在这里插入图片描述

解决办法

在浏览器地址栏输入

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

按照下图将Block insecure private network requests.项的Default改为Disabled即可。
在这里插入图片描述

参考

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之家整理,本文链接:https://www.bmabk.com/index.php/post/100111.html

(0)
小半的头像小半

相关推荐

极客之家——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!