Site keeps getting 522, 524 Errors

This just started happening today, and im not sure why.

I updated a couple of plug ins, maybe that was the problem?

But the I also have been using cloudflare on the website for a while, today i activate it through my cpanel with a2 hosting,maybe these two are not connect and are clashing?

This is driving me a little bit crazy now, and there is zero support from cloudflare.

Has anyone had this problem before, ay ideas on how to fix it?

Something is going on at your server.