A quick explanation of the “431 Request Header Fields Too Large” error, what causes it (often oversized cookies), how users can fix it by clearing site data, and what we’re doing to prevent it in the future. This guide is especially useful if you encountered the issue on SwimStandards or any site using modern ad consent scripts.
Ran into a weird issue where only Chrome on mobile (not desktop, Firefox, or Edge) kept throwing Cloudflare 520 errors after login redirects, with nginx logs showing nothing helpful. The root cause turned out to be oversized request headers (cookies + Chrome UA-Hints) that blew past nginx’s default limits; under HTTP/2 these just closed the connection silently, showing up as 000 in access.log. Fix was simply raising nginx’s header buffer limits, which solved it immediately. Lesson: modern apps produce very large headers, and if you see random 520s on Chrome mobile, check header sizes before chasing TLS or proxy ghosts.