# SSL client failed to connect

**URL:** <https://discuss.elastic.co/t/ssl-client-failed-to-connect/43917>\
**Category:** Logstash\
**Created:** [March 9, 2016, 3:46pm UTC](https://discuss.elastic.co/t/ssl-client-failed-to-connect/43917 "2016-03-09T15:46:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevebeattie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevebeattie/32/9228_2.png) [@stevebeattie](https://discuss.elastic.co/u/stevebeattie)\
**Post date:** [March 9, 2016, 3:46pm UTC](https://discuss.elastic.co/t/ssl-client-failed-to-connect/43917/1 "2016-03-09T15:46:51Z")

</div>

Hi,  
I have a server running ES & LS versions as follows:-

```auto
# rpm -qa | grep -E "logstash|elast
logstash-2.1.1-1.noarch
elasticsearch-2.1.1-1.noarch
```

And a number of clients running the following beats versions:-

```auto
# rpm -qa | grep beat
filebeat-1.0.1-1.x86_64
packetbeat-1.0.1-1.x86_64
topbeat-1.0.1-1.x86_64
```

When filebeat tries to connect to LS I get the following message:-

```auto
Mar 9 15:27:24 fred01 /usr/bin/packetbeat[22959]: transport.go:125: SSL client failed to connect with: read tcp 10.0.1.1:42075->192.168.99.99:5044: read: connection reset by peer
Mar 9 15:27:28 fred01 /usr/bin/topbeat[22990]: transport.go:125: SSL client failed to connect with: dial tcp 192.168.99.99:5044: getsockopt: connection timed out
Mar 9 15:27:28 fred01 /usr/bin/topbeat[22990]: single.go:121: Connecting error publishing events (retrying): dial tcp 192.168.99.99:5044: getsockopt: connection timed out
Mar 9 15:27:28 fred01 /usr/bin/topbeat[22990]: single.go:143: send fail
Mar 9 15:27:28 fred01 /usr/bin/topbeat[22990]: single.go:150: backoff retry: 2s
```

Where is the problem? On the LS server, the client, or the network in the middle. I can telnet from the client to the LS server on port 5044, but does this prove much?

Any help or pointers would be most welcome.

Thanks, Steve.

---

<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:** [July 6, 2017, 5:07am UTC](https://discuss.elastic.co/t/ssl-client-failed-to-connect/43917/2 "2017-07-06T05:07:45Z")

</div>


