Logstash BadResponseError with IMAP plugin


(None) #1

Hello using logstash 1.5.4 and Elasticsearch 1.6 but can't seem to connect to my MS Exchange 2003 server. Though I can certainly Telnet to it and do manual commands.

←[31mA plugin had an unrecoverable error. Will restart this plugin.
  Plugin: <LogStash::Inputs::IMAP host=>"mail.worldpay.ca", user=>"none@your.business", password=><password>, secure=>false, type=>"mail", fetch_count=>15, che
ck_interval=>30, charset=>"Windows-1255", debug=>false, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, verify_cert=>true, folder=>"INBOX", lowercase_headers
=>true, delete=>false, content_type=>"text/plain">
  Error: Command received in Invalid state.
  Exception: Net::IMAP::BadResponseError
  Stack: C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1143:in `get_tagged_response'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1195:in `send_command'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1177:in `send_command'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:419:in `login'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:61:in `connect'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:74:in `check_mail'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:67:in `run'
org/jruby/RubyProc.java:271:in `call'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/interval.rb:17:in `interval'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:66:in `run'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:177:in `inputworker'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:171:in `start_input' {:level=>:error, :fi
le=>"/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb", :line=>"182", :method=>"inputworker"
}←[0m
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1143:in `get_tagged_response'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1195:in `send_command'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:1177:in `send_command'
C:/MYPATH/logstash-1.5.4/vendor/jruby/lib/ruby/1.9/net/imap.rb:419:in `login'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:61:in `connect'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:74:in `check_mail'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:67:in `run'
org/jruby/RubyProc.java:271:in `call'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/interval.rb:17:in `interval'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-input-imap-1.0.0/lib/logstash/inputs/imap.rb:66:in `run'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:177:in `inputworker'
C:/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:171:in `start_input'
←[32mPlugin is finished {:plugin=><LogStash::Outputs::Stdout codec=><LogStash::Codecs::RubyDebug metadata=>false>, workers=>1>, :level=>:info, :file=>"/DEVELOPM
ENT/FRAMEWORK/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/plugin.rb", :line=>"61", :method=>"finished"}←[0m
←[36mTeardown: closing files {:level=>:debug, :file=>"/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-output-file-1.0.0/lib/logstash
/outputs/file.rb", :line=>"113", :method=>"teardown"}←[0m
←[32mPlugin is finished {:plugin=><LogStash::Outputs::File path=>"logstash_exchange_out.txt", message_format=>"%{message}", codec=><LogStash::Codecs::Plain char
set=>"UTF-8">, workers=>1, flush_interval=>2, gzip=>false, filename_failure=>"_filepath_failures">, :level=>:info, :file=>"/MYPATH/logstash-1.5.4
/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/plugin.rb", :line=>"61", :method=>"finished"}←[0m
←[32mPipeline shutdown complete. {:level=>:info, :file=>"/MYPATH/logstash-1.5.4/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstas
h/pipeline.rb", :line=>"101", :method=>"run"}←[0m

(system) #2