- Newest
- Most votes
- Most comments
Assuming that you are using the AWS SDK, there are three reasons why retry and timeout issues occur when invoking a Lambda function with an AWS SDK:
A remote API is unreachable or takes too long to respond to an API call. The API call doesn't get a response within the socket timeout. The API call doesn't get a response within the Lambda function's timeout period.
For more information, please look at the following URL:
https://repost.aws/knowledge-center/lambda-function-retry-timeout-sdk
Please inform me if my answer was satisfactory by accepting my response with an up-vote.
Please take a look at the following resolution:
https://repost.aws/knowledge-center/lambda-troubleshoot-invocation-timeouts
Please inform me if my answer was satisfactory by accepting my response with an up-vote.
I haven't been able to debug the error with any of the options there. Thanks anyways for the idea
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
I'm not using the AWS SDK
I'm abstracting the call using the Lambda Layer