Azure / azqr

Azure Quick Review
https://azure.github.io/azqr
MIT License
489 stars 77 forks source link

Too many requests #260

Open BasBerk opened 3 hours ago

BasBerk commented 3 hours ago

Expected Behavior

When running into a 429 error, retry, so the scan can complete.

Actual Behavior

When you reach the limit, you receive the HTTP status code 429 Too many requests. The response includes a Retry-After value, which specifies the number of seconds your application should wait (or sleep) before sending the next request. If you send a request before the retry value elapses, your request isn't processed and a new retry value is returned.

Steps to Reproduce the Problem

I tried to scan 11 subscription in one go, using Az cli as a user.

cmendible commented 3 hours ago

can you please run azqr -v and share the version here? Throttling handling is improved in the 2.0.0-preview versions

BasBerk commented 1 hour ago

sure: azqr version 2.0.0-preview.10

cmendible commented 24 minutes ago

Can you share the console output when the error occur?

Also to avoid this issue you can try the following workarounds: