Skip to content
MtrXTools

504 ERROR The request could not be satisfied

CloudFront timed out waiting for the origin

Seen in AWS CloudFront

CloudFront could not connect to the origin, or the origin did not respond before the origin response timeout.

Common causes

  • A security group, network ACL or firewall does not allow CloudFront to reach the origin.
  • The origin is slower than the origin response timeout (30 seconds by default).
  • The origin is down or overloaded.

How to fix it

  1. Allow CloudFront on the origin, e.g. with the AWS-managed prefix list com.amazonaws.global.cloudfront.origin-facing.
  2. Speed up slow requests, or raise the origin response timeout in the origin settings.
  3. Check origin health and its logs at the time of the error.
Check the origin ports

Got a different message? Paste it into the error explainer.

Related errors

All 51 HTTP & CDN errors