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


(Charan Naik) #1

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 (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


(ruflin) #2

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


(Charan Naik) #3

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?


(Andrew Kroh) #4

Check out this document I wrote. Maybe something there will help you. -- Using TLS between Beats and Logstash


(Charan Naik) #5

Thank you very much @andrewkqoh...


(Randy Grolemund) #6

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


(Benkhlifafahmi) #7

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


(system) #8