"Error 429: Too Many Requests When Accessing Repository Files Without Login" #159123
Replies: 36 comments 43 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.
-
|
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.
-
|
I’m seeing the same “temporary” 429 that somehow lasts 24+ hours and only affects logged-out |
Beta Was this translation helpful? Give feedback.
-
|
Me too, I'm the only one looking at GitHub at home.
|
Beta Was this translation helpful? Give feedback.
-
|
Why is it
https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/ — |
Beta Was this translation helpful? Give feedback.
-
|
Stupid question: couldn't they just block Microsoft IPs? Couldn't they also make it against the EULA (to train an AI off the site)? Also, send them, Microsoft or whoever, a bill just for the bandwidth used (not legally extending to the value of the stolen data). |
Beta Was this translation helpful? Give feedback.
-
|
Hello, The behavior you’re experiencing is expected and is related to GitHub’s rate limiting for unauthenticated users. When you access repositories without logging in, GitHub applies stricter limits on the number of requests that can be made within a short period of time. After exceeding that threshold, an HTTP 429 (Too Many Requests) response is returned temporarily. This is why the issue appears after a few repeated file views and persists across different repositories — it is tied to your session/IP rather than a specific project. How to resolve or avoid this: You’re correct that the current error message provides limited guidance. Improving user-facing messaging for rate limit scenarios would help clarify what’s happening and how to proceed. In summary, this is not a bug in repository access but a result of GitHub’s rate limiting policy for unauthenticated usage. Straight truth: |
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