Error message: "code converter not found (ASCII-8BIT to UTF-8)"

Description

I'm getting this error message in the logstash log file:

---------------------------------------------------------

An unexpected error occurred. This is probably a bug.

You can find help with this problem in a few places:

 

  • chat: #logstash IRC channel on freenode irc.

IRC via the web: http://goo.gl/TI4Ro

  • email: logstash-users@googlegroups.com

 

---------------------------------------------------------

The error reported is:
code converter not found (ASCII-8BIT to UTF-8)

Activity

Show:
Andrei Faber
September 27, 2013, 7:32 AM

it seems upgrade to 1.2.1 solves this problem

Andrei Faber
September 30, 2013, 3:40 AM

Unfortunately this issue still happens with logstash 1.2.1, though less frequently.
Stack trace:

Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (ConverterNotFoundError) code converter not found (ASCII-8BIT to UTF-8)
at org.jruby.RubyString.encode(org/jruby/RubyString.java:7590)
at json.ext.GeneratorMethods$RbHash.to_json(json/ext/GeneratorMethods.java:71)
at LogStash::Event.to_json(file:/C:/temp/self-monitor/logstash.jar!/logstash/event.rb:169)
at LogStash::Outputs::Redis.receive(file:/C:/temp/self-monitor/logstash.jar!/logstash/outputs/redis.rb:140)
at RUBY.initialize((eval):183)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:255)
at LogStash:ipeline.output(file:/C:/temp/self-monitor/logstash.jar!/logstash/pipeline.rb:247)
at RUBY.outputworker(file:/C:/temp/self-monitor/logstash.jar!/logstash/pipeline.rb:212)
at RUBY.start_outputs(file:/C:/temp/self-monitor/logstash.jar!/logstash/pipeline.rb:140)

Fixed

Assignee

Logstash Developers

Reporter

Andrei Faber

Labels

None

Affects versions

Configure