Here is what i found about your problem:
An Error 522 means that the connection started on the origin web server, but that
the request was not completed. The most common reason why this would occur is
that either a program, cron job or resource is taking up more resources than it should
causing the server not to be able to respond to all requests properly. The origin web
server is not functioning consistently for each request.