We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What went wrong? sls invoke times out after 2 minutes and retries
What did you expect should have happened? invoke waits for the actual lambda invoke to timeout which can be as long as 15 min
What was the config you used? any
What stacktrace or error message from your provider did you see? none
Similar or dependent issues: #5374
The text was updated successfully, but these errors were encountered:
+1, seeing the same timeout.
Error message is
Serverless: Recoverable error occurred (Connection timed out after 120000ms), sleeping for 5 seconds. Try 1 of 4..
Lambda function is set to timeout after 15 min but sls invoke times out at 2 min.
sls invoke
Sorry, something went wrong.
Looks like this is solvable by modifying AWS_CLIENT_TIMEOUT.
AWS_CLIENT_TIMEOUT
eg: export AWS_CLIENT_TIMEOUT=90000 sls invoke -f whatever --log
export AWS_CLIENT_TIMEOUT=90000
sls invoke -f whatever --log
will change the sls timeout. See #490 and #937 for more discussion.
Shouldn't this be set automatically if a longer timeout is configured for lambda in serverless.yml?
serverless.yml
No branches or pull requests
This is a Bug Report
Description
What went wrong?
sls invoke times out after 2 minutes and retries
What did you expect should have happened?
invoke waits for the actual lambda invoke to timeout which can be as long as 15 min
What was the config you used?
any
What stacktrace or error message from your provider did you see?
none
Similar or dependent issues:
#5374
Additional Data
1.41.x
any
The text was updated successfully, but these errors were encountered: