---
title: "502 Bad Gateway"
space: "Cloud"
url: "https://docs.frappe.io/cloud/site/common-issues/502-bad-gateway"
updated: "2026-02-23"
---

This error usually happens when your [web worker](https://docs.frappe.io/cloud/servers/guidelines-for-choosing-a-server-plan#gunicorn-workers) processes have completely stopped. It can happen due to various reasons. To debug, you should check your logs as explained [here](https://docs.frappe.io/cloud/site/common-issues/500-internal-server-error). You can also try to bring the process back up with:

```
bench restart
```

