-
Notifications
You must be signed in to change notification settings - Fork 499
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
[AWS] Implement retry/backoff when being rate limited by a resource API #59
Comments
Fixed in cq-provider-aws v0.2.1 cloudquery/cq-provider-aws#8 |
Hello, I am not able to perform a fetch on my environnement, it fails on random operations. I assume this is due to a rate limit, is there any way to show more debug output ?
Used : cloudquery_Linux_x86_64-v0.11.6 / cq-provider-aws_linux_amd64-v0.2.17 |
@Rackme can you try change the following settings:
maybe change timeout to 300 ? |
I tried with 30 and 300s for the timeout, with the following configuration, it's still failing on random operation :
Unfortunately, I don't have the associated failed request-id :
|
After how long it fails? if it fails after 5min then I think you are hitting the timeout (can you try increasing to 1200?) if it's throwing the error before 5min are passed then it might be a different issue. |
Started at :
Failed at : : '( |
Got it. Can you please try increasing the timeout to 3000 and also commenting out some of the accounts? just to understand if it's a specific account or not. for example try running on 1 account only? |
All good with the 8 accounts and a timeout at 3000 👍 |
@Rackme I also fixed some bugs with how contexts are being passed as well as a better default for timeouts so this should be solved with https://github.com/cloudquery/cq-provider-aws/releases/tag/v0.2.18 |
If you hit the rate limits for a resource API, CloudQuery stops fetching data and errors out. It would be great if the CloudQuery AWS provider would detect this type of error and retry the request
The text was updated successfully, but these errors were encountered: