"Error 429: Too Many Requests When Accessing Repository Files Without Login" #159123
Replies: 31 comments 35 replies
-
|
I am encountering the same thing when trying to browse through code in repositories. Gods forbid you cannot find what you're looking for in the first few clicks or you get locked out. If I were a wikipedia mod, this new "feature" of locking users out of open source code, unless they have an account and log in, would be the textbook example of Enshittification, and your logo would be placed right next to that handsome photo of Cory Doctorow. Although, this could also be a great r/LeopardsAteMyFace moment, as it was likely implemented to mitigate the AI bot hellscape you helped unleash on the net. Please remove this dark-pattern nonsense as it is an insult to the open source ethos you had at one point claimed to support. If you are reading this and a developer or maintainer of an open source project, I highly encourage you to move your project to a less predatory and more welcoming platform like Codeberg. |
Beta Was this translation helpful? Give feedback.
-
|
Whoa there! I just came across this. Please don't do this. As comment above says. We have users of our project who don't have GH accounts who would like to see more than three files in our repo. It's on HN - https://news.ycombinator.com/item?id=43981344 |
Beta Was this translation helpful? Give feedback.
-
|
Limit seems to be way higher now, took me around 20 attempts to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
|
Nice, just saw a link on the HN thread that this is indeed deliberate behavior @Phillipus https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/ |
Beta Was this translation helpful? Give feedback.
-
|
Ok I understand
…On Wed, 14 May, 2025, 1:27 pm Philip Southam, ***@***.***> wrote:
Nice, just saw a link on the HN thread that this is indeed deliberate
behavior @Phillipus <https://github.com/Phillipus>
https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/
—
Reply to this email directly, view it on GitHub
<#159123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI6UI6U2PY27AB5FLD2DSDT26LZN7AVCNFSM6AAAAAB5BQ3AKOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJUGE2TKNA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
|
How does this affect Golang code when using "go get" or "go mod download"? Sounds to me like it might fail when fetching dependencies. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
Hey folks 👋 - Martin from GitHub here. Thanks for reporting the issues. As a few folks mentioned, this was an unintended consequence of throttling limits we've had to put in due to the amount of anonymous scraping activity we've been seeing. However, it's not our intention to limit legitimate human browsing of open source code on GitHub, or adversely restrict legitimate research and archiving activities. But sorry for the issues you've ran into. As of 7:00 UTC this morning we've adjusted the throttling logic and I'm seeing a lot less requests getting caught. Hoping this has stopped the problem for most folks now, but we'll keep monitoring until we've found the right balance. |
Beta Was this translation helpful? Give feedback.
-
|
I am currently getting rate-limited after responsibly running a manual python script with a token that first uses PyGithub to check for the right list of a dozen or so commits (this works) and then using requests with the same token to fetch github.com/USER/REPO/commit/SHA1.patch (this is being rate limited). I cannot get even a SINGLE request through, to api.github.com works fine. What is the logic in this? What are we "expected" to do? |
Beta Was this translation helpful? Give feedback.
-
|
Having this issue myself as of the last 2 days. only it happens to me when doing http requests with curl to anything github related. Changing ips via a vpn temp solves it, but doing one request every couple minutes to get rate limited seems extreme. |
Beta Was this translation helpful? Give feedback.
-
|
I was having this issue earlier. I was downloading about 10 stl files from a 3d printing repo and hadn’t bothered to log in. In my case I think there needs to be some work done. There was no messaging on the site to indicate an issue, I just stared getting 0B downloads with the appropriate name for the file I had requested to download. Only realized what was happening after opening the browser console and seeing the 429 coming back. I don’t especially mind a rate limiting approach (within reason) but definitely there should be an actual message of some sort instead of just acting as if it’s downloading and giving a 0B file. |
Beta Was this translation helpful? Give feedback.
-
|
There's many scripts floating around that install things, and most of them use unauthenticated HTTPS to pull down binaries or the scripts themselves. For some examples, check out Atuin's and Babashka's. With these new rate limits I'm getting 429s while using my Ansible scripts on my personal desktop machines. I could add in authentication for the requests I manage, but the scripts themselves often run their own HTTPS requests. Is the expected outcome of this for all these third party scripts to manage GitHub authentication? In addition, projects such as Linux GSM make extensive use of unauthenticated HTTPS requests to GitHub. This will also require extensive work from the community to handle authentication. Even if that work is done it adds significant friction to usage. |
Beta Was this translation helpful? Give feedback.
-
|
I've been getting the same |
Beta Was this translation helpful? Give feedback.
-
|
Getting the same error on Github Actions. Any solution? |
Beta Was this translation helpful? Give feedback.
-
|
They seriously need to increase the limits, I host a ton of things on GitHub and it breaks a lot of my programs that auto install from GitHub releases to grab the latest version, this also breaks thousands of auto install scrips or powershell commands that are becoming more common. Only one request per minute, per IP, is an insane requirement. Bots and scrapers can change their IP at any time, in fact that's exactly what they do currently, so these limits only hurt everyone that uses GitHub that isn't a bot. Us users don't have massive bot farms that can just switch user agents, ips, and accounts, in an instant when they hit the rate limit. At the very least increase it from 1 per minute to 5 per minute, or something, anything at all to make this site usable again. |
Beta Was this translation helpful? Give feedback.
-
|
And please don't apply these limits from Github's own IP addresses! I'm seeing these errors in Github Actions from runners that download content as part of CI. So its source IP address is Github and the destination IP address is GitHub. |
Beta Was this translation helpful? Give feedback.
-
|
In order to circumvent this limit, we'll need to start cloning the repos instead of fetching one individual file. How does that save bandwidth? what prevents the scrapers from doing the same? This seems to be harming genuine users a lot. |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
This issue highlights a critical UX flaw: legitimate users are being blocked while scrapers adapt and evade. Rate-limiting unauthenticated access harms countless open-source workflows, CI/CD pipelines, and install scripts that rely on raw.githubusercontent.com and similar endpoints. Encouraging login is one thing, breaking open access is another. GitHub should reconsider this tradeoff: throttle smarter, not harsher. At the very least, exempt GitHub Actions AND self hosted runners!
The current approach undermines trust in the platform's commitment to open source, shame! |
Beta Was this translation helpful? Give feedback.
-
|
Is there any explaining how to avoid 429 and "Failed to resolve action download info. Error: Internal Server Error" errors in github actions? |
Beta Was this translation helpful? Give feedback.
-
|
Dear GitHub Team, While I understand the need to mitigate scraping, the current rate limiting on raw.githubusercontent.com and https://api.github.com/ is disrupting legitimate open-source workflows and automated scripts. A more nuanced approach is required to balance security with open access. Specifically, smarter throttling techniques and exempting GitHub Actions (including self-hosted runners) would greatly alleviate these concerns and reaffirm GitHub's commitment to open source. Thank you for your consideration. |
Beta Was this translation helpful? Give feedback.
-
|
Does anyone know how to actually authenticate to raw.githubusercontent.com? I posted a discussion at https://github.com/orgs/community/discussions/160828 about this. |
Beta Was this translation helpful? Give feedback.
-
|
GitHub releases is now completely useless due to rate limits for me, I have a project with an installer that auto downloads from one of my repos latest releases. Most my users cannot use my project anymore due do being rate limited simply just from downloading the installer and opening it. I'm having to tell them to wait or manually install stuff now, or use a VPN to change IPs and try again. |
Beta Was this translation helpful? Give feedback.
-
|
I'm seeing this issue when searching for a public repository without logging in. I actually am unable to use Github at all, the very first search runs into this "rate limiting". This throttling is essentially making Github useless on the browser for non logged in users. |
Beta Was this translation helpful? Give feedback.
-
|
I also stumbled upon this when searching for a repository via github.com, without being logged in. I literally entered github.com in my URL bar, clicked the search, and entered the name of a repository. Nothing else, no detours. Boom, immediate 429. If a single search is already too much, just removing the search bar would be a simpler solution... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Same here |
Beta Was this translation helpful? Give feedback.
-
|
I wonder how openAI is bypassing this rate limit; |
Beta Was this translation helpful? Give feedback.
-
|
At this point may just move to raw pastebin again, at least one can put their code text there and people can access and copy if they so wish without getting 429 threw on their faces. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
"I'm experiencing an issue when trying to access files from a GitHub repository without logging in. After 3 attempts, I receive an Error 429 (Too Many Requests) and the page fails to load. I've tried accessing different repositories and files, but the issue persists.
Steps to reproduce:
Expected behavior:
The file should load without errors.
Actual behavior:
After the third attempt, an Error 429 occurs, and the page fails to load.
Additional information:


This issue might be related to GitHub's rate limiting policies. However, it would be helpful to have clearer error messages or guidance on how to access files without hitting the rate limit."
Beta Was this translation helpful? Give feedback.
All reactions