Error 502 bad gateway

This is a customer forum, so we can just offer advice. If you want to open a ticket, login to Cloudflare and then contact Cloudflare Support.

A 502 is usually your host not letting Cloudflare connect. Either due to an internal block or a firewall. Sometimes just an overloaded server.