Error 522 on ec2 amazon aws

#522 Error . recently i am facing 522 error. my hosting is amazon aws and after configuring wordpress . my website is facing error 522.
kindly provide solution.

Hi @actionagainstviolenc,

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.