java.io.FileNotFoundException: http://mygithubserver.com/api/v3/rate_limit

Jenkins JIRA | Thiago Papageorgiou | 3 years ago
  1. 0

    Github enterprise returns 404 http://mygithubserver.com/api/v3/rate_limit and the body of this request is {"message": "No rate limit for white listed users"}. This is the expected behavior of github since there is no limit for white listed users, so it returns 404 and a friendly message. This link has an exemple of this problem affecting other application: https://github.com/joomla/joomla-framework/issues/280 ghprb doesn't see that way, It raises an exception as follows: Mar 31, 2014 3:39:15 PM SEVERE org.jenkinsci.plugins.ghprb.GhprbRepository checkState Error while accessing rate limit API java.io.FileNotFoundException: http://mygithubserver.com/api/v3/rate_limit at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610) 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:220) 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) ghprb should handle 404 as unlimit in this request, since an user in white list, doesn't have a limit.

    Jenkins JIRA | 3 years ago | Thiago Papageorgiou
    java.io.FileNotFoundException: http://mygithubserver.com/api/v3/rate_limit
  2. 0

    Github enterprise returns 404 http://mygithubserver.com/api/v3/rate_limit and the body of this request is {"message": "No rate limit for white listed users"}. This is the expected behavior of github since there is no limit for white listed users, so it returns 404 and a friendly message. This link has an exemple of this problem affecting other application: https://github.com/joomla/joomla-framework/issues/280 ghprb doesn't see that way, It raises an exception as follows: Mar 31, 2014 3:39:15 PM SEVERE org.jenkinsci.plugins.ghprb.GhprbRepository checkState Error while accessing rate limit API java.io.FileNotFoundException: http://mygithubserver.com/api/v3/rate_limit at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610) 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:220) 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) ghprb should handle 404 as unlimit in this request, since an user in white list, doesn't have a limit.

    Jenkins JIRA | 3 years ago | Thiago Papageorgiou
    java.io.FileNotFoundException: http://mygithubserver.com/api/v3/rate_limit
  3. 0

    "Error while accessing rate limit API", FileNotFoundException

    GitHub | 3 years ago | andrewpwade
    java.io.FileNotFoundException: http://xxxxxxx/api/v3/rate_limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ./gradlew build fails

    GitHub | 3 years ago | jguhlin
    java.io.FileNotFoundException: http://downloads.gradle.org/distributions-snapshots/gradle-1.5-20130302103424+0000-bin.zip
  6. 0

    Java: "java google translate text to speech"

    Stack Overflow | 3 years ago | Amar
    java.io.FileNotFoundException: http://translate.google.com/translate_tts?q=I%20am%20a%20bus&tl=te

  1. tyson925 1 times, last 4 weeks ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    http://mygithubserver.com/api/v3/rate_limit

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610)
    1 frame
  3. org.kohsuke.github
    GitHub.getRateLimit
    1. org.kohsuke.github.Requester.parse(Requester.java:298)
    2. org.kohsuke.github.Requester._to(Requester.java:175)
    3. org.kohsuke.github.Requester.to(Requester.java:141)
    4. org.kohsuke.github.GitHub.getRateLimit(GitHub.java:220)
    4 frames
  4. org.jenkinsci.plugins
    GhprbTrigger.run
    1. org.jenkinsci.plugins.ghprb.GhprbRepository.checkState(GhprbRepository.java:57)
    2. org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:77)
    3. org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:72)
    4. org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:181)
    4 frames
  5. Hudson
    SafeTimerTask.run
    1. hudson.triggers.Trigger.checkTriggers(Trigger.java:261)
    2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:209)
    3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
    3 frames
  6. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames