Skip to content

Instantly share code, notes, and snippets.

@omkz
Created March 14, 2025 21:34
Show Gist options
  • Save omkz/5e6bc581d3231bdd0fe4a2272db769d0 to your computer and use it in GitHub Desktop.
Save omkz/5e6bc581d3231bdd0fe4a2272db769d0 to your computer and use it in GitHub Desktop.
rails localhost chrome - This site can’t provide a secure connection - localhost sent an invalid response - ERR_SSL_PROTOCOL_ERROR
### Google Chrome Redirects Localhost to https Fix
When Google Chrome keeps redirecting your localhost Url from http://localhost to https://localhost, do the following:
Open the Developer Tools panel (CTRL+SHIFT+I)
Click and hold the reload icon
reload_icon
A menu will open
Choose the 3rd option from this menu ("Empty Cache and Hard Reload")
Solution from gaia
ref:
- https://galaxyinternet.us/google-chrome-redirects-localhost-to-https-fix/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment