Chrome 63将http更改为https [英] Chrome 63 changing http to https

查看:161
本文介绍了Chrome 63将http更改为https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否使用Chrome v.63强制使用https?



我在Windows 10桌面上运行Apache 2.4.27作为沙盒,我可以尝试并执行一些教程。我有一个名为www.tutorial.dev的虚拟主机设置,带有tutorial.dev的别名。在Windows 10主机文件中,我已经将www.tutorial.dev和tutorial.dev设置为指向localhost。



截至昨天,该网址 http://tutorial.dev/ Bootstrap4FromScratch / 正常工作。在这种情况下,将目录列表作为跳转点提供给各种示例和练习。今天,当我输入网址Chrome将其更改为https时,我收到拒绝连接的消息。

我了解连接被拒绝的消息。没有证书设置。



我能找到的唯一变化就是Chrome从v.62.x更改为v.63.x. Chrome 63中的哪些内容可能会迫使http加入https?



MS Edge没有这个问题。我在另一台正在下载Chrome 63.x的计算机上测试了另一个类似的配置。它已经安装了62.x。如果我使用 http:// localhost 调出htdocs目录中的index.html或version.php,http到https的切换不会发生。虚拟主机www.tutorial.dev驻留在htdocs之外的另一个目录中。



如果已经询问并解答了这个问题,请将问题/答案指向我。



预先感谢,



Barry

解决方案

Google拥有 .dev TLD 和Chrome 63,他们强制要求HTTPS所有对anything.dev的请求



我经历了我的本地开发设置,并用.local替换了所有对.dev的引用,现在工作正常。



另一种选择是使用Firefox进行本地开发。



编辑(asside):
如果浏览器允许 navigator.geolocation.getCurrentPosition()(如果网站不是HTTPS,则会被阻止)。


Does using Chrome v.63 force use of https?

I am running Apache 2.4.27 on a Windows 10 desktop as a sandbox where I can experiment and do some tutorials. I have a virtual host setup called www.tutorial.dev with an alias of tutorial.dev. In the Windows 10 hosts file I have set up www.tutorial.dev and tutorial.dev to point to localhost.

As of yesterday the url http://tutorial.dev/Bootstrap4FromScratch/ was working normally. In this case providing a directory listing as a jump off point into various examples and exercises. Today, when I type in the url Chrome changes it to https and I get a connection refused message.

I understand the connection refused message. There are no certificates setup.

The only change I can find is that Chrome changed from v.62.x to v.63.x. What in Chrome 63 could be forcing http to https?

I don't have this problem with MS Edge. I tested another similar configuration on a different machine that was in the process of downloading Chrome 63.x. It already had 62.x installed. It worked until the 63.x upgrade was complete then the same problem occurred.

Additional information: If I use http://localhost to bring up the index.html or version.php in the htdocs directory the switch from http to https does not happen. The virtual host www.tutorial.dev resides in another directory outside of htdocs.

If this has been asked and answered please point me to the question/answer thread.

Thanks in advance,

Barry

解决方案

Google owns the .dev TLD and with Chrome 63 they are forcing HTTPS on all requests to anything.dev

I went through my local dev setup and replaced all references to .dev with .local, works fine now.

Your other option is to use Firefox for local development.

Edit (asside): I have switched to using .localhost for dev as browsers allow navigator.geolocation.getCurrentPosition() (blocked if site is not HTTPS).

这篇关于Chrome 63将http更改为https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆