Bad Gateway

The proxy server received an invalid response from an upstream server.

Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.