Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40875

Obtuse error given for when credential is invalid

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I used Github Branch source 2.0-beta1 and received this obtuse error because my credential was invalid when I started branch indexing.

      Started by user admin istrator
      [Fri Jan 06 21:11:29 AEDT 2017] Starting branch indexing...
      [Fri Jan 06 21:11:30 AEDT 2017] Finished branch indexing. Indexing took 1 sec
      FATAL: Failed to recompute children of App Store
      java.io.FileNotFoundException: https://api.github.com/repos/i386/app-store-demo
      	at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243)
      	at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
      	at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)
      	at org.kohsuke.github.Requester.parse(Requester.java:535)
      	at org.kohsuke.github.Requester._to(Requester.java:262)
      	at org.kohsuke.github.Requester.to(Requester.java:224)
      	at org.kohsuke.github.GitHub.getRepository(GitHub.java:369)
      	at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieveActions(GitHubSCMSource.java:967)
      	at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:689)
      	at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:440)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:187)
      	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:137)
      	at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:786)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Again thank you will go a long way to help the uninitiated figure out how to diagnose their setups

            Show
            jamesdumay James Dumay added a comment - Again thank you will go a long way to help the uninitiated figure out how to diagnose their setups
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            http://jenkins-ci.org/commit/github-branch-source-plugin/fa3c8e7a6811be043bd0da4e2ee7300b631abec0
            Log:
            [FIXED JENKINS-40875] Catch and diagnose permissions issues

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java http://jenkins-ci.org/commit/github-branch-source-plugin/fa3c8e7a6811be043bd0da4e2ee7300b631abec0 Log: [FIXED JENKINS-40875] Catch and diagnose permissions issues

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                jamesdumay James Dumay
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: