According to RFC:
10.5.3 502 Bad Gateway
The server, acting as a gateway or proxy, received an incorrect response from the upstream server, which it accessed when trying to fulfill the request.
Can an invalid response also mean no response at all (for example, the connection was refused)?
primroot Feb 16 2018-11-11T00: 00Z
source share