504
Server Error
504 Gateway Timeout
The server did not receive a timely response from the upstream server.
Description
The 504 Gateway Timeout status code indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server needed to complete the request.
Common Causes
- Upstream server is slow
- Long-running database query
- Network issues between proxy and upstream
- Proxy timeout too short
How to Fix
- Increase proxy timeout values
- Optimize upstream server performance
- Check network connectivity
- Implement request queuing for long operations
Check your website's HTTP status code
Check now →