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

error: Failed after retrying 5 times: {"message": "Endpoint request timed out"} #3

Open
stevebanik opened this issue Jun 20, 2023 · 2 comments

Comments

@stevebanik
Copy link

Occurs when attempting to upload ~200 files

also:

error: Failed after retrying 5 times: {"message": "Internal server error"}

I'm thinking a potential issue is API rate limit exceeded, or perhaps something with Lambda function concurrency

@guregu
Copy link
Owner

guregu commented Jun 23, 2023

Thanks, I've seen this happen sporadically. I think you're right about the causes. I'm thinking I will tweak the way uploads are processed, putting them in a real queue (SQS) so they can be handled a bit better.

@stevebanik
Copy link
Author

I like the SQS approach - seems like a good one. I'm thinking CloudWatch Logs should show if API rate limits are exceeded, if Lambda is handling the uploads and is writing to CloudWatch. Interesting that HTTP error codes are not being passed, which could be helpful in troubleshooting.

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

No branches or pull requests

2 participants