laravel Your connection is not private error in chrome

与世无争的帅哥 提交于 2019-12-01 05:09:57

It is because your chrome version is 63. Now it is a force to use https.

If you using Valet. You may change your domain to other e.g. .test

The command is valet domain test

All your .dev domain will be replaced to .test

More info:-

https://laravel-news.com/chrome-63-now-forces-dev-domains-https

change the .dev to .test into the Homestead.yaml and C:\Windows\System32\drivers\etc\hosts

  1. run the command :

vagrant reload --provision

  1. use the "incognito window" Ctrl+Shift+N or use Internet Explorer

I had the same problem I was using Chrome version 63 and you can just downgrade to version 62 it will be fine or try using ".localhost”, “.invalid”, “.test”, or “.example” instead of ".dev"

I received this error with Laravel 5.2 and valet. I ended up upgrading valet from v1.1.22 to v2.0.6, and using "valet secure [domain]" to secure my local dev site with a TLS certificate. I have middleware that redirects all traffic on this site to https.

Upgrading to v2 was probably not required, however my current installation broke from all the troubleshooting I attempted.

Or type: valet secure, for that project and make it secure. Worked for me!

Dhruv Parmar

Don't use .dev for your local domains - the new chrome (version 63) redirects all .dev -Domains to https

Try to rename your local domains to something like lsapp.test an myfirstls.test

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!