# Lumberjack Output Client Write Error

**URL:** <https://discuss.elastic.co/t/lumberjack-output-client-write-error/127409>\
**Category:** Logstash\
**Created:** [April 10, 2018, 3:04am UTC](https://discuss.elastic.co/t/lumberjack-output-client-write-error/127409 "2018-04-10T03:04:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karnamonkster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karnamonkster/32/67266_2.png) [@karnamonkster](https://discuss.elastic.co/u/karnamonkster)\
**Post date:** [April 10, 2018, 3:04am UTC](https://discuss.elastic.co/t/lumberjack-output-client-write-error/127409/1 "2018-04-10T03:04:58Z")

</div>

We have been strugling with one specific issue which comes intermittently when trying to send data from one Logstash instance to other using Lumberjack Output -Input plugin.  
The recieveing end never shows an error. However there is always an error at the sender configuration.

`[2018-04-09T12:20:50,231][ERROR][logstash.outputs.lumberjack] Client write error, trying connect {:e=>#<IOError: Connection reset by peer>, :backtrace=>["org/jruby/ext/openssl/SSLSocket.java:861:in `syswrite'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:116:in `send_payload'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:132:in `write_sync'", "/home/user/logstash/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/jls-lumberjack-0.0.26/lib/lumberjack/client.rb:42:in `write`

What all possible troubleshooting steps we could take to rectify the issue once and for all.

---

<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:** [May 8, 2018, 3:05am UTC](https://discuss.elastic.co/t/lumberjack-output-client-write-error/127409/2 "2018-05-08T03:05:10Z")

</div>

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