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 while accessing rate limit API", FileNotFoundException #132

Closed
andrewpwade opened this issue Mar 27, 2014 · 2 comments
Closed

"Error while accessing rate limit API", FileNotFoundException #132

andrewpwade opened this issue Mar 27, 2014 · 2 comments
Labels

Comments

@andrewpwade
Copy link

Hi,

Plugin version 1.11.2
Jenkins version 1.523
Github enterprise

I'm getting the following error in the jenkins log:

Mar 27, 2014 10:30:22 AM org.jenkinsci.plugins.ghprb.GhprbRepository checkState
SEVERE: Error while accessing rate limit API
java.io.FileNotFoundException: http://xxxxxxx/api/v3/rate_limit
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
    at org.kohsuke.github.Requester.parse(Requester.java:298)
    at org.kohsuke.github.Requester._to(Requester.java:175)
    at org.kohsuke.github.Requester.to(Requester.java:141)
    at org.kohsuke.github.GitHub.getRateLimit(GitHub.java:228)
    at org.jenkinsci.plugins.ghprb.GhprbRepository.checkState(GhprbRepository.java:57)
    at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:77)
    at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:72)
    at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:181)
    at hudson.triggers.Trigger.checkTriggers(Trigger.java:261)
    at hudson.triggers.Trigger$Cron.doRun(Trigger.java:209)
    at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

When I test via cURL it works:

$ curl -u $token:x-oauth-basic http://xxxx/api/v3/rate_limit
{
  "message": "No rate limit for white listed users"
}

Thanks

@alexwhitman
Copy link

Was fixed in #127 but a new release hasn't been published yet.

@valdisrigdon
Copy link
Collaborator

Fixed by #127

DavidTanner added a commit that referenced this issue Jul 10, 2015
Only keep the auth id in the job config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants