-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.11.2
Howdy,
Yesterday afternoon I upgraded my Jenkins CI server including installing the newest plugging versions. After upgrading to GitHub pull request builder plugin to version 1.11.2, the feature stopped working. With some investigating, I noticed all my configuration for the plugin had been reverted back to the default settings and there was no longer an access token. When attempting to generate a new access key, an error was thrown. Here is the error from the system log:
```
Apr 23, 2014 10:20:47 AM SEVERE org.jenkinsci.plugins.ghprb.GhprbRepository checkState
Error while accessing rate limit API
java.io.IOException:
at org.kohsuke.github.Requester.handleApiError(Requester.java:342)
at org.kohsuke.github.Requester._to(Requester.java:177)
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:258)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:206)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/rate_limit
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.kohsuke.github.Requester.parse(Requester.java:298)
at org.kohsuke.github.Requester._to(Requester.java:175)
```
Any idea what is going on here? Didn't recall seeing any similar open issues. I will attempt to downgrade in the time being.