Skip to content

Maximum retries exceeded #74

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
klaasnicolaas opened this issue Jul 15, 2020 · 10 comments
Closed

Maximum retries exceeded #74

klaasnicolaas opened this issue Jul 15, 2020 · 10 comments

Comments

@klaasnicolaas
Copy link

I've tried to set up a deploy in Vercel myself, but immediately from the first moment that I want to request the data via my own url, I receive an error message: "Maximum retries exceeded".

Impossible that I could have exceeded my limits right away.

Link that I use: https://github-readme-stats-beryl.vercel.app/api?username=klaasnicolaas&show_icons=true&title_color=fff&icon_color=79ff97&text_color=9f9f9f&bg_color=151515

@anuraghazra
Copy link
Owner

anuraghazra commented Jul 16, 2020

@klaasnicolaas make sure you have a environment variable called PAT_1.

And it's not your API limit, it's the retries limit of fallback api keys

@rahulrachh
Copy link

rahulrachh commented Jul 16, 2020

Could you add to the readme file how to do that? Also What would be the value of this environment variable?

@anuraghazra
Copy link
Owner

Yes actually sorry the readme's guide is outdated after #58 i'll update it :D

@rahulrachh
Copy link

I am still confused @anuraghazra. do we have to put our GitHub generated token in variable PAT_1 instead of GITHUB_TOKEN variable?

@anuraghazra
Copy link
Owner

Yes.... just delete the GITHUB_TOKEN variable, and instead add a token named "PAT_1"

@klaasnicolaas
Copy link
Author

I changed the variable, it just doesn't change anything. Maybe because I need to update the fork after all today's merges?

@anuraghazra
Copy link
Owner

Update your fork, and redeploy. and make sure that you have the tokens in vercel's env variable section.

Use PullBot to automatically update your forks, https://probot.github.io/apps/pull/

@klaasnicolaas
Copy link
Author

Awesome! I got it working 😄

Thanks, by the way, for the pull probot app tip, which is super handy than that I always have to manually update everything.

@rahulrachh
Copy link

@anuraghazra it is working 😄 . Yeah, thanks by the way for the pull bot.

@anuraghazra
Copy link
Owner

Hi @klaasnicolaas i hope your issue is solved, closing this now. feel free to open another one if you have any other queries :D Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants