Skip to content
New issue

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

Backend Image Handler Lambda Function - Timeout #379

Closed
1 task done
fvsnippets opened this issue Jul 6, 2022 · 6 comments
Closed
1 task done

Backend Image Handler Lambda Function - Timeout #379

fvsnippets opened this issue Jul 6, 2022 · 6 comments
Assignees
Labels

Comments

@fvsnippets
Copy link

Describe the bug
Backend Image Handler Lambda Function construct (CDK) has a timeout of timeout: Duration.minutes(15).
It makes no sense to continue executing the lambda after 29 seconds since Api Gateway on front will have replied to CloudFront with a 504 status code (Gateway Timeout).
Notice: read about Api Gateway integrations limits with Lambda.

To Reproduce
Time to time (not frequent... Sometimes it takes days or weeks to see this happens) I experience long delays in receiving the response from S3 (the reason is unknown to me, I didn't investigate, but I guess it's irrelevant to this bug report). This in turn causes Lambda to take more than 29 seconds to respond to the Api Gateway's requet.

Expected behavior
After 29 seconds, Lambda engine timeouts execution.
Backend Image Handler Lambda Function construct (CDK) configured with timeout: Duration.seconds(29).

Please complete the following information about the solution:

  • Version: v6.0.0
@fisenkodv
Copy link
Contributor

@fvsnippets thank you for your feedback. We will look into it and add it to our backlog.

@github-actions
Copy link

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the Stale label Dec 21, 2022
@fvsnippets
Copy link
Author

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Keeping it open.

@github-actions github-actions bot removed the Stale label Dec 22, 2022
@github-actions
Copy link

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@dougtoppin
Copy link
Contributor

resolved in v6.2.4

@simonkrol
Copy link
Member

Hi @fvsnippets ,
My apologies for the ping (and the post on a closed issue). We're looking to gain some insight into how our most active Github customers are using the Solution and how we can better support those use cases. Would you be interested in having a half hour call with me some time over the next few weeks? Let me know here if you're interested and I'll get the process underway.

Thank you,
Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants