Question: what does it mean when you have a bad gateway?
Answer: A 502 Bad Gateway indicates that the edge server (server acting as a proxy) was not able to get a valid or any response from the origin server (also called upstream server).