# During updating jenkins plugins I face error message below

**URL:** https://community.jenkins.io/t/during-updating-jenkins-plugins-i-face-error-message-below/3253
**Category:** Using Jenkins
**Tags:** question
**Created:** [August 3, 2022, 6:33pm UTC](https://community.jenkins.io/t/during-updating-jenkins-plugins-i-face-error-message-below/3253 "2022-08-03T18:33:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![salehdevo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/salehdevo/32/1978_2.png) [@salehdevo](https://community.jenkins.io/u/salehdevo)
#### Post date: [August 3, 2022, 6:33pm UTC](https://community.jenkins.io/t/during-updating-jenkins-plugins-i-face-error-message-below/3253/1 "2022-08-03T18:33:46Z")

</div>

java.io.EOFException: SSL peer shut down incorrectly  
at java.base/s

 ![jenkinserror](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/3/3a72d1ec8eaf3dc8af42f312e3759a17234f44a2.png)  
un.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:483)  
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)  
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1369)  
Caused: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake  
at java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1538)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1377)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1278)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)  
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)  
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)  
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)  
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:1296)  
Caused: java.io.IOException: Failed to load [https://updates.jenkins.io/download/plugins/git/4.11.4/git.hpi](https://updates.jenkins.io/download/plugins/git/4.11.4/git.hpi) to /var/lib/jenkins/plugins/git.jpi.tmp  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1307)  
Caused: java.io.IOException: Failed to download from [https://updates.jenkins.io/download/plugins/git/4.11.4/git.hpi](https://updates.jenkins.io/download/plugins/git/4.11.4/git.hpi)  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1341)  
at hudson.model.UpdateCenter$DownloadJob.\_run(UpdateCenter.java:1898)  
at hudson.model.UpdateCenter$InstallationJob.\_run(UpdateCenter.java:2210)  
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1872)  
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:834)

I have try to set protocol but not working also

```auto
System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2");

```

---

<div class="post-metadata">

### Author: ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)
#### Post date: [August 3, 2022, 8:42pm UTC](https://community.jenkins.io/t/during-updating-jenkins-plugins-i-face-error-message-below/3253/2 "2022-08-03T20:42:37Z")

</div>

If you are using modern java (11), you shouldn’t have any issue talking to [updates.jenkins.io](http://updates.jenkins.io) as it fully supports lets encrypt. Is there any chance you have a proxy in the middle breaking things?

[SSL Server Test: updates.jenkins.io (Powered by Qualys SSL Labs)](https://www.ssllabs.com/ssltest/analyze.html?d=updates.jenkins.io) says it supports tls 1.2 and 1.3 (1 and 1.1 are not super trusted)

My guess is its something between update center and your install, or a blip and should just retry.

You can also use [GitHub - jenkinsci/plugin-installation-manager-tool: Plugin Manager CLI tool for Jenkins](https://github.com/jenkinsci/plugin-installation-manager-tool) to run things from the cli which might give you more control
