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

GCP rate limit #427

Closed
GregoireW opened this issue Jul 16, 2024 · 7 comments
Closed

GCP rate limit #427

GregoireW opened this issue Jul 16, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@GregoireW
Copy link
Contributor

TL;DR

More like a discussion than an issue, but I ask here.
I got a "[Security Token Service] The request was throttled due to rate limit. Please retry after a few seconds." error using this auth action.

My question would be:

  • what is the rate limit ? (seems like 100 call per second but ... I'm not sure it is on a documentation somewhere, so if someone knows... ) I guess it is a global rate limit and we cannot modify it per project basis ?
  • In my case, there is a spike in the number of call on the pool, and I would like to drill down what the culprit. I think to remember a discussion about workload identity logs, but I don't find it and I don't really remember the conclusion (at one point it was question that iam api are not project bound so it is hard to get logs, but I really don't remember...) If someone can help ...

Thank you.

Detailed design

No response

Additional information

No response

@GregoireW GregoireW added the enhancement New feature or request label Jul 16, 2024
Copy link

Hi there @GregoireW 👋!

Thank you for opening an issue. Our team will triage this as soon as we can. Please take a moment to review the troubleshooting steps which lists common error messages and their resolution steps.

@sethvargo
Copy link
Member

@sethvargo sethvargo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
@GregoireW
Copy link
Contributor Author

..... Why did I never find what I need when I need ? ..... Thank you !!

And to sump up ... yep, in my situation exchange token requests is pretty high sometime

and as it is a spike from time to time, the api is really low and do not show if you don't watch exactly when this occurs. Anyway I found the service, asked to increase the quota and that all. Again, Thank you.

@sethvargo
Copy link
Member

@GregoireW what are you doing that results in so many sts requests?

@GregoireW
Copy link
Contributor Author

@sethvargo If I could analyses the request ( the id_token subject for instance) it would be easy to answer :D but basically, we don't want json file credentials, we have a lot of repository, and so a lot of github action are executed .

In this particular pool, we have request to get some artifact from artifact registry and we also have a gcs to receive build report/flle ( detailled test report, front end test may post video // report with screenshot when error .... ) exposed internally to the developpers ...
To make this worst, There is a particular (legacy) repository that have multiple workflows when a change is done on a PR (don't ask why, I will start to cry ) and that have a lot of open PR (there is a lot of open feature).... When a sync is done on those PR, 100s of job are run... My guess is this is the reason ...But even if I got some spike on workflow job it is hard to link those with the spike on the GCP api.

@sethvargo
Copy link
Member

Can you limit the concurrency of these jobs?

@GregoireW
Copy link
Contributor Author

As long as I can do without this I will I guess. I asked to increase the quota, the validation has go through so now I should not be bothered by that ... As the repo should decrease in activity (well it is not my application, but the path to migrate to another solution exist) I hope in the future this would not happens for this reason.
On the other hand, if this happens because a solution is used on all our repo, then it is a good thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants