502 bad gateway errors

I still see this occurring, and out of the blue. I’ve checked whether RAM, CPU or anything else is overloaded during that time, but that’s not the case.