-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
GitHub Actions - Ratelimiting poping up suddenly after not having affected me before. #2921
Comments
Hello @FxllenCode, Could you please check all information provided and let us know if we need to investigate the issue further? |
Hello @Darleev I've checked everything, (and to be fair I am no expert in GitHub actions,) it seems that the VM being used is Linux, so MacOS should not be the problem. I am not too sure why it just started happening recently, I did not make the requests happen any faster. (It says that all 1000 of the rate limit is being used by the actual number should be around 100...) I do believe this is probably a bug relating to some update in the past couple of weeks as I can't find any reason I would suddenly start getting rate-limited. Thanks! |
@FxllenCode Could you please add a rate limit checker to the workflow as per documentation?
It should return a number of remaining API connections for authenticated users. |
@Darleev unless I misunderstood, this already is here: I know for a fact there have not been 1000 calls of GitHub actions here-- thus why I think this is a problem related to the way GitHub actions is checking rate limits. |
@FxllenCode , on the quick look, it definitely looks like your actions exhaust GH Rate limits. I suggest temporary disabling graph.yml scheduling to see if other actions will work as expected. |
@maxim-lobanov gotcha. I will attempt this and see how it goes, thanks. |
@FxllenCode , Btw, looks like Rate limit is 1000 requests only if you use system token:
If you replace it to your own PAT, rate limit will be 5k requests per hour but you should understand security concern whether you trust actions that you use (upptime/uptime-monitor and others) or you probably can try generating PAT with minimal permissions. |
That's odd. I thought I was using PAT. I'll look into that, as well. EDIT: I was correct, I am using PAT! That might be why I am just now getting rate-limit issues. Is it possible my PAT has expired? |
@FxllenCode , I am not sure that you use own PAT. If you would like to use own PAT, it should be placed in repository secrets to some variable like |
Update: |
The PAT is named As for upptime, I am just following the documentation here: https://upptime.js.org/docs/get-started#add-repository-secrets I just updated my PAT token as according to GitHub it was last used 2 weeks ago, when the problem started. For now, I'll assume the token got expired. (No idea why however). The only reason I assume this isn't an upptime problem and is a GitHub problem is because I have had zero issues for the last 3 months until about 2 weeks ago. It's important to note that PAT may not be expired because a couple of requests go through, not many however. I have also slowed down Graphs CI significantly to once every 24 hours so that may also solve the issue. I just wonder why this issue only popped up recently. |
@FxllenCode ,
|
I'll bring this up with the creator of upptime. Thanks for your help. I'll take a look and see if it fixes on my end, will close this for now as I assume you are correct about this. Thanks again! |
Cool, |
It looks like the official upptime repo is incorrectly calling Thanks! |
|
Description
Over the last week, I have noticed GitHub is consistently rate limiting me whereas this has never happened before. I have not made any changes to the actions workflow. There is not at all anything that should be causing this. You can find my repository that is affected here:
https://github.com/Status-Plus/StatusPlus
This is critical for me, it has completely broken my system as I rely on actions, it is simply disappointing that I am being rate limited now, considering this "rate limit" is clearly undocumented.
Area for Triage:
Deployment/Release
Question, Bug, or Feature?:
Bug.
Virtual environments affected
All.
Expected behavior
GitHub actions should run as it does normally, like it did before.
Actual behavior
I am being rate limited to the point where my systems do not work at all now:
You can see where this starting coming in place:
Here is the error message:
From what I am reading, it says that the issue is related to missing authentication, however I don't see where this may have changed. I will look into that however.
Repro steps
I'm really not sure how I can reproduce this, it just started randomly happening to me. Here is the repo:
https://github.com/Status-Plus/StatusPlus
Thank you.
The text was updated successfully, but these errors were encountered: