Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome Chrome试图通过https加载http站点_Google Chrome_Http_Https - Fatal编程技术网

Google chrome Chrome试图通过https加载http站点

Google chrome Chrome试图通过https加载http站点,google-chrome,http,https,Google Chrome,Http,Https,因此,我们有一个没有ssl证书的站点,通常通过http加载(适用于firefox、chrome canary、safari等),但当在chrome v 44上加载该站点时,它找不到任何资源,因为它试图通过https为它们提供服务 因此,html加载,但没有样式或脚本等 我们认为这是在chrome更新之后发生的。在控制台中,所有资源都有此错误 net::错误\u不安全\u响应 也许是Chrome HSTS如果你的网站在wordpress中,我有解决方案。 公正的地方 $\u服务器['HTTPS']

因此,我们有一个没有ssl证书的站点,通常通过http加载(适用于firefox、chrome canary、safari等),但当在chrome v 44上加载该站点时,它找不到任何资源,因为它试图通过https为它们提供服务

因此,html加载,但没有样式或脚本等

我们认为这是在chrome更新之后发生的。在控制台中,所有资源都有此错误

net::错误\u不安全\u响应


也许是Chrome HSTS

如果你的网站在wordpress中,我有解决方案。 公正的地方

$\u服务器['HTTPS']=false

在themes的functions.php中。
至少它对我有用

谢谢你。我看了一下问题列表,似乎其他人也有同样的问题。我对Chrome 44版也有同样的问题。我的网站的所有内部链接(包括指向图像、样式表的链接)在chrome view source中显示为https。这是一个临时修复程序,但有一个WooCommerce更新可用,它说它解决了这个问题。