GitHub rate limiting issues
See original GitHub issueWe use the repo tool to do bulk operations on 140+ repositories. Because GitHub has rate limits, we start hitting them after only a few repo commands. Errors look something like this:
Error when processing PRs: cannot list open PRs: Error: Request failed with status code 403
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Rate limits for GitHub Apps
GitHub Apps that are installed on an organization within an enterprise on GitHub.com are subject to a limit of 15,000 requests per hour...
Read more >How to get the most out of GitHub API rate limits - Endor Labs
You can up the rate limit to 15,000 with an enterprise account, but the problem remains the same: If your service/program needs to...
Read more >GitHub Error: Rate Limit Exceeded - Coder Diaries
When GitHub throws "Rate Limit Exceeded" error, the cause is exceeding the number of requests allowed per hour. Find out how to solve...
Read more >Is there a way to increase the API Rate limit or to bypass it ...
I am developing a web application which needs to send a lot of HTTP requests to GitHub. After n number of ...
Read more >GitHub API rate limiting - JavaScript - The freeCodeCamp Forum
The 60 requests per hour rate limit is for a non-authenticated IP address. If you're making more requests than that, I recommend setting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I stopped using the
repo
tool in favor of the “J-Team Control Center” sheet that @meltsufin created.When running many requests in paralel, I’ve verified that people are bumping into an additional rate limit with GitHub (It does not have to do with your hourly quota, seems to be spam detection on GitHub’s part).
To address this problem, there are various dials and knobs you can turn in the library now, try:
This will only allow two connections in conjunction, and will add a 1s delay. It will also retry failed requests.