504 Gateway Timeout
The gateway did not receive a timely response from the upstream server.
Symptoms
- Requests hang then fail behind a proxy
- Slow endpoints time out
Troubleshooting steps
- Increase proxy and upstream timeout settings
- Identify slow queries or external API calls in the backend
- Break long tasks into jobs or streams to stay within timeout