Giter Club home page Giter Club logo

Comments (8)

ChrisCarini avatar ChrisCarini commented on June 17, 2024

@glex85 did you intend to close this issue? Did you figure out what happened that you saw this error message?

from intellij-platform-plugin-verifier-action.

glex85 avatar glex85 commented on June 17, 2024

Hello. I think when the 'entrypoint.sh' script called 'https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest',
response was abnormal. ( API call limit exceeded )
Now, the issue was resolved, so I closed it :)

from intellij-platform-plugin-verifier-action.

ChrisCarini avatar ChrisCarini commented on June 17, 2024

@glex85 was this the error you were seeing by chance?

$ > curl -s https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest | jq .
{
  "message": "API rate limit exceeded for 123.456.789.101. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"
}

from intellij-platform-plugin-verifier-action.

glex85 avatar glex85 commented on June 17, 2024

@ChrisCarini Yes, It is. Now It has same issue again :(

from intellij-platform-plugin-verifier-action.

ChrisCarini avatar ChrisCarini commented on June 17, 2024

TL;DR: I suspect this is happening because:

  1. GitHub-hosted runners run in Azure (reference)
  2. Unauthenticated requests to GitHub APIs are limited to 60 requests per hour (reference)
  3. When verifier-version is set to LATEST (the default, if nothing is specified), this GitHub Action makes a single request to https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest to resolve the latest version of the JetBrains intellij-plugin-verifier

Thus, I suspect that if enough repositories are using this GitHub action (and/or, a GitHub-hosted runner is (re)using an IP address in the Azure IP space), it is possible that the GitHub API rate limit is being hit.

Details

This can be confirmed by running the below command:

$ > curl -I --silent https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest | grep x-ratelimit
x-ratelimit-limit: 60
x-ratelimit-remaining: 57
x-ratelimit-reset: 1634814058
x-ratelimit-resource: core
x-ratelimit-used: 3

In PR #28 I have added debug output (which can be enabled in repos by following the "Debugging" instructions) that should show the rate limit count.

from intellij-platform-plugin-verifier-action.

glex85 avatar glex85 commented on June 17, 2024

Thank you for your review.

from intellij-platform-plugin-verifier-action.

ChrisCarini avatar ChrisCarini commented on June 17, 2024

@all-contributors please add @glex85 for bug, userTesting

from intellij-platform-plugin-verifier-action.

allcontributors avatar allcontributors commented on June 17, 2024

@ChrisCarini

I've put up a pull request to add @glex85! 🎉

from intellij-platform-plugin-verifier-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.