Describe the bug
Originally reported in #871: when the API server was unreachable and the reverse proxy was returning a 502 error, the frontend was just showing an infinite loading spinner. It should show an error to the user instead. I'm guessing that this probably affects all 5xx error codes, not just 502.
Changeset URL
No response
Environment
any
Additional information
No response