same thing with me, I have 9 domain in aapanel, when I clean log or stopped one of my sites, the cloudflare error 522 gone, or all my sites go back to be accessable.There is something wrong here in the aapanel.
everyday random time I get error 522 or 524, I cannot always login my panel and stop one of my sites to go back to normal.