Troubleshooting Cloudflare 5XX errors – Cloudflare Help Center
If none of the above leads to a resolution, request the following information from your hosting provider or site administrator: An MTR or traceroute from your origin web server to a Cloudflare IP address that most commonly connected to your origin web server before the issue occurred. Identify a connecting Cloudflare IP from the logs of the origin web server.