Error 502 bad gateway when wp-admin is in the URL

Hi there,

I looked at my website last night and some items were not displayed correctly, so I thought ah it is time to update Wordpress.

I tried to login to my Wordpress and I kept getting a 502 bad gateway error.

Anyway I managed to get in intermittedly and update wordpress and the theme howveer now the site is completely broken but I am still getting these error messages when logging in or trying to do stuff in the wordpress admin.

Please can anyone shed a light into what has happened and how to revolve it please?


Hi there, thanks for reaching out to the Cloudflare Community!

502 errors are mostly caused by a problem connecting to an upstream server - meaning your server is trying to initiate a process and this fails to work as expected or times out. In most cases, the server is returning the 502 due to excessive load or crashes. When this happens, you will see colour page with Cloudflare branding and the Error 502 Bad Gateway.

Further steps to investigate this are available here: