# Strange hanging/buffering behavior with tcp plugin

**URL:** <https://discuss.elastic.co/t/strange-hanging-buffering-behavior-with-tcp-plugin/33042>\
**Category:** Logstash\
**Created:** [October 27, 2015, 4:47am UTC](https://discuss.elastic.co/t/strange-hanging-buffering-behavior-with-tcp-plugin/33042 "2015-10-27T04:47:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![treehouse](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@treehouse](https://discuss.elastic.co/u/treehouse)\
**Post date:** [November 3, 2015, 10:53pm UTC](https://discuss.elastic.co/t/strange-hanging-buffering-behavior-with-tcp-plugin/33042/3 "2015-11-03T22:53:46Z")

</div>

I can't use the json\_lines codec for some reason..

> [@Json codec crashing logstash](https://discuss.elastic.co/t/json-codec-crashing-logstash/33680):
>
> I have courier input feeding the pipeline. When i try using the tcp output using codec =\> json or codec =\> json\_lines, logstash crashes and spits this error -- LogStash::Json::GeneratorError: Failed to load class 'org.jruby.RubyObject$Access4JacksonDeserializerc66a1575': com.fasterxml.jackson.module.afterburner.ser.BeanPropertyAccessor jruby\_dump at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/json.rb:53 to\_json at /opt/logstash/vendor/bundle/jru…

---

_[View the full topic](https://discuss.elastic.co/t/strange-hanging-buffering-behavior-with-tcp-plugin/33042)._
