UpdateCenter stuck at preparation phase when jenkins server is behind GFW

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: core
    • Environment:
      MacOS X Mavericks;
      jenkins Mac installation package;
      Server is in PR. China without any proxies. Google.com cannot accessed due to GFW blocking

      Try to install a plugin in PluginManager; click "Install and restart".
      in UpdateCenter, screen stuck at "Preparation Checking internet connectivity".

      No logs printed out in `var/log/jenkins/jenkins.log`

      This bug is caused by method `getConnectionCheckUrl` using url "google.com" to check connectivity.
      https://github.com/jenkinsci/jenkins/blob/afd8da49901775900a80eb2b2a9746b01156b0ba/core/src/main/java/hudson/model/UpdateCenter.java#L841

      ------- update:
      I just built jenkins.war replaced the google.com with another url. But It still not work.

      I got these warnings, and the log is the same when using 'google.com' url. So it may not be the url problem.

      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Adding dependent install of ssh-credentials for plugin git
      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Adding dependent install of credentials for plugin ssh-credentials
      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Adding dependent install of git-client for plugin git
      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Dependent install of ssh-credentials for plugin git-client already added, skipping
      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Adding dependent install of scm-api for plugin git
      δΈƒζœˆ 02, 2014 7:49:14 δΈ‹εˆ hudson.model.UpdateSite$Plugin deploy
      θ­¦ε‘Š: Dependent install of credentials for plugin git already added, skipping

            Assignee:
            Unassigned
            Reporter:
            Sean Wang
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: