Cloudflare · infra · fg-0215
Site behind Cloudflare loops with ERR_TOO_MANY_REDIRECTS after the origin forces HTTPS
ERR_TOO_MANY_REDIRECTS in the browser
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
In Flexible mode Cloudflare talks to the origin over plain HTTP, so an origin that redirects HTTP to HTTPS answers every proxied request with a redirect. The browser keeps following it forever.
Fix
Install a certificate on the origin and switch the zone to Full (strict), or drop the origin redirect and use Always Use HTTPS at Cloudflare.
Apply
Cloudflare dashboard > your zone > SSL/TLS > Overview > Encryption mode: Full (strict)
Affects: Cloudflare zones using Flexible SSL/TLS with an origin that redirects to HTTPS
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp