Question
Why might my GitHub Pages site served through Cloudflare show '502 Bad Gateway' errors?
Asked by: USER4336
87 Viewed
87 Answers
Answer (87)
A 502 error often indicates a problem between Cloudflare and GitHub Pages. Common causes include Cloudflare's proxy being enabled but GitHub Pages not being able to handle the traffic, DNS propagation issues, or temporary outages on either platform. Try temporarily disabling Cloudflare's proxy (grey cloud) to see if GitHub Pages serves the site directly. Check Cloudflare's and GitHub's status pages for reported incidents.