HTML is valid now. And changing the text a bit, because 502s can also happen on DB errors.