serverless / serverless/serverless
sls invoke times out before lambda does (2 minutes but lambda is 15)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.9k
- Forks
- 5.7k
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 57
Description
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:
https://github.com/serverless/serverless/issues/5374
Additional Data
- Serverless Framework Version you're using:
1.41.x - Operating System:
any
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the implementation of the sls invoke command and reproduce the two-minute timeout with a Lambda that runs longer. Trace the timeout and retry handling, then verify that invocation waits for the provider timeout rather than retrying after two minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100