Problem with Jenkins and install plugin

819 views
Skip to first unread message

Fabien Sechi

unread,
Dec 5, 2014, 11:22:59 AM12/5/14
to jenkins...@googlegroups.com
Préparation
  • Vérification de la connexion à internet
  • Vérification de la connexion à jenkins-ci.org
  • Succès

CAS1 Plugin
 Échec -
hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/cas1/1.0.1/cas1.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/cas1/1.0.1/cas1.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Inconsistent file length: expected 8841843 but only got 8841843
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
	... 8 more
CAS Plugin
 Échec -
hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/cas-plugin/1.1.2/cas-plugin.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/cas-plugin/1.1.2/cas-plugin.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Inconsistent file length: expected 1626396 but only got 1626396
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
	... 8 more

I don't understand these logs...Because when you expected 1626396 but only got 1626396, you must not get an Error right... ! 
Maybe you could help me.
I have a locahost proxy.
I set this proxy by Jenkins's WebClient.
This proxy success.
So why it crash at the end of download.
 

Fabien Sechi

unread,
Feb 25, 2015, 7:45:34 AM2/25/15
to jenkins...@googlegroups.com
Someone could help.
best regards

Daniel Beck

unread,
Feb 25, 2015, 8:00:10 AM2/25/15
to jenkins...@googlegroups.com
Could be a timing issue since Jenkins does not appear to flush the output stream explicitly before checking the file length, and checks the file length a second time just to print the error message.

Could you file an issue against core and assign it to danielbeck? https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

On 05.12.2014, at 17:22, Fabien Sechi <fabien...@gmail.com> wrote:

> Préparation
> • Vérification de la connexion à internet
> • Vérification de la connexion à jenkins-ci.org
> • Succès
>
> CAS1 Plugin
> Échec -
> hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/cas1/1.0.1/cas1.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/cas1/1.0.1/cas1.hpi)
> at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
> at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
> at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
> at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.IOException: Inconsistent file length: expected 8841843 but only got 8841843
> at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
> ... 8 more
>
> CAS Plugin
> Échec -
> hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/cas-plugin/1.1.2/cas-plugin.hpi (redirected to: http://ftp.nluug.nl/programming/jenkins/plugins/cas-plugin/1.1.2/cas-plugin.hpi)
> at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:791)
> at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1138)
> at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1298)
> at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.io.IOException: Inconsistent file length: expected 1626396 but only got 1626396
> at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:778)
> ... 8 more
>
>
> I don't understand these logs...Because when you expected 1626396 but only got 1626396, you must not get an Error right... !
> Maybe you could help me.
> I have a locahost proxy.
> I set this proxy by Jenkins's WebClient.
> This proxy success.
> So why it crash at the end of download.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e32e0b66-7232-4278-89f3-0909b518514c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Gurkirat

unread,
Nov 9, 2016, 3:56:48 AM11/9/16
to Jenkins Users
did u solved it?
Reply all
Reply to author
Forward
0 new messages