Google Chrome 给出 ERR_SSL_PROTOCOL_ERROR
Google Chrome gives ERR_SSL_PROTOCOL_ERROR
我在 Homestead box 中使用 Laravel。起初它没有任何问题,但最近我遇到了这个问题。 Box 工作得很好,但是当我尝试使用 Google Chrome 访问我的站点 (budget.app:8000) 时,它给出了 ERR_SSL_PROTOCOL_ERROR,但它在 Firefox 上运行良好。
我遵循了所有 these 个步骤,但没有成功。
Homestead.yaml 文件
folders:
- map: ~/dev/web/php/laravel
to: /home/vagrant/sites
- map: ~/dev/web/php/other
to: /home/vagrant/other
sites:
- map: test.app
to: /home/vagrant/sites/test/public/
- map: budget.app
to: /home/vagrant/sites/budgetsystem-laravel/public
/etc/hosts 文件
127.0.0.1 localhost
127.0.0.1 test.app
127.0.0.1 budget.app
我尝试在同一个局域网中使用两台计算机(Win 和 Ubuntu)浏览此站点,在两台计算机上我得到了相同的结果(Chrome - ERR_SSL_PROTOCOL_ERROR,Firefox - 作品)。
我应该怎么做才能解决这个问题?
我猜想 chrome 在您使用 .app 时从 12 月的某个时候强制使用 HTTPS。以下 link 是 12 月初发布的时事通讯。
https://laravel-news.com/chrome-63-now-forces-dev-domains-https
我在 Homestead box 中使用 Laravel。起初它没有任何问题,但最近我遇到了这个问题。 Box 工作得很好,但是当我尝试使用 Google Chrome 访问我的站点 (budget.app:8000) 时,它给出了 ERR_SSL_PROTOCOL_ERROR,但它在 Firefox 上运行良好。
我遵循了所有 these 个步骤,但没有成功。
Homestead.yaml 文件
folders:
- map: ~/dev/web/php/laravel
to: /home/vagrant/sites
- map: ~/dev/web/php/other
to: /home/vagrant/other
sites:
- map: test.app
to: /home/vagrant/sites/test/public/
- map: budget.app
to: /home/vagrant/sites/budgetsystem-laravel/public
/etc/hosts 文件
127.0.0.1 localhost
127.0.0.1 test.app
127.0.0.1 budget.app
我尝试在同一个局域网中使用两台计算机(Win 和 Ubuntu)浏览此站点,在两台计算机上我得到了相同的结果(Chrome - ERR_SSL_PROTOCOL_ERROR,Firefox - 作品)。
我应该怎么做才能解决这个问题?
我猜想 chrome 在您使用 .app 时从 12 月的某个时候强制使用 HTTPS。以下 link 是 12 月初发布的时事通讯。
https://laravel-news.com/chrome-63-now-forces-dev-domains-https