Error 522 unresolved after connecting Cloudflare

Website gives error 522 whenever I connect it to Cloudflare. Website displays well without Cloudflare, no issues. Please help!

PS:
I’ve checked many other solutions here. No help so far.
Thank you