github-readme-stats: How to solve "Maximum retries exceeded"

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.)

image

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!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 75
  • Comments: 38 (5 by maintainers)

Commits related to this issue

Most upvoted comments

https://github-readme-stats.zohan.tech (by Zo-Bro-23)

@PencilNavigator thanks for opening the issue and recommending potential solutions.

As easy it is to use URLs provided by the community members, I will still strongly recommend just deploying it on your own Vercel instance (it’s easy, fast & better) using your own PAT.

The issue with using someone else’s URL is:

  1. If many people use the same URL it will again hit the limits
    • Either their Vercel instance will hit the limit in that case the person’s account might get charged extra or blocked
    • Or their own GitHub PAT might get exhausted which is same as the issue happening to us
  2. If you use some other URL you won’t get the bug fixes or updates to the stats card, and have to wait for them to update their fork & deploy again to get the changes. (But if you have your own fork you can do this on your own)

Thank you, this solved the problem for me.

@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. Anyway, thank you for your personal URL, but I think I’ll look for another solution!

Having a single deployment is much easier to work with, and @anuraghazra also has Vercel Pro 🚀

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

@PencilNavigator

Using a URL provided by others is way easier for most users, and thats the exact reason why the main https://github-readme-stats.vercel.app/ failed (Too many people are using it).

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. Not to mention, personal deployed instance will have the best stability.

but I think I’ll look for another solution!

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 https://github.com/anuraghazra/github-readme-stats/issues/2179). This will lead to more accurate stats and better loading times and allows people to update the cards at any frequency they like. 🚀

image

I agree; 300 is a lot 😟

I can’t include stats in my profile README because most of the people think that it’s easier to use my personal URL

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)!

The usefulness of #2415 is the number of community URLs it lists. People find it much easier to choose one URL to use than to deploy and set it up themselves. Maybe consider replacing #1471 with #2415 for the pin; it’s fine either way, though.

I see. I can add those URLs to the comment by @anuraghazra in #1471. I, however, think these personal instances will likely be quickly overloaded due to the popularity of this repository. 😅 I think the only way forward is to make it easier for people to deploy their own Vercel instance (i.e. https://github.com/anuraghazra/github-readme-stats/pull/2424) or to implement #2179.

https://readme-stats.clckblog.space/ by @CLCK0622 (Kevin Zhong)