logstash-plugins / logstash-input-stomp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error registering plugin

illia-sh opened this issue · comments

commented

logstash-input-stomp (3.0.4)
logstash 5.4.1

was working fine , then started to receive such message.

stomp {
destination => "myqueueu"
host => "33.33.33.10"
port => 12345
user => "test"
password => "test"
}

[2017-07-24T19:42:02,171][ERROR][logstash.pipeline ] Error registering plugin {:plugin=>"<LogStash::Inputs::Stomp destination=>\"myqueueu\", host=>\"33.33.33.10\", port=>12345, user=>\"test\", password=><password>, id=>\"8765f3fb039f9acf08d5774744986f49ffba4ae8-2\", enable_metric=>true, debug=>false, codec=><LogStash::Codecs::Plain id=>\"plain_8ffb7e14-a676-4f9c-ac3f-eca12f1a80ae\", enable_metric=>true, charset=>\"UTF-8\">, reconnect=>true, reconnect_interval=>30>", :error=>"unterminated header: '<html>'"} [2017-07-24T19:42:02,191][ERROR][logstash.agent ] Pipeline aborted due to error {:exception=>#<OnStomp::MalformedHeaderError: unterminated header: '<html>'>, :backtrace=>["/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/serializers/stomp_1_0.rb:30:in split_header'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/serializers/stomp_1.rb:113:in finish_header_line'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/serializers/stomp_1.rb:84:in parser_flush'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/serializers/stomp_1.rb:50:in parse_header_line'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/serializers/stomp_1.rb:147:in bytes_to_frame'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/base.rb:242:in io_process_read'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections/base.rb:109:in connect'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/connections.rb:49:in connect'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/onstomp-1.0.9/lib/onstomp/client.rb:85:in connect'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/logstash-input-stomp-3.0.4/lib/logstash/inputs/stomp.rb:46:in connect'", "/opt/logstash/5.4.1/agent/vendor/bundle/jruby/1.9/gems/logstash-input-stomp-3.0.4/lib/logstash/inputs/stomp.rb:75:in register'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:268:in register_plugin'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:279:in register_plugins'", "org/jruby/RubyArray.java:1613:in each'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:279:in register_plugins'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:429:in start_inputs'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:323:in start_workers'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/pipeline.rb:214:in run'", "/opt/logstash/5.4.1/agent/logstash-core/lib/logstash/agent.rb:398:in start_pipeline'"]}`