-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
How to solve "Maximum retries exceeded" #2415
Comments
Thank you, this solved the problem for me. |
Thanks |
Thank you. |
|
thanks for providing 2 different options. |
change github-readme-stats URL for "Maximum retries exceeded" issues :anuraghazra/github-readme-stats#2415 (reference)
Thanks @PencilNavigator, Method 2 worked! |
|
Change `https://github-readme-stats.vercel.app` to `https://github-readme-stats-ruby-one.vercel.app` (following [This issue](anuraghazra/github-readme-stats#2415))
@PencilNavigator thanks for opening the issue and recommending potential solutions. As easy it is to use URLs provided by the community members, The issue with using someone else's URL is:
|
@anuraghazra I did mention that in ”method 1". But i think not everyone wants to setup their own vercel instance. |
I think this is really a good way for helping others as well as solving this problem permanently. |
@anuraghazra Your own profile's README stats is down. |
Readme stats issue: anuraghazra/github-readme-stats#2415 Also added thanks & refs to Anura & Rick.
Readme stats issue: anuraghazra/github-readme-stats#2415 Also added refs to Anurag's and Rick's work.
@rickstaa can you please pin this issue? I keep having to reference it when answering similar issues :) |
As GitHub only allows three pins, I currently do not have a way to pin it. I already pined #1471, which is meant for this problem. People, however, keep making their own issues without looking at the pins 😅. |
Duplicate of ##1471. |
See: anuraghazra/github-readme-stats#2415 and then in the future I may improve this by using my own URL: https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance
I shared my personal URL in the attempt of encouraging others to deploy their own Vercel instance, not to encourage others to use mine. Since many people have started using my URL I decided to delete the Vercel instance and delete the profile README from my GitHub profile. The URL can be deleted from @PencilNavigator 's list as well, since it has no active deployment. |
I agree; 300 is a lot 😟
You can always deploy again (and not share the URL with anyone), or use someone else's URL (feel free to use mine: https://github-readme-stats.zohan.tech)! |
@Zo-Bro-23 I could, but my profile is pretty easy to reach, especially after I've commented on several issues regarding this topic, so the new URL could be stolen too. |
I had the same problem but created a new branch and ran my own cards. 👍 Anyway, we are looking to improve the GRS deployment by implementing it as a GitHub action (see #2179). This will lead to more accurate stats and better loading times and allows people to update the cards at any frequency they like. 🚀 |
People may still find it easier to use a given URL than set up an action, so we will have to come up with some creative solutions. Having multiple PATs is probably the best solution, but we have to figure out why they're getting banned by GitHub (maybe we should use real emails instead of anonymous ones). |
Yes that sucks, I've asked people in multiple issues to not use anyone's personal Vercel instance (because of obvious reasons) and instead deploy on their own.
|
yes agree, but the problem is the URLs provided by others won't have multiple PATs (thus only 5k API Limit) + No Vercel Pro. So these URLs are more susceptible to downtime. While github-readme-stats's instance have more tolerance, yes it might go down but it will go backup after 1h or so. |
Now here's the interesting part. Yes github-action will be a much accurate & stable solution. Now take this scenario, GithubAction setup will be 2x more cumbersome than just pasting a link in your readme. 😅 so it will be hard to convince people to migrate to the action. |
I agree that using a simple URL to generate the cards is easiest for most people. 🚀 I, however, am afraid we will get even more downtime if we grow even more. I was therefore looking to persuade people to use a different option since people are not using their own Vercel instance. 😁 My hope was that 40% more tech-savvy (or less lazy) users would switch to a GitHub action or the Private Vercel instance if it offered less downtime (and more accurate stats). In that case, we can use environment variables to enable these more accurate stats on the GitHub action (see #2159 for an example). But maybe this is just wishful thinking. 😅
If deployed on the marketplace (see #2179 (comment)), setting GRS up with this action would essentially be four easy steps:
|
@anuraghazra With enough vercel instances in my repository, i can create a service that equally spreads the request to all links provided (load balancing for short). The github-readme-stats URL shouldn't even be provided by you, it should be a community thing to do. One-man's power is always not enough. Groups of people has better power. |
anuraghazra/github-readme-stats#2415 had an issue had to replace the default API to use
We've just deployed 9 PATs. We'll see how the loads hold. Hopefully this should work fine, so we don't need to have multiple deployments. Having a single deployment is much easier to work with, and @anuraghazra also has Vercel Pro 🚀 |
@rickstaa an Action could potentially be easier than Vercel deployment!
We can simplify this even further.
As far as I know, you don't need to provide PAT tokens (unlike Vercel) since GitHub already passes these through the |
@Zo-Bro-23 good point. For the action when people don't want to show private data, no PAT is needed. 👍🏻 |
Yeah Vercel isn't the bottleneck, we can still handle 8-10mil request per month. GitHub's PATs are the bottleneck which we already have 9 of them. So instead of using multiple Vercel instance it's 10x effective to add more PATs |
Thank you very much, it helped me a lot |
Worked! Thank you a lot! S2 |
What I do not understand is why do you need a PAT in the first place, if anyone can use your instance ? PS: I hit this error, with my own instance, so it's the others fault.
I am not an expert, but is not a way to replace the vercel app by turning this repo into a github action ?
Well, when some people use your own instance, I think this is the best choice.
it would be so much cool, if you can make the image link can be put in an context expression like |
@Cristishor201, I appreciate your valuable feedback and have some clarifications to address your questions:
The PAT is needed because the GitHub rate limited the GraphQL and REST APIs from which the data for the cards is retrieved (see https://docs.github.com/en/graphql/overview/resource-limitations and https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28). To my knowledge, GitHub's markdown parser doesn't support dynamic content like substitution variables (see https://stackoverflow.com/a/62293645/8135687). GitHub actions are the only way to alter markdown files and inject secrets dynamically.
We are in the process of releasing such a GitHub action. Please follow #2179.
My instance will also be rate-limited, sadly 😅.
I prefer to release a GRS action in a separate readme since this would prevent clustering the already long README and result in a more straightforward setup. I am already testing and using the action in https://github.com/rickstaa/rickstaa/blob/main/.github/workflows/grs.yml. I would like to release it before the end of the year 🚀. We can, however, add these steps to #2179 so that people can already use the action. However, please be aware that #2473 has te be solved for these steps to work.
As stated above this currently is not possible (see https://stackoverflow.com/a/62293645/8135687). Thank you for your patience and feedback as we continue improving the GitHub Readme Stats user experience. If you have any more questions or suggestions, please feel free to share them. 🚀 |
As you may see, demo service "https://github-readme-stats.vercel.app" is hitting the API Limit. Causing your stats not displaying.
(even if it's not, if too many users are using the default demo service it will happen again.)
How to Fix?
Well, there are 2 methods.
1. Set it up yourself using Vercel (requires some step)
2. Use URL provided by others (sometimes unreliable but easy to do)
Method 1
please check the docs, there are specific instructions for setting up.
Method 2 (Works for me)
Change
https://github-readme-stats.vercel.app
to another URL provided below.here are some you can use. (These links are collected from the web)
https://github.com/PencilNavigator/readme-stats-URL/
How can i help?
Its easy! Follow the docs where there are specific instructions for setting up, and then share your Vercel URL by making an Issue Here.
If you like this post, please give a Thumbs up and a Heart below, and also star my link repository!
The text was updated successfully, but these errors were encountered: