TOO_MANY_REDIRECTS when changing ssl requirements

less than 1 minute read

While I was trying to enforce no ssl on a page of with Rack::SslEnforcer, I lost a few hours trying to fix a TOO_MANY_REDIRECTS error … The server was redirecting from http to https in loop !

It turned out it was my browser (chromium) that had cached a previous redirection.

I fixed it by right-clicking the faulty redirection in the chrome network debugger and asking a cache clear.

I usually write about 15 minutes worth of reading per month. I won't transfer your email. No Spam, unsubscribe whenever you want.

As a gift for subscribing, you'll receive an illustrated mini-ebook "How to start a team coding dojo"!

Categories: , ,


Leave a comment