Can I run a ping test when facing a 502 Bad Gateway error?
Yes, this could be an effective method to get a clearer idea about the state of connectivity and latency. 502 errors often reflect a delay related to particular IP addresses. The test can help identify them.