Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.

Solutions on the web

via Jenkins JIRA by Andrew Bayer, 1 year ago
Server returned HTTP response code: 401 for URL: https://api.github.com/orgs/abayer
via Jenkins JIRA by Andrew Bayer, 1 year ago
Server returned HTTP response code: 401 for URL: https://api.github.com/orgs/abayer
java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.github.com/orgs/abayer	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)	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:454)	at org.kohsuke.github.Requester._to(Requester.java:227)	at org.kohsuke.github.Requester.to(Requester.java:194)	at org.kohsuke.github.GitHub.getOrganization(GitHub.java:310)	at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:130)	at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:124)	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:151)	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:106)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:408)