-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unauthenticated requests to GitHub can be ratelimited #167
Comments
I knew about this but didn't think we would reach the limit of 5000 per hour.
This would be a good solution. We could also implement a rate limiter inside the Blender Launcher to only make API requests once every 24 hours. |
I think it's moreso per IP than per user |
Oh yeah, that makes sense why you hit the limit. In this case, the token is the way to go! |
Describe the bug
Requests that BLV2 make to GitHub for the latest build and the launcher api are ratelimited after an amount of time and affects other programs that request to GitHub without authentication.
For the log file, I added a print statement before the error point to find exactly what was being returned.
To Reproduce
Run scraping enough times to hit the GH ratelimit (I just did apparently)
System (please complete the following information):
Additional context
A possible solution would be to let the user add their own GitHub token so we can authenticate our requests properly. We will need to store them securely, perhaps with https://pypi.org/project/keyring/
The text was updated successfully, but these errors were encountered: