When you see a 502 Bad Gateway error, for Cloudflare, nginx, WordPress, etc, it means that the server which is acting as a gateway to facilitate to take your request to the server and bring response back has received an invalid or no response at all.