Error while setting up connection for rabbitmq input

Hi,

When I send many events to logstash I get heaps of warnings in logstash log:
All the exchanges defined in logstash config exists in rabbitmq.
It seems like a new channel is opened and closed for every event. Is this behavior necessary?

07:31:22.792 [[main]<rabbitmq] WARN logstash.inputs.rabbitmq - Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'pm_exchange' in vhost '/', class-id=50, method-id=20)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.22.0-java/lib/march_hare/exceptions.rb:121:in convert_and_reraise'"} 07:31:23.792 [[main]<rabbitmq] WARN logstash.inputs.rabbitmq - Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'notifications' in vhost '/', class-id=50, method-id=20)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.22.0-java/lib/march_hare/exceptions.rb:121:in convert_and_reraise'"}
07:31:23.793 [[main]<rabbitmq] WARN logstash.inputs.rabbitmq - Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'pm_exchange' in vhost '/', class-id=50, method-id=20)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.22.0-java/lib/march_hare/exceptions.rb:121:in convert_and_reraise'"} 07:31:23.793 [[main]<rabbitmq] WARN logstash.inputs.rabbitmq - Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'aggr_pm_exchange' in vhost '/', class-id=50, method-id=20)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.22.0-java/lib/march_hare/exceptions.rb:121:in convert_and_reraise'"}
07:31:24.793 [[main]<rabbitmq] WARN logstash.inputs.rabbitmq - Error while setting up connection for rabbitmq input! Will retry. {:message=>"#method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange 'notifications' in vhost '/', class-id=50, method-id=20)", :class=>"MarchHare::ChannelAlreadyClosed", :location=>"/usr/share/logstash/vendor/bundle/jruby/1.9/gems/march_hare-2.22.0-java/lib/march_hare/exceptions.rb:121:in `convert_and_reraise'"}

I think I can see all events in Kibana so I haven't noticed any lost events.

Can you tell what is wrong and how I can get rid of the warnings?

Br Mathias

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