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

[error] API rate limit exceeded for 199.7.166.17. #6

Closed
huan opened this issue Apr 20, 2020 · 4 comments
Closed

[error] API rate limit exceeded for 199.7.166.17. #6

huan opened this issue Apr 20, 2020 · 4 comments

Comments

@huan
Copy link

huan commented Apr 20, 2020

Run arduino/setup-protoc@master
  with:
    version: 3.x
    include-pre-releases: false
  env:
    GOROOT: /Users/runner/hostedtoolcache/go/1.14.2/x64
##[error]API rate limit exceeded for 199.7.166.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

It happens in my GitHub Actions at https://github.com/Chatie/grpc/runs/602856184?check_suite_focus=true#step:5:7

@per1234
Copy link
Contributor

per1234 commented Apr 21, 2020

You can avoid this by providing a personal access token to the action via the repo-token input. GitHub Actions automatically generates a token, which is accessible via the GITHUB_TOKEN secret.

So you only need to change your "Install Protoc" step to:

    - name: Install Protoc
      uses: arduino/setup-protoc@master
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}

huan added a commit to wechaty/grpc that referenced this issue Apr 21, 2020
@huan
Copy link
Author

huan commented Apr 21, 2020

Thank you very much for your reply! I'm trying with your solution now.

However, I'm curious that my other workflows work without any problem with your action. Only the Node.js run into this issue.

@huan
Copy link
Author

huan commented Apr 21, 2020

Your solution works like a charm! I appreciate for your help, and thank you very much for your great Protoc GitHub Action!

@huan huan closed this as completed Apr 21, 2020
jonmmease added a commit to vega/vegafusion that referenced this issue Aug 5, 2022
andrasbeni pushed a commit to streamnative/oxia that referenced this issue Jan 7, 2023
The action `arduino/setup-protoc@v1` is failing very often in PR
validations for rate limiting (eg:
https://github.com/streamnative/oxia/actions/runs/3856618954/jobs/6573044493).

We need to pass the repo token to avoid the rate limiting. ref:
arduino/setup-protoc#6
wenchy added a commit to tableauio/tableau that referenced this issue Jan 9, 2023
huieric pushed a commit to tableauio/tableau that referenced this issue Jan 10, 2023
* feat(protogen): generate incell-map with key/value as enum type

* feat(confgen): add support for incell-map with key/value as enum type and close issue #27

* fix(workflow): API rate limit exceeded, refer arduino/setup-protoc#6

* feat: add unittest.proto

* test(protogen): add unittest cases
HarryET added a commit to WalletConnect/push-server that referenced this issue Jun 20, 2023
see arduino/setup-protoc#6 for the `repo-token` fix
@ace155
Copy link

ace155 commented Aug 14, 2024

You can avoid this by providing a personal access token to the action via the repo-token input. GitHub Actions automatically generates a token, which is accessible via the GITHUB_TOKEN secret.

So you only need to change your "Install Protoc" step to:

    - name: Install Protoc
      uses: arduino/setup-protoc@master
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}

thx for showing this, what permission do you need on the token

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

No branches or pull requests

3 participants