Details

    • Similar Issues:

      Description

      I am using Jenkins using the Organization Folders plugin (latest version). I am able to do everything correctly when not using my corporate proxy on an open access point, so it shouldn't be a configuration problem, but I can't manage to make it work when going through the proxy. I traced down the problem to (I think) this plugin (I am not well versed in Java).

      I get the following error when trying to scan my organization:

      [Thu Feb 16 08:00:09 UTC 2017] Starting organization scan...
      [Thu Feb 16 08:00:09 UTC 2017] Updating actions...
      Looking up details of *****...
      It seems https://api.github.com is unreachable
      [Thu Feb 16 08:00:19 UTC 2017] Consulting GitHub Organization
      ERROR: [Thu Feb 16 08:00:29 UTC 2017] Could not fetch sources from navigator org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator@4cfaa276
      hudson.AbortException: It seems https://api.github.com is unreachable
      	at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:268)
      	at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
      	at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
      	at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
      	at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:404)
      [Thu Feb 16 08:00:29 UTC 2017] Finished organization scan. Scan took 20 sec
      FATAL: It seems https://api.github.com is unreachable
      Finished: FAILURE
      

      I am almost certain that the proxy is correctly setup in Jenkins, Docker and host machine, as I can download plugins, make git checkouts and access https://api.github.com in the proxy validation test. I set -Djavax.net.debug=all for the container and while I can see a full trace when validating the proxy in Jenkins, I can only see the initialization of the SSL certificates truststore (just the first time) and then silence when https://api.github.com is accessed during the organization scan process.

      Any help would be welcomed. Thanks!

        Attachments

          Issue Links

            Activity

            gnoain Guillermo Noain created issue -
            gnoain Guillermo Noain made changes -
            Field Original Value New Value
            Description I am using Jenkins using the Organization Folders plugin (latest version). I am able to do everything correctly when not using my corporate proxy on an open access point, so it shouldn't be a configuration problem, but I can't manage to make it work when going through the proxy. I traced down the problem to (I think) this plugin (I am not well versed in Java).

            I get the following error when trying to scan my organization:
            {quote}[Thu Feb 16 08:00:09 UTC 2017] Starting organization scan...
            [Thu Feb 16 08:00:09 UTC 2017] Updating actions...
            Looking up details of *****...
            It seems https://api.github.com is unreachable
            [Thu Feb 16 08:00:19 UTC 2017] Consulting GitHub Organization
            ERROR: [Thu Feb 16 08:00:29 UTC 2017] Could not fetch sources from navigator org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator@4cfaa276
            hudson.AbortException: It seems https://api.github.com is unreachable
            at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:268)
            at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Thu Feb 16 08:00:29 UTC 2017] Finished organization scan. Scan took 20 sec
            FATAL: It seems https://api.github.com is unreachable
            Finished: FAILURE{quote}

            I am almost certain that the proxy is correctly setup in Jenkins, Docker and host machine, as I can download plugins, make git checkouts and access https://api.github.com in the proxy validation test. I set -Djavax.net.debug=all for the container and while I can see a full trace when validating the proxy in Jenkins, I can only see the initialization of the SSL certificates truststore (just the first time) and then silence when https://api.github.com is accessed.

            Any help would be welcomed. Thanks!

            I am using Jenkins using the Organization Folders plugin (latest version). I am able to do everything correctly when not using my corporate proxy on an open access point, so it shouldn't be a configuration problem, but I can't manage to make it work when going through the proxy. I traced down the problem to (I think) this plugin (I am not well versed in Java).

            I get the following error when trying to scan my organization:
            {quote}[Thu Feb 16 08:00:09 UTC 2017] Starting organization scan...
            [Thu Feb 16 08:00:09 UTC 2017] Updating actions...
            Looking up details of *****...
            It seems https://api.github.com is unreachable
            [Thu Feb 16 08:00:19 UTC 2017] Consulting GitHub Organization
            ERROR: [Thu Feb 16 08:00:29 UTC 2017] Could not fetch sources from navigator org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator@4cfaa276
            hudson.AbortException: It seems https://api.github.com is unreachable
            at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:268)
            at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Thu Feb 16 08:00:29 UTC 2017] Finished organization scan. Scan took 20 sec
            FATAL: It seems https://api.github.com is unreachable
            Finished: FAILURE{quote}

            I am almost certain that the proxy is correctly setup in Jenkins, Docker and host machine, as I can download plugins, make git checkouts and access https://api.github.com in the proxy validation test. I set -Djavax.net.debug=all for the container and while I can see a full trace when validating the proxy in Jenkins, I can only see the initialization of the SSL certificates truststore (just the first time) and then silence when https://api.github.com is accessed during the organization scan process.

            Any help would be welcomed. Thanks!

            gnoain Guillermo Noain made changes -
            Description I am using Jenkins using the Organization Folders plugin (latest version). I am able to do everything correctly when not using my corporate proxy on an open access point, so it shouldn't be a configuration problem, but I can't manage to make it work when going through the proxy. I traced down the problem to (I think) this plugin (I am not well versed in Java).

            I get the following error when trying to scan my organization:
            {quote}[Thu Feb 16 08:00:09 UTC 2017] Starting organization scan...
            [Thu Feb 16 08:00:09 UTC 2017] Updating actions...
            Looking up details of *****...
            It seems https://api.github.com is unreachable
            [Thu Feb 16 08:00:19 UTC 2017] Consulting GitHub Organization
            ERROR: [Thu Feb 16 08:00:29 UTC 2017] Could not fetch sources from navigator org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator@4cfaa276
            hudson.AbortException: It seems https://api.github.com is unreachable
            at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:268)
            at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Thu Feb 16 08:00:29 UTC 2017] Finished organization scan. Scan took 20 sec
            FATAL: It seems https://api.github.com is unreachable
            Finished: FAILURE{quote}

            I am almost certain that the proxy is correctly setup in Jenkins, Docker and host machine, as I can download plugins, make git checkouts and access https://api.github.com in the proxy validation test. I set -Djavax.net.debug=all for the container and while I can see a full trace when validating the proxy in Jenkins, I can only see the initialization of the SSL certificates truststore (just the first time) and then silence when https://api.github.com is accessed during the organization scan process.

            Any help would be welcomed. Thanks!

            I am using Jenkins using the Organization Folders plugin (latest version). I am able to do everything correctly when not using my corporate proxy on an open access point, so it shouldn't be a configuration problem, but I can't manage to make it work when going through the proxy. I traced down the problem to (I think) this plugin (I am not well versed in Java).

            I get the following error when trying to scan my organization:

            {code:java}
            [Thu Feb 16 08:00:09 UTC 2017] Starting organization scan...
            [Thu Feb 16 08:00:09 UTC 2017] Updating actions...
            Looking up details of *****...
            It seems https://api.github.com is unreachable
            [Thu Feb 16 08:00:19 UTC 2017] Consulting GitHub Organization
            ERROR: [Thu Feb 16 08:00:29 UTC 2017] Could not fetch sources from navigator org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator@4cfaa276
            hudson.AbortException: It seems https://api.github.com is unreachable
            at org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator.visitSources(GitHubSCMNavigator.java:268)
            at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
            at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
            at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
            at jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:404)
            [Thu Feb 16 08:00:29 UTC 2017] Finished organization scan. Scan took 20 sec
            FATAL: It seems https://api.github.com is unreachable
            Finished: FAILURE
            {code}


            I am almost certain that the proxy is correctly setup in Jenkins, Docker and host machine, as I can download plugins, make git checkouts and access https://api.github.com in the proxy validation test. I set -Djavax.net.debug=all for the container and while I can see a full trace when validating the proxy in Jenkins, I can only see the initialization of the SSL certificates truststore (just the first time) and then silence when https://api.github.com is accessed during the organization scan process.

            Any help would be welcomed. Thanks!

            recampbell Ryan Campbell made changes -
            Priority Trivial [ 5 ] Critical [ 2 ]
            stephenconnolly Stephen Connolly made changes -
            Labels scm-api-tidy-scrub
            stephenconnolly Stephen Connolly made changes -
            Assignee Stephen Connolly [ stephenconnolly ] CloudBees Inc. [ cloudbees ]
            stephenconnolly Stephen Connolly made changes -
            Labels scm-api-tidy-scrub scm-api-tidy
            stephenconnolly Stephen Connolly made changes -
            Component/s branch-api-plugin [ 18621 ]
            Component/s github-organization-folder-plugin [ 21427 ]
            gnoain Guillermo Noain made changes -
            Component/s github-api-plugin [ 17496 ]
            jamesdumay James Dumay made changes -
            Labels scm-api-tidy cloudbees-internal-pipeline scm-api-tidy
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2066 (Web Link)" [ 18434 ]
            stephenconnolly Stephen Connolly made changes -
            Link This issue is related to JENKINS-48775 [ JENKINS-48775 ]
            vivek Vivek Pandey made changes -
            Labels cloudbees-internal-pipeline scm-api-tidy cloudbees-internal-pipeline scm-api-tidy triaged-2018-11

              People

              • Assignee:
                cloudbees CloudBees Inc.
                Reporter:
                gnoain Guillermo Noain
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: