A 502 Bad Gateway error means that the web server you connected to is acting as a proxy to relay information from another server, but received a bad response from that other server.