504 Gateway Timeout
5xx Server Error. A server acting as a gateway or proxy didn't receive a timely response from the upstream server.
5xx Server Error
What it means
A server acting as a gateway or proxy didn't receive a timely response from the upstream server.
Common causes
A slow backend server, database query, or network issue between the proxy and the origin server.
How to fix it
Retry the request. If you run the server, check for slow backend processes or database queries, and consider increasing the proxy's timeout.
Frequently asked questions
What does HTTP 504 mean?
A server acting as a gateway or proxy didn't receive a timely response from the upstream server.
What causes a 504 Gateway Timeout?
A slow backend server, database query, or network issue between the proxy and the origin server.
How do I fix a 504 error?
Retry the request. If you run the server, check for slow backend processes or database queries, and consider increasing the proxy's timeout.
Other 5xx Server Error codes
How was this tool?
Your feedback helps us improve HTTP Status Codes.
