Plugin Installs Failing

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Plugin Installs Failing

Steve Rogers
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Mark Waite-2
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Steve Rogers
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Mark Waite-2
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Steve Rogers
I'll give that a try.  I believe /opt/tomcat/.jenkins was the default.  I then just linked that to /home/jenkins.  Our old system where I am getting the same error is a windows install, so it seems more likely something in our network.

Thanks for your help.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRHU3OJ6piZpTVimYS8DROVszrBecn5v84-wy%2BXzu%3D-0g%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Jan Monterrubio

Could it be an http vs https problem? We had some of those with maven before. 

On Mon, Feb 3, 2020 at 16:05 Steve Rogers <[hidden email]> wrote:
I'll give that a try.  I believe /opt/tomcat/.jenkins was the default.  I then just linked that to /home/jenkins.  Our old system where I am getting the same error is a windows install, so it seems more likely something in our network.

Thanks for your help.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRHU3OJ6piZpTVimYS8DROVszrBecn5v84-wy%2BXzu%3D-0g%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LMqkEwsjdDZzMX-V6bNr%2BS_ng1%3Dg_VEp2XM_zO9DrxvA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Steve Rogers
That was my first guess too. I tried with both. 

On Mon, Feb 3, 2020 at 7:22 PM Jan Monterrubio <[hidden email]> wrote:

Could it be an http vs https problem? We had some of those with maven before. 

On Mon, Feb 3, 2020 at 16:05 Steve Rogers <[hidden email]> wrote:
I'll give that a try.  I believe /opt/tomcat/.jenkins was the default.  I then just linked that to /home/jenkins.  Our old system where I am getting the same error is a windows install, so it seems more likely something in our network.

Thanks for your help.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LMqkEwsjdDZzMX-V6bNr%2BS_ng1%3Dg_VEp2XM_zO9DrxvA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DTvzjuB-dAUx2nFykHG1BgxaM%2BUS9JEya-VJzxEVCbwWw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Markus Boos
We had a similar error (failed to download plugins) last week (see my post in this list) and it occurred several times on our instances.

Am Di., 4. Feb. 2020 um 03:36 Uhr schrieb Steve Rogers <[hidden email]>:
That was my first guess too. I tried with both. 

On Mon, Feb 3, 2020 at 7:22 PM Jan Monterrubio <[hidden email]> wrote:

Could it be an http vs https problem? We had some of those with maven before. 

On Mon, Feb 3, 2020 at 16:05 Steve Rogers <[hidden email]> wrote:
I'll give that a try.  I believe /opt/tomcat/.jenkins was the default.  I then just linked that to /home/jenkins.  Our old system where I am getting the same error is a windows install, so it seems more likely something in our network.

Thanks for your help.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LMqkEwsjdDZzMX-V6bNr%2BS_ng1%3Dg_VEp2XM_zO9DrxvA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DTvzjuB-dAUx2nFykHG1BgxaM%2BUS9JEya-VJzxEVCbwWw%40mail.gmail.com.


--
Markus Boos
Oberwilerstrasse 1
8330 Pfäffikon
+41 78 689 44 12

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALCEi_CzeQeRcyDRQybCRbnqqGtb2mTYCj2CoXAzu-i4dCJ9qA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Mohtashim S
Looks like our not open / url blocked.

Try to access the Jenkins update plugin url or test it with the curl command and you should noticed that it is blocked. If blocked opening the firewall / proxy policy to allow the Jenkins update url may help you overcome the problem.

You may have to do this manually in offline mode

On Tue, 4 Feb, 2020, 12:25 PM Markus Boos, <[hidden email]> wrote:
We had a similar error (failed to download plugins) last week (see my post in this list) and it occurred several times on our instances.

Am Di., 4. Feb. 2020 um 03:36 Uhr schrieb Steve Rogers <[hidden email]>:
That was my first guess too. I tried with both. 

On Mon, Feb 3, 2020 at 7:22 PM Jan Monterrubio <[hidden email]> wrote:

Could it be an http vs https problem? We had some of those with maven before. 

On Mon, Feb 3, 2020 at 16:05 Steve Rogers <[hidden email]> wrote:
I'll give that a try.  I believe /opt/tomcat/.jenkins was the default.  I then just linked that to /home/jenkins.  Our old system where I am getting the same error is a windows install, so it seems more likely something in our network.

Thanks for your help.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LMqkEwsjdDZzMX-V6bNr%2BS_ng1%3Dg_VEp2XM_zO9DrxvA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DTvzjuB-dAUx2nFykHG1BgxaM%2BUS9JEya-VJzxEVCbwWw%40mail.gmail.com.


--
Markus Boos
Oberwilerstrasse 1
8330 Pfäffikon
+41 78 689 44 12

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALCEi_CzeQeRcyDRQybCRbnqqGtb2mTYCj2CoXAzu-i4dCJ9qA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOy8S%3D8ETHwunGeTXgn1L2wz4a37Fk10c5b3A9OmsjeeEV4VdQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Steve Rogers
In reply to this post by Mark Waite-2
I changed the configuration to point directly to /home/jenkins (plugin installs still fail) and then added the freestyle job as you suggested which successfully created and deleted the file at the path suggested, so it appears permissions are not the problem.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DQMobacmm2PL3eiYXSo%2BGykAVBBM1a4PeVvsC3w_MCoOw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Plugin Installs Failing

Steve Rogers
For the sake of completeness, this turned out to be blocked at our firewall based on a list of banned IP addresses.  This still seems strange as I was able to curl the update files directly from that machine without issue.  The firewall (Palo Alto) seemed to not like the redirects to mirrors and terminated the connection.  When we bypassed that rule everything worked as expected, so I just did all my updates and reactivated the rule.

On Tue, Feb 4, 2020 at 8:42 AM Steve Rogers <[hidden email]> wrote:
I changed the configuration to point directly to /home/jenkins (plugin installs still fail) and then added the freestyle job as you suggested which successfully created and deleted the file at the path suggested, so it appears permissions are not the problem.

On Mon, Feb 3, 2020 at 3:32 PM Mark Waite <[hidden email]> wrote:
That's surprising.  Could you check the permissions from inside Jenkins by creating a freestyle job that runs on master and attempts to create and delete a file named /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp ?

For me, the directory name '/opt/tomcat/.jenkins/' is surprising. Most Jenkins installations in servers do not use a '.jenkins' directory to store the Jenkins home directory. However, I've never hosted Jenkins under the /opt/tomcat/ directory. That may be the typical directory name for that configuration.

On Mon, Feb 3, 2020 at 4:09 PM Steve Rogers <[hidden email]> wrote:
Yes, plenty of space and permissions are correct.  I should have added in the original that I can install manually by downloading the plugin file directly and then uploading into jenkins.

On Mon, Feb 3, 2020 at 2:50 PM Mark Waite <[hidden email]> wrote:
It may be worth checking the directory permissions to confirm that the Jenkins user can still write to that directory.  You may also want to check that the disc has available free space and available inodes to allow new files to be created. 

On Mon, Feb 3, 2020 at 3:42 PM Steve Rogers <[hidden email]> wrote:
Any plugin that I try to download results in the following error:

java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	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:1245)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi to /opt/tomcat/.jenkins/plugins/script-security.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1250)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/script-security/1.69/script-security.hpi (redirected to: http://ftp-nyc.osuosl.org/pub/jenkins/plugins/script-security/1.69/script-security.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1284)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1832)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	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:111)
	at java.lang.Thread.run(Thread.java:748)

i am able to retrieve the resource manually via WGET.  This is a brand new install of jenkins in tomcat on CENTOS7.  Out curiosity I looked at our existing jenkins install and am getting a similar error there.  I have checked and rechecked that the Update Site URL is correct.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e51b53c-440a-4b60-a5a1-2c60a406c1ab%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGeBdtXzCzN7w87sR3MRw7MzvUGy90boBYQj17uv8Mnwg%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DRU-Hz5574ZLvanvKXzs8tUui7z00r-3pWsiPNwV2jbRw%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFxGkje5wZ0QhDVkuHZG0hrySxmcemFpi1ZDrUVKfSiUA%40mail.gmail.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPWe7DStUKXfw_QN2K008PoLMO5i6TBoKANu_oVC1s%3DDeU8j6g%40mail.gmail.com.