Created
September 13, 2017 20:20
-
-
Save rjernst/692af2ae5c773d6660069bbc724de4aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://jenkins.io/redirect/users-mailing-list">The users list</a> might be also useful in understanding what has happened.</p><h2>Stack trace</h2><pre style="margin:2em; clear:both">java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/user | |
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876) | |
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) | |
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) | |
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) | |
at org.kohsuke.github.Requester.parse(Requester.java:592) | |
Caused: java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/user | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926) | |
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920) | |
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490) | |
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) | |
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) | |
at org.kohsuke.github.Requester.parse(Requester.java:602) | |
Caused: org.kohsuke.github.HttpException: Server returned HTTP response code: 401, message: 'Unauthorized' for URL: https://api.github.com/user | |
at org.kohsuke.github.Requester.parse(Requester.java:622) | |
at org.kohsuke.github.Requester.parse(Requester.java:584) | |
at org.kohsuke.github.Requester._to(Requester.java:264) | |
Caused: org.kohsuke.github.HttpException: {"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"} | |
at org.kohsuke.github.Requester.handleApiError(Requester.java:664) | |
at org.kohsuke.github.Requester._to(Requester.java:285) | |
at org.kohsuke.github.Requester.to(Requester.java:226) | |
at org.kohsuke.github.GitHub.getMyself(GitHub.java:361) | |
at org.kohsuke.github.GitHub.<init>(GitHub.java:153) | |
at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:201) | |
at org.jenkinsci.plugins.GithubAuthenticationToken.getGitHub(GithubAuthenticationToken.java:192) | |
at org.jenkinsci.plugins.GithubAuthenticationToken.<init>(GithubAuthenticationToken.java:118) | |
at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:478) | |
Caused: java.lang.RuntimeException | |
at org.jenkinsci.plugins.GithubSecurityRealm$1.authenticate(GithubSecurityRealm.java:482) | |
at jenkins.security.BasicHeaderRealPasswordAuthenticator.authenticate(BasicHeaderRealPasswordAuthenticator.java:56) | |
at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:78) | |
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) | |
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) | |
at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) | |
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) | |
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) | |
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) | |
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) | |
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) | |
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) | |
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) | |
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) | |
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) | |
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment