# Getting error when trying to add or install repository-s3 plugin

**URL:** https://discuss.elastic.co/t/getting-error-when-trying-to-add-or-install-repository-s3-plugin/240219
**Category:** Elasticsearch
**Created:** [July 7, 2020, 8:18pm UTC](https://discuss.elastic.co/t/getting-error-when-trying-to-add-or-install-repository-s3-plugin/240219 "2020-07-07T20:18:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![FREDDIE2020](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/freddie2020/32/66882_2.png) [@FREDDIE2020](https://discuss.elastic.co/u/FREDDIE2020)
#### Post date: [July 7, 2020, 8:18pm UTC](https://discuss.elastic.co/t/getting-error-when-trying-to-add-or-install-repository-s3-plugin/240219/1 "2020-07-07T20:18:54Z")

</div>

Hello,

Trying to add a plugin called repository-s3 to my image or manually trying to install on pods and both fail with same error:

Exception in thread “main” javax.net.ssl.SSLException: Connection reset  
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1180)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1091)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)  
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:187)  
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:169)  
at org.elasticsearch.plugins.InstallPluginCommand.urlExists(InstallPluginCommand.java:353)  
at org.elasticsearch.plugins.InstallPluginCommand.getElasticUrl(InstallPluginCommand.java:315)  
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:255)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:230)  
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:217)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:125)  
at org.elasticsearch.cli.Command.main(Command.java:90)  
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)  
Suppressed: java.net.SocketException: Broken pipe (Write failed)  
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)  
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)  
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)  
at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351)  
… 20 more  
Caused by: java.net.SocketException: Connection reset  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)  
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)  
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)  
… 17 more

Has anyone seen this?

Does anyone know how I get this this plugin installed?

ANy help appreciated.

FREDDIE2020

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 4, 2020, 8:19pm UTC](https://discuss.elastic.co/t/getting-error-when-trying-to-add-or-install-repository-s3-plugin/240219/2 "2020-08-04T20:19:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
