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

Need better handling of Octokit::TooManyRequests error #934

Open
sachip-msft opened this issue Oct 13, 2023 · 0 comments
Open

Need better handling of Octokit::TooManyRequests error #934

sachip-msft opened this issue Oct 13, 2023 · 0 comments

Comments

@sachip-msft
Copy link

sachip-msft commented Oct 13, 2023

I am testing the dependabot-script docker image with azure devops git repos. The script fails with "TooManyRequests" error and stops to process the packages and PRs. I think this needs to be handled better with exponential backoffs or honoring the API's retry-after headers .
Can this be fixed to make this reliable?
Detailed Error:
home/dependabot/dependabot-script/.bundle/gems/octokit-5.2.0/lib/octokit/response/raise_error.rb:14:in `on_complete': GET https://api.github.com/repos/Azure/azure-sdk-for-net/contents/: 403 - API rate limit exceeded for xx:xx:xx:xx (my IP). (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) // See: https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting (Octokit::TooManyRequests)

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

1 participant