Hi,
I am running a 1.500 version of Jenkins on x64 Linux machine. All 
communication from the host is done via proxy with password. Now, I am 
having this weird problem when trying to download plugins:

> SEVERE: Failed to install Sectioned View Plugin
> hudson.util.IOException2: Failed to download from 
> http://updates.jenkins-ci.org/download/plugins/sectioned-view/1.18/sectioned-view.hpi
>          at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:741)
>          at 
> hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1078)
>          at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1240)
>          at 
> hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1056)
>          at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>          at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>          at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>          at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>          at java.lang.Thread.run(Thread.java:662)
> Caused by: java.net.ProtocolException: Server redirected too many  times 
> (20)
>          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>          at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>          at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>          at 
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1514)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at 
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1508)
>          at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1162)
>          at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:711)
>          ... 9 more
> Caused by: java.net.ProtocolException: Server redirected too many  times 
> (20)
>          at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1469)
>          at 
> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2340)
>          at 
> java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579)
>          at java.net.URLConnection.getContentLength(URLConnection.java:474)
>          at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:710)
>          ... 9 more
>

I have setup similar as the one described here:
https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache

I have seen people reporting to have solved this issue by fixing their 
proxy setup in Jenkins:
http://jenkins-ci.361315.n4.nabble.com/java-net-ProtocolException-Server-redirected-too-many-times-100-td1560801.html
I am 100% positive, I too, have set the correct host, username and password 
in gui, and verified in proxy.xml. This is not helping. The strange thing 
is that when I log as user jenkins to the Linux machine, export http_proxy 
and wget any file, something seems to unclog, and jenkins can download 
plugins fine - until rebooted. Any sugestions would be helpful.


-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to