How I Fixed ERR_TOO_MANY_REDIRECTS with Cloudflare + Vercel
Last week, while working on my project ReadmeChef, I ran into a frustrating issue — my live website suddenly broke and started throwing this error: After some digging, I found out the issue was caused by a misconfiguration between Cloudflare and Vercel. Here’s the fix that worked for me. ⚡ TL;DR – The Quick Fix If you’re using Cloudflare to manage your domain and hosting your site on Vercel, check your SSL/TLS settings in Cloudflare. By default, Cloudflare sets the SSL/TLS mode to Flexible, which caused the redirect loop in my case. Simply switching it to Full will solve the issue instantly.

Last week, while working on my project ReadmeChef, I ran into a frustrating issue — my live website suddenly broke and started throwing this error:
After some digging, I found out the issue was caused by a misconfiguration between Cloudflare and Vercel. Here’s the fix that worked for me.
⚡ TL;DR – The Quick Fix
If you’re using Cloudflare to manage your domain and hosting your site on Vercel, check your SSL/TLS settings in Cloudflare.
By default, Cloudflare sets the SSL/TLS mode to Flexible, which caused the redirect loop in my case. Simply switching it to Full will solve the issue instantly.