# Beats Input Exception

**URL:** <https://discuss.elastic.co/t/beats-input-exception/55537>\
**Category:** Logstash\
**Created:** [July 14, 2016, 3:26pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537 "2016-07-14T15:26:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [July 14, 2016, 3:26pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537/1 "2016-07-14T15:26:02Z")

</div>

Hi,  
Would appreciate your input into this exception I'm seeing with the beats input:

{: timestamp =\> "2016-07-14T16:18:11.269000+0100", : message =\> "Beats input: unhandled exception", : exception =\> # \< NoMethodError: undefined method `force_encoding' for false:FalseClass>, :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.3-java/lib/logstash/util/charset.rb:14:in`  
convert '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-plain-2.0.2/lib/logstash/codecs/plain.rb:35:in `decode' ", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / logstash / inputs / beats.rb: 33: in`accept'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-multiline-2.0.9/lib/logstash/codecs/identity\_map\_codec.rb:177:in `accept '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/logstash/inputs/beats_support/connection_handler.rb:58:in`process'  
", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / logstash / inputs / beats\_support / connection\_handler.rb: 33: in `accept'", "org/jruby/RubyProc.java:281:in`  
call '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:429:in `data' ", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / lumberjack / beats / server.rb: 408: in`read\_socket'", "org/jruby/RubyProc.java:281:in `call '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:420:in`ack\_if\_needed'  
", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / lumberjack / beats / server.rb: 404: in `read_socket'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:261:in`  
json\_data\_payload '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:178:in `feed' ", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / lumberjack / beats / server.rb: 311: in`compressed\_payload'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:178:in `feed '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/lumberjack/beats/server.rb:389:in`read\_socket'  
", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / lumberjack / beats / server.rb: 369: in `run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/logstash/inputs/beats_support/connection_handler.rb:33:in`  
accept '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/logstash/inputs/beats.rb:177:in `handle_new_connection' ", " / opt / logstash / vendor / bundle / jruby / 1.9 / gems / logstash - input - beats - 2.1 .3 / lib / logstash / inputs / beats_support / circuit_breaker.rb: 42: in`execute'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/logstash/inputs/beats.rb:177:in `handle_new_connection '", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-beats-2.1.3/lib/logstash/inputs/beats.rb:133:in`run'  
"], :level=\>:error}

Input config looks like this:

beats {  
port =\> 5044  
tags =\> ["beats"]  
type =\> "beats"  
}

We have some sources running on libbeat 5.0. Would that cause this?

Regards,  
David

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 14, 2016, 9:51pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537/2 "2016-07-14T21:51:39Z")

</div>

What LS version?

---

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [July 15, 2016, 2:40pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537/3 "2016-07-15T14:40:30Z")

</div>

Logstash version is 2.1.3...

---

<div class="post-metadata">

**Author:** ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Post date:** [July 27, 2016, 2:50pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537/4 "2016-07-27T14:50:02Z")

</div>

Any update on this? Do you need more info?

---

<div class="post-metadata">

**Author:** ![Rotwang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rotwang/32/13460_2.png) [@Rotwang](https://discuss.elastic.co/u/Rotwang)\
**Post date:** [November 28, 2016, 4:40pm UTC](https://discuss.elastic.co/t/beats-input-exception/55537/5 "2016-11-28T16:40:10Z")

</div>

Hi, any news?

---

<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, 4:30am UTC](https://discuss.elastic.co/t/beats-input-exception/55537/6 "2017-07-06T04:30:09Z")

</div>


