When I login to the dashboard on my website, I’ll have between 5-10 plugins to update.
If I update the plugins one at a time, everything is fine.
If I Select All to be update, I run into a “Host Error” page, and it takes about 1 minute or 2 before the website is operational again.
Why does this always happen? And how can I fix this?
It sounds like a rate limiting issue at the origin server. Can you see the error in your origin logs (at your hosting provider)?
More background on the 502 error. The 502/504 errors are 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 of 502 / 504 errors, back-end servers are not communicating correctly. When this happens, you will see color page with Cloudflare branding and the Error 502Bad Gateway or Error 504 Gateway Timeout. Review this Community Tip for fixing 502 or 504 gateway errors.