• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • subversion-plugin
    • None
    • Subversion-Plugin 2.5.1
      Jenkins 1.611
      Windows Server 2012 R2

      Hi,

      The latest version of the Subversion-Plugin is failing to install via the Update center Updates tab...


      hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/subversion/2.5.1/subversion.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/subversion/2.5.1/subversion.hpi)
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797)
      at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: Inconsistent file length: expected 7209281 but only got 5793684
      at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784)
      ... 8 more


      I also downloaded the hpi file and attempted to use the Upload Plugin option...


      java.io.IOException: Failed to dynamically deploy this plugin
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1328)
      at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.jar.JarFile.<init>(Unknown Source)
      at java.util.jar.JarFile.<init>(Unknown Source)
      at hudson.ClassicPluginStrategy.getShortName(ClassicPluginStrategy.java:107)
      at hudson.PluginManager.dynamicLoad(PluginManager.java:439)
      at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1324)
      ... 6 more


      All other plugins are updating ok.

      Thanks

          [JENKINS-29597] Update error - Inconsistent file length

          Facundo Mateo added a comment -

          Same problem here.
          Jenkins : 1.6.24

          Facundo Mateo added a comment - Same problem here. Jenkins : 1.6.24

          same with Jenkins ver. 1.624 and Jira-Plugin

          hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/jira/1.41/jira.hpi (redirected to: http://jenkins.mirror.isppower.de/plugins/jira/1.41/jira.hpi)
          	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797)
          	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148)
          	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309)
          	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
          	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
          	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 2729628 but only got 2728800
          	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784)
          	... 7 more
          

          Volker Schukai added a comment - same with Jenkins ver. 1.624 and Jira-Plugin hudson.util.IOException2: Failed to download from http: //updates.jenkins-ci.org/download/plugins/jira/1.41/jira.hpi (redirected to: http://jenkins.mirror.isppower.de/plugins/jira/1.41/jira.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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 2729628 but only got 2728800 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784) ... 7 more

          Can anyone confirm that the problem still continues with latest release? /cc jonathangrm

          Manuel Recena Soto added a comment - Can anyone confirm that the problem still continues with latest release? /cc jonathangrm

          Confirm: 

          JENKINS_VERSION 2.121.1

          Sergey Arbuzov added a comment - Confirm:  JENKINS_VERSION 2.121.1

          Confirm: Jenkins ver. 2.138.1 .

          Antonio Petricca added a comment - Confirm:  Jenkins ver. 2.138.1  .

          Bina S Kumar added a comment -

          This issue is still reproducible.

          Jenkins Url : http://localhost:8180/

          Manage Jenkins > Manage Plugins > Available > Maven - plugin

          The JVM in the Jenkins is running : JDK8

          Installation Status : Failure

          Error:

          Java.net.SocketTimeoutException: Read timed out
          at java.net.SocketInputStream.socketRead0(Native Method)
          at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
          at java.net.SocketInputStream.read(SocketInputStream.java:171)
          at java.net.SocketInputStream.read(SocketInputStream.java:141)
          at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:466)
          at sun.security.ssl.SSLSocketInputRecord.readFully(SSLSocketInputRecord.java:449)
          at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:242)
          at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:180)
          at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
          at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1201)
          at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1168)
          at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:74)
          at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:834)
          at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
          at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
          at sun.net.www.MeteredStream.read(MeteredStream.java:134)
          at java.io.FilterInputStream.read(FilterInputStream.java:133)
          at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3454)
          at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3447)
          at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1282)
          Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/maven-plugin/3.7/maven-plugin.hpi to C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\maven-plugin.jpi.tmp
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1287)
          Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/maven-plugin/3.7/maven-plugin.hpi (redirected to: https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/maven-plugin/3.7/maven-plugin.hpi)
          at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1321)
          at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1869)
          at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2147)
          at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843)
          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:118)
          at java.lang.Thread.run(Thread.java:748)

           

          Could you please look into the issue.

          Thanks,

          Bina

          Bina S Kumar added a comment - This issue is still reproducible. Jenkins Url : http://localhost:8180/ Manage Jenkins > Manage Plugins > Available > Maven - plugin The JVM in the Jenkins is running : JDK8 Installation Status : Failure Error: Java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:466) at sun.security.ssl.SSLSocketInputRecord.readFully(SSLSocketInputRecord.java:449) at sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(SSLSocketInputRecord.java:242) at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:180) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110) at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1201) at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1168) at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:74) at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:834) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.MeteredStream.read(MeteredStream.java:134) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3454) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3447) at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1282) Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/maven-plugin/3.7/maven-plugin.hpi to C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\maven-plugin.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1287) Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/maven-plugin/3.7/maven-plugin.hpi (redirected to: https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/maven-plugin/3.7/maven-plugin.hpi ) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1321) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1869) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2147) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1843) 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:118) at java.lang.Thread.run(Thread.java:748)   Could you please look into the issue. Thanks, Bina

          Facundo Mateo added a comment -

          I can not reproduce it anymore.

          Jenkins 2.253

          Facundo Mateo added a comment - I can not reproduce it anymore. Jenkins 2.253

          zha added a comment -

          Jenkins2.301 使用代理下载很多插件都遇到了该问题

          Failed to install ace-editor
          java.io.IOException: Inconsistent file length: expected 4279042 but only got 3129008
          	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1297)
          Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/ace-editor/1.1/ace-editor.hpi (redirected to: https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ace-editor/1.1/ace-editor.hpi)
          	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1322)
          	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1876)
          	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2171)
          	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1850)
          	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:121)
          	at java.lang.Thread.run(Thread.java:748)
          
          Jul 15, 2021 5:11:56 AM INFO hudson.model.UpdateCenter$CompleteBatchJob run
          

          zha added a comment - Jenkins2.301 使用代理下载很多插件都遇到了该问题 Failed to install ace-editor java.io.IOException: Inconsistent file length: expected 4279042 but only got 3129008 at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1297) Caused: java.io.IOException: Failed to download from https: //updates.jenkins.io/download/plugins/ace-editor/1.1/ace-editor.hpi (redirected to: https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ace-editor/1.1/ace-editor.hpi) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1322) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1876) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2171) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1850) 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:121) at java.lang. Thread .run( Thread .java:748) Jul 15, 2021 5:11:56 AM INFO hudson.model.UpdateCenter$CompleteBatchJob run

          Kalle Niemitalo added a comment - - edited

          zhangbo0115, I tried https://updates.jenkins.io/download/plugins/ace-editor/1.1/ace-editor.hpi and it redirected first to https://get.jenkins.io/plugins/ace-editor/1.1/ace-editor.hpi and then to https://mirror.gruenehoelle.nl/jenkins/plugins/ace-editor/1.1/ace-editor.hpi, which has the correct size 4279042 bytes and passes unzip -t validation. Your problem may be specific to the https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ace-editor/1.1/ace-editor.hpi mirror. I suggest you report it to the maintainers of that mirror.

          You can also report to https://github.com/jenkins-infra/helpdesk/ and, if the mirror is consistently bad, I imagine it can be removed from the automatic redirection.

          Kalle Niemitalo added a comment - - edited zhangbo0115 , I tried https://updates.jenkins.io/download/plugins/ace-editor/1.1/ace-editor.hpi and it redirected first to https://get.jenkins.io/plugins/ace-editor/1.1/ace-editor.hpi and then to https://mirror.gruenehoelle.nl/jenkins/plugins/ace-editor/1.1/ace-editor.hpi , which has the correct size 4279042 bytes and passes unzip -t validation. Your problem may be specific to the https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/ace-editor/1.1/ace-editor.hpi mirror. I suggest you report it to the maintainers of that mirror. You can also report to https://github.com/jenkins-infra/helpdesk/ and, if the mirror is consistently bad, I imagine it can be removed from the automatic redirection.

            recena Manuel Recena Soto
            jonathangrm Jonathan Graham
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: