Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1074

problem with plugin download mirror ftp.tsukuba.wide.ad.jp

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      (sorry if this isn't in the right component)

      I've been having persistent problem with one of the download mirrors. When trying to install plugins, many of them fail due to inconsistent file size. See the attached log.

      The problem is with one specific mirror in Japan, and it is my misfortune to always be redirected to this specific mirror, which means I basically cannot install most plugins. I can only work around this by searching for other mirrors, and installing the hpi manually, and not through the update center.

      Two problems then:

      1. This mirror is highly unreliable. It's been manifesting these problems for a few weeks now. Not sure why it passes the automated mirror checks - do they test file sizes?
      2. When the update center fails with one mirror, it should probably try with others. Were this the policy, this problem would not have debilitated me so much.

        Attachments

          Activity

          Hide
          cloudshare Assaf Lavie added a comment - - edited

          Example log error:

          Feb 19, 2017 8:03:57 AM hudson.model.UpdateCenter$DownloadJob run
          SEVERE: Failed to install Pipeline: Groovy
          hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/workflow-cps/2.27/workflow-cps.hpi (redirected to: http://ftp.tsukuba.wide.ad.jp/software/jenkins/plugins/workflow-cps/2.27/workflow-cps.hpi)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172)
          at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1678)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1876)
          at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652)
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: java.io.IOException: Inconsistent file length: expected 2042904 but only got 1469701
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1155)
          ... 7 more

          Show
          cloudshare Assaf Lavie added a comment - - edited Example log error: Feb 19, 2017 8:03:57 AM hudson.model.UpdateCenter$DownloadJob run SEVERE: Failed to install Pipeline: Groovy hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/workflow-cps/2.27/workflow-cps.hpi (redirected to: http://ftp.tsukuba.wide.ad.jp/software/jenkins/plugins/workflow-cps/2.27/workflow-cps.hpi ) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1678) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1876) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1652) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Inconsistent file length: expected 2042904 but only got 1469701 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1155) ... 7 more
          Hide
          rtyler R. Tyler Croy added a comment -

          I have disabled that mirror temporarily until I can get a bit more time to test things in

          Show
          rtyler R. Tyler Croy added a comment - I have disabled that mirror temporarily until I can get a bit more time to test things in
          Hide
          rtyler R. Tyler Croy added a comment -

          I'm going to leave that mirror disabled, I don't think this is worth the trouble

          Show
          rtyler R. Tyler Croy added a comment - I'm going to leave that mirror disabled, I don't think this is worth the trouble

            People

            Assignee:
            rtyler R. Tyler Croy
            Reporter:
            cloudshare Assaf Lavie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: