A 502 error means one server acting as a gateway or proxy received an invalid response from another server it was communicating with.
Common Causes
An overloaded backend server, a crashed application process, or a misconfigured proxy connection between your web server and application server are all typical triggers.
What to Check
Review your server's error logs for more specific detail, confirm the relevant service (PHP, application server) is actually running, and check whether a recent deployment or configuration change coincided with the error starting.
If It's Intermittent
An occasional 502 during traffic spikes often points to a resource constraint — worth monitoring whether it correlates with high load, suggesting a need to scale up.
Español
Deutsch