Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: github-api-plugin, github-branch-source-plugin
-
Environment:Jenkins 2.32.2 running in Docker with latest plugins from https://jenkins.io/blog/2017/01/17/scm-api-2/
-
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
- is related to
-
JENKINS-48775 Proxy authentication error 407 even if 'check proxy' works
-
- Resolved
-
- links to
Activity
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! |
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! |
Priority | Trivial [ 5 ] | Critical [ 2 ] |
Labels | scm-api-tidy-scrub |
Assignee | Stephen Connolly [ stephenconnolly ] | CloudBees Inc. [ cloudbees ] |
Labels | scm-api-tidy-scrub | scm-api-tidy |
Component/s | branch-api-plugin [ 18621 ] | |
Component/s | github-organization-folder-plugin [ 21427 ] |
Component/s | github-api-plugin [ 17496 ] |
Labels | scm-api-tidy | cloudbees-internal-pipeline scm-api-tidy |
Remote Link | This issue links to "CloudBees Internal OSS-2066 (Web Link)" [ 18434 ] |
Link |
This issue is related to |
Labels | cloudbees-internal-pipeline scm-api-tidy | cloudbees-internal-pipeline scm-api-tidy triaged-2018-11 |
Released As | https://github.com/jenkinsci/github-branch-source-plugin/releases/tag/github-branch-source-2.8.0 | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |