# Filebeat - transport.go:125: SSL client failed to connect with: read tcp connection reset by peer

**URL:** <https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257>\
**Category:** Beats\
**Created:** [March 13, 2016, 12:41pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257 "2016-03-13T12:41:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![charannaik](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@charannaik](https://discuss.elastic.co/u/charannaik)\
**Post date:** [March 13, 2016, 12:41pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/1 "2016-03-13T12:41:08Z")

</div>

hi, i configured filebeat as instructed here [https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7](https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7) (execpt that i did this on Red had server) however i have issues shipping logs and i get the following error on filebeat restart

transport.go:125: SSL client failed to connect with: read tcp connection reset by peer

Can you someone suggest how to trouble shoot this?

1. nc -vz 'servername' 5044 works is successful
2. telnet to 5044 works fine
3. firewall is off on both machines.
4. selinux is disabled.
5. copied the certificate on the client machine

The configuration is same as described in the article

Thanks,  
Charan

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 14, 2016, 8:21am UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/2 "2016-03-14T08:21:18Z")

</div>

Can you check these points in the FAQ? [https://www.elastic.co/guide/en/beats/filebeat/1.1/ssl-client-fails.html](https://www.elastic.co/guide/en/beats/filebeat/1.1/ssl-client-fails.html)

---

<div class="post-metadata">

**Author:** ![charannaik](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@charannaik](https://discuss.elastic.co/u/charannaik)\
**Post date:** [March 16, 2016, 8:31am UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/3 "2016-03-16T08:31:32Z")

</div>

Thanks ruflin,

As i have already mentioned, telenet and ping works fine. i tried using "insecure: true", but that doesnt help to.

I am using a self signed certificate for testing, does this make any difference?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [March 17, 2016, 9:29pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/4 "2016-03-17T21:29:24Z")

</div>

Check out this document I wrote. Maybe something there will help you. -- [Using TLS between Beats and Logstash](https://gist.github.com/andrewkroh/fdc7e5f3f0f0ed63a11c)

---

<div class="post-metadata">

**Author:** ![charannaik](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@charannaik](https://discuss.elastic.co/u/charannaik)\
**Post date:** [March 18, 2016, 3:48pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/5 "2016-03-18T15:48:39Z")

</div>

Thank you very much @andrewkqoh...

---

<div class="post-metadata">

**Author:** ![Randy\_Grolemund](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Randy\_Grolemund](https://discuss.elastic.co/u/Randy_Grolemund)\
**Post date:** [April 11, 2016, 4:55pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/6 "2016-04-11T16:55:09Z")

</div>

I am having the exact same issue - also NOT using any encryption, either.

---

<div class="post-metadata">

**Author:** ![benkhlifafahmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benkhlifafahmi/32/12198_2.png) [@benkhlifafahmi](https://discuss.elastic.co/u/benkhlifafahmi)\
**Post date:** [March 13, 2017, 1:00pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/7 "2017-03-13T13:00:19Z")

</div>

Thanks this was helpful i didn't noticed the change of the ssl part.  
Thanks again you saved my time ^^

---

<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 5, 2017, 9:49pm UTC](https://discuss.elastic.co/t/filebeat-transport-go-125-ssl-client-failed-to-connect-with-read-tcp-connection-reset-by-peer/44257/8 "2017-07-05T21:49:49Z")

</div>


