I removed the “s” of https, and also I installed skipcertificate because if jenkins was able to check new version availability, the download always failed.
With these modification I was able to do plugin update using 2.332.2 version.
After 2.332.2 update, I can still check for update but this time download always failed with same error message :
the only stuff that is working is installing plugin providing the link of the plugin but it is painfull because we must install each dependency this manually (providing link or .hpi/.jpi file)
but always same error message.
is there something new about plugin update between 2.277.4 and 2.332.2 ?
thanks a lot
[edit] edit to be un-hidden, what is the problem with my post ?
My recommendation would be first to fix the authentication problem - either via logging in or using some other proxy that does not require authentication.
Hello @iostrym , @saper
I have the same situation, always getting:
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy authentication required"
at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2177)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:195)
at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2783)
at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2695)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1854)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1291)
Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/structs/324.va_f5d6774f3a_d/structs.hpi to /var/jenkins_home/plugins/structs.jpi.tmp
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1302)
Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/structs/324.va_f5d6774f3a_d/structs.hpi (redirected to: https://get.jenkins.io/plugins/structs/324.va_f5d6774f3a_d/structs.hpi)
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1336)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1893)
at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2205)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1867)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
at java.base/java.lang.Thread.run(Thread.java:829)
after trying to update any plugin. This also happens right after I upgraded to 2.332.3 .