Closed olivier-sabban closed 1 month ago
Just a quick search gave me this
have you configured cloudfront at some point?
I changed "Response timeout" in CloudFront > Distributions
I still have error with 503 code :
No error from lambda in cloudwatch.
I also tryed to change api gateway timeout. I must not be in the right place; I find it surprising that one cannot have a request for 30 seconds on API GATEWAY.
Wait are you using API gateway? That cannot work then, API gateway doesn't allow that. Please post all the details of your stack so that we can save some time.
Description:
Hi,
I’m working on a project using Bref and need to increase a default execution time of 30 seconds to 60 sec
Here are the steps I’ve taken so far:
Currently, the execution can exceed 30 seconds, but I am encountering a CloudFront error if the execution time is between 30 and 60 secondes. Interestingly, the CloudWatch error "The request ***** timed out after 58992 ms. Note: that duration may be lower than the Lambda timeout...." that I was previously receiving has disappeared when the execution time is between 30 and 60 secondes evenif CloudFront return a error.
Execution over 60sec. This one is ok :
Could you please advise on what might be causing the CloudFront error and what further steps I might need to take to increase execution time ?
Thank you!