Skip to content

Error from ClouldFront

0

I have time consuming request API gateway request. I have increased "Maximum integration timeout in milliseconds" upto 50 seconds, but it fails by other reason after 30-31s seconds with the following response. Do you have any ideas, what can be wrong in this case?

Requerst status: 503 Service Unavailable X-Cache: Error from cloudfront

Response:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The request could not be satisfied</TITLE> </HEAD><BODY> <H1>503 Service Unavailable ERROR</H1> <H2>The request could not be satisfied.</H2> <HR noshade size="1px"> We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. <BR clear="all"> If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. <BR clear="all"> <HR noshade size="1px"> <PRE> Generated by cloudfront (CloudFront) HTTP3 Server Request ID: **************************************; </PRE> <ADDRESS> </ADDRESS> </BODY></HTML>
1 Answer
2

Hi Default API Gateway timeout is 30 seconds . Until recently you could not change it . Now you can do it . https://aws.amazon.com/about-aws/whats-new/2024/06/amazon-api-gateway-integration-timeout-limit-29-seconds/

BR Roger

AWS
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.