Do you know why do I receive this (below)? website was working fine today.
The 502/504 errors are caused by a problem connecting to an upstream server - meaning your server is trying to initiate a process and this fails to work as expected or times out. In most cases of 502 / 504 errors, back-end servers are not communicating correctly. When this happens, you will see color page with Cloudflare branding and the Error 502 Bad Gateway or Error 504 Gateway Timeout. Review this Community Tip for fixing 502 or 504 gateway errors.
Thank you, so I have domain - hosting - cloudflare. You are saying that this 502 is coming from the hosting and not the cloudflare (dns records)?
Most likely, particularly if it’s a “pretty” (in color) error page as opposed to this not as nice page we present if it’s a cf error
I’d start with your origin (hosting) server logs and see if your host can help to identify the errors. Problem with these errors is that any device along the way can throw the error, they are always difficult to troubleshoot.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.