Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel project installed with laragon is forcing https in google chrome

I have a laravel project which is installed with laragon and I was working for few days nicely. Now after a sudden stop of my pc (because of electricity unavailability) I can no longer access the local site in chrome and it is forcing me to an https location. I then opened the site in mozila and it's working there perfectly.

Here what chrome shows as error

This site can’t provide a secure connection
school.dev sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR

What could be the reason and the solution for it?

Thanks in advance.

like image 783
Hkm Sadek Avatar asked Mar 08 '23 09:03

Hkm Sadek


1 Answers

It has nothing to do with Laravel and everything to do with Chrome. They recently put a release that forces .dev, .app, and a few other TLDs to use HTTPS. The best fix is to use .local instead of another TLD.

src: Chromium transport_security_state_static.json changelog

like image 115
aynber Avatar answered Apr 28 '23 18:04

aynber