504

Gateway Timeout

Description

This error response is given when the server is acting as a gateway and cannot get a response in time. This usually happens when the upstream server is slow or unresponsive, causing the gateway to timeout.

HTTP Status Codes Details

Status Code
504
Status Name
Gateway Timeout
Class
5xx
Common Usage
Yes

Common Scenarios

  • Server-side errors
  • Service unavailable

Handling Recommendations

  • Implement retry logic
  • Monitor server health

Was this helpful?

Loading...

Send Feedback

Found an error or have a suggestion? We respond within 48 hours.

Fact-checking completed

Verified by: Pavel Volkov
Created:
Last updated:
Information verified against official sources

Official Sources

Internet Engineering Task Force RFCs

Official HTTP status codes specification (RFC 7231)

Internet standards organization defining HTTP protocols

Mozilla Developer Network

Comprehensive HTTP status codes documentation

Authoritative web development documentation

Internet Assigned Numbers Authority

Official HTTP status code registry

Internet protocol parameters authority