502 Bad Gateway

The 502 Bad Gateway error means that the server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

Possible Causes

  • The upstream server is down or unavailable.
  • Network issues between the servers.
  • Firewall blocking communication.
  • DNS resolution issues.
  • Overloaded upstream server.

Solutions

A temporary issue might be causing the error, so refreshing the page is a good first step.

Clearing your browser's cache and cookies can help ensure that the problem is not on your end.

Using a different browser can help determine if the issue is browser-specific.

Issues with your network connection can sometimes cause a bad gateway error.

If the problem persists, there might be an issue with the server that needs to be addressed by the administrator.