My domain is not working & getting error 502

I recently joined Cloudflare to get faster performance. I activated all features for fast results. My domain I joined clouflare with is It is an active doain in Cloudflare. But after joining Cloudflare instead of getting faster performance, my link attached to my domain is showing error 502 every time I tried using it.

In diagnostic in Cloudflare solution given is contact your hosting provider, which is not working in order to resolve the issue.
what should I do?
Any tips or tricks?
Please help
Amod Borkar, India

You wrote 502, and your screenshot says 522. Are you seeing both or is it just a typo?

A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.

Just in case:

The 502/504 errors are caused by a problem connecting to an upstream server - meaning your server is trying to initiate a process and this fails to work as expected or times out. In most cases of 502 / 504 errors, back-end servers are not communicating correctly. When this happens, you will see color page with Cloudflare branding and the Error 502 Bad Gateway or Error 504 Gateway Timeout. Review this Community Tip for fixing 502 or 504 gateway errors.

Hello Sir,
It is error 522 “connection timed out.”
Thanks for giving guidance will go through the tips you recommended & see if that works

This topic was automatically closed after 30 days. New replies are no longer allowed.