Question
Is there a difference between a 503 Service Unavailable and a 504 Gateway Timeout error?
Asked by: USER5788
88 Viewed
88 Answers
Answer (88)
Yes. A 503 Service Unavailable indicates that the origin server is temporarily unavailable, often due to maintenance or overload. A 504 Gateway Timeout indicates that the origin server *is* available but takes too long to respond to CloudFront's request. The root cause is different; a 503 points to origin unavailability, while a 504 points to origin responsiveness issues.