Logstash Connection refused

Hi,

My team had incorporated TLSv12,TLSv1.1 changes on rabbitmq and because of this logstash cluster got failed. I recovered logstash cluster and updated logstash configurations to ignore rabbitmq inputs.

When i run this command this below error came.

/opt/logstash/bin/logstash -f /ec2-user/logstash-rabbitmq.conf
Settings: Default pipeline workers: 1
Connection to 10.5.11.49:5671 refused {:exception=>"MarchHare::ConnectionRefused", :backtrace=>["/opt/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.15.0-java/lib/march_hare/session.rb:469:in converting_rjc_exceptions_to_ruby'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.15.0-java/lib/march_hare/session.rb:500:innew_connection_impl'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.15.0-java/lib/march_hare/session.rb:136:in initialize'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.15.0-java/lib/march_hare/session.rb:109:inconnect'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.15.0-java/lib/march_hare.rb:20:in connect'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-mixin-rabbitmq_connection-2.3.1-java/lib/logstash/plugin_mixins/rabbitmq_connection.rb:140:inconnect'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-mixin-rabbitmq_connection-2.3.1-java/lib/logstash/plugin_mixins/rabbitmq_connection.rb:97:in connect!'", "/opt/logstash/vendor/local_gems/4c884db7/logstash-input-rabbitmq-4.0.1/lib/logstash/inputs/rabbitmq.rb:175:inregister'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:330:in start_inputs'", "org/jruby/RubyArray.java:1613:ineach'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:329:in start_inputs'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:180:instart_workers'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/pipeline.rb:136:in run'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.1-java/lib/logstash/agent.rb:465:instart_pipeline'"], :level=>:error}

Well, can you connect to port 5671 on 10.5.11.49 from the Logstash host? If not you have a network problem.

Hi,

This open in my network firewall not blocking Port 5671.

That's a different question. Does telnet 10.5.11.49 5671 work?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.