Skip to content
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

Maximum retries exceeded" error. #2402

Closed
MustafaAliCetinkaya opened this issue Jan 13, 2023 · 31 comments
Closed

Maximum retries exceeded" error. #2402

MustafaAliCetinkaya opened this issue Jan 13, 2023 · 31 comments
Labels
bug Something isn't working.

Comments

@MustafaAliCetinkaya
Copy link

Describe the bug

Personal access tokens are currently failing, I see the "Maximum retries exceeded" error.

Expected behaviour

No response

Screenshots / Live demo link

No response

Additional context

No response

@MustafaAliCetinkaya MustafaAliCetinkaya added the bug Something isn't working. label Jan 13, 2023
@jimbolimbo3
Copy link

Screenshot 2023-01-13 at 12 38 32
Me too, unfortunately

@DalpatRathore
Copy link
Contributor

Some server PAT limits or depletion causes the known issue, I am facing it too. The best solution, for now, is to deploy on your own instance (see #1471).

@itsmanibharathi
Copy link

image
4
I too have same issue

@anuraghazra
Copy link
Owner

Hi it should resolve within an hour, our PATs are invalidated.

But a better option for would be to deploy github-readme-stats on your own Vercel instance.
https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance

Pros:

  • No downtime
  • Private commits will also be counted

@IamManchanda
Copy link

Hi @anuraghazra ... I have self deployed it (changed maxDuration to 10 too as I am on a Hobby Plan)
=> https://github-readme-stats-ruddy-six.vercel.app

But still getting Maximum retries exceeded error

Harry Manchanda's Github Stats

@fatimakay
Copy link

Facing the same issue

@nathanredblur
Copy link

Me too

@San3-Cod3
Copy link

Still have this issue, and attempting to deploy my own is asking for a phone number for verification which I will not give under any circumstances; don't even have a number attached to my GitHub account either way as far as I know. Very unnecessary asking for this, in my opinion.

@KatarzynaChmielecka
Copy link

and also I'm bug buddy ;)

@ruchernchong
Copy link

Hi @anuraghazra ... I have self deployed it (changed maxDuration to 10 too as I am on a Hobby Plan) => https://github-readme-stats-ruddy-six.vercel.app

But still getting Maximum retries exceeded error

Harry Manchanda's Github Stats

2nd this. I am also facing the same problem with my own hosting.

@Scemist
Copy link

Scemist commented Jan 13, 2023

Hi @anuraghazra ... I have self deployed it (changed maxDuration to 10 too as I am on a Hobby Plan) => https://github-readme-stats-ruddy-six.vercel.app

But still getting Maximum retries exceeded error

Harry Manchanda's Github Stats

Same here, I deployed my own hosting in vercel with the correct PAT_1 env variable with correct token permissions. The problem doesn't look in the host.

@ajfm88
Copy link

ajfm88 commented Jan 13, 2023

The "most used languages" one is back and working as normal, but the github stats one

https://github-readme-stats.vercel.app/api?username=*yourusernamehere*&show_icons=true&theme=transparent

is still not working.

@KatarzynaChmielecka
Copy link

The "most used languages" one is back and working as normal, but the github stats one

https://github-readme-stats.vercel.app/api?username=*yourusernamehere*&show_icons=true&theme=transparent

is still not working.

For me both not working.

@SyafaHadyan
Copy link

SmartSelect_20230114-063516_GitHub.jpg

@SyafaHadyan
Copy link

The "most used languages" one is back and working as normal, but the github stats one

https://github-readme-stats.vercel.app/api?username=*yourusernamehere*&show_icons=true&theme=transparent

is still not working.

Both not working

@SyafaHadyan
Copy link

Working on GitHub Mobile
SmartSelect_20230114-104619_GitHub.jpg

@anuraghazra
Copy link
Owner

anuraghazra commented Jan 14, 2023

Same here, I deployed my own hosting in vercel with the correct PAT_1 env variable with correct token permissions. The problem doesn't look in the host.

@Scemist can you double check on your vercel dashboard that the PAT_1 is marked as "production"?

Here's the docs for adding env:
https://vercel.com/docs/concepts/projects/environment-variables

If it still doesn't work, try deploying it again & bust the cache while hitting the URL by adding a random param like api/?ver=2

@hello-sabira
Copy link

Same problem here too :(

@KatarzynaChmielecka
Copy link

For me work now, but this stats is falsy. It still counts last year :(
image

@claudiotancredi
Copy link

claudiotancredi commented Jan 14, 2023

Hi it should resolve within an hour, our PATs are invalidated.

But a better option for would be to deploy github-readme-stats on your own Vercel instance. https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance

Pros:

  • No downtime
  • Private commits will also be counted

I solved it by deploying my own Vercel instance. In addition to what is already reported here, there are other few things that I did at the end of the process. You should:

  1. Go on the Deployment tab of the Vercel project. Then, under Deployment Status, expand Assigning Domain and copy the Custom Domain;
  2. Go to your profile README.md and be sure to change the url that you use so that it starts with your Custom Domain that you copied in step 1. For me, instead of having https://github-readme-stats.vercel.app it was https://github-readme-stats-ruby-one.vercel.app .

As you can see on my profile README, it appears to be working properly.

@ruchernchong
Copy link

Hi it should resolve within an hour, our PATs are invalidated.
But a better option for would be to deploy github-readme-stats on your own Vercel instance. https://github.com/anuraghazra/github-readme-stats#deploy-on-your-own-vercel-instance
Pros:

  • No downtime
  • Private commits will also be counted

I solved it by deploying my own Vercel instance. In addition to what is already reported here, there are other few things that I did at the end of the process. You should:

  1. Go on the Deployment tab of the Vercel project. Then, under Deployment Status, expand Assigning Domain and copy the Custom Domain;
  2. Go to your profile README.md and be sure to change the url that you use so that it starts with your Custom Domain that you copied in step 1. For me, instead of having https://github-readme-stats.vercel.app it was https://github-readme-stats-ruby-one.vercel.app .

As you can see on my profile README, it appears to be working properly.

This is working for me.

@ghost
Copy link

ghost commented Jan 15, 2023

Is there any way this can be fixed without deploying yourself on Vercel?

Will this issue keep happening, or is it a bug that can be fixed by the maintainers?

@SyafaHadyan
Copy link

SyafaHadyan commented Jan 15, 2023

Is there any way this can be fixed without deploying yourself on Vercel?

Will this issue keep happening, or is it a bug that can be fixed by the maintainers?

I deployed on Vercel for free, fork the repo, change the max duration in vercel.json from 30 to 10 and make PAT(Classic).

Or you can see the instructions Here

@RedHeadphone
Copy link
Contributor

Deploying own Vercel works for few hours then again Maximum retries exceeded error is returned from the API, my guess is that github has updated some limitation on usage of PAT

@ghost
Copy link

ghost commented Jan 15, 2023

@RedHeadphone - So you have to continuously redeploy after the PAT limit is reached?

@RedHeadphone
Copy link
Contributor

that did make the API work for first time, but now even after updating PAT with new one, still old error is returned Maximum retries exceeded

@RedHeadphone
Copy link
Contributor

I created a new project in vercel using same PAT which was giving me Maximum retries exceeded, the new vercel project seems to be working. I am not sure but I think this issue might lie with vercel.

@mojixcoder
Copy link

I'm having this problem too.

@rickstaa
Copy link
Collaborator

Duplicate of ##1471.

@ukaemma2
Copy link

I RESOLVED IT WITH NEWER VERSION >>> Anurag's GitHub stats

@mk3709
Copy link

mk3709 commented Mar 21, 2023

Maximum retries exceeded Please add an env variable called PAT_1 with your github token in vercel what should be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests