[rabbitmq-discuss] Getting an error while starting the consumer

rathi riteshrathi at gmail.com
Fri Aug 20 11:38:58 BST 2010


I am getting the below error when I try to start the consumer. I have
attached the code which I am using. I am using rabbitmq_server-1.5.0
version.

Exception in thread "main" java.io.IOException
        at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:121)
        at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:703)
        at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:661)
        at com.rabbitmq.client.impl.ChannelN.basicConsume(ChannelN.java:647)
        at RabbitMQConsumer.main(RabbitMQConsumer.java:28)
Caused by: com.rabbitmq.client.ShutdownSignalException (connection error;
reason:
{#method<connection.close>(reply-code=541,reply-text=INTERNAL_ERROR,class-id=0,method-id=0),null,""})
        at
com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:606)
        at
com.rabbitmq.client.impl.AMQConnection.handleConnectionClose(AMQConnection.java:561)
        at
com.rabbitmq.client.impl.AMQConnection.processControlCommand(AMQConnection.java:541)
        at
com.rabbitmq.client.impl.AMQConnection$1.processAsync(AMQConnection.java:84)
        at
com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:159)
        at
com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:110)
        at
com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:446)


In rabbitmq log we get the following message.


=ERROR REPORT==== 20-Aug-2010::15:33:01 ===
connection <0.193.0> (running), channel 1 - error:
{undef,[{ssl_base64,encode,

[<<132,105,185,189,207,122,93,248,157,124,89,168,150,171,
                       226,86>>]},
        {rabbit_misc,string_guid,1},
        {rabbit_misc,binstring_guid,1},
        {rabbit_channel,handle_method,3},
        {rabbit_channel,handle_message,2},
        {buffering_proxy,'-mainloop/4-fun-0-',3},
        {lists,foldl,3},
        {buffering_proxy,mainloop,4}]}

=WARNING REPORT==== 20-Aug-2010::15:33:01 ===
Non-AMQP exit reason '{undef,
                          [{ssl_base64,encode,
                               [<<132,105,185,189,207,122,93,248,157,124,89,
                                  168,150,171,226,86>>]},
                           {rabbit_misc,string_guid,1},
                           {rabbit_misc,binstring_guid,1},
                           {rabbit_channel,handle_method,3},
                           {rabbit_channel,handle_message,2},
                           {buffering_proxy,'-mainloop/4-fun-0-',3},
                           {lists,foldl,3},
                           {buffering_proxy,mainloop,4}]}'


Can someone identify the reason for this. Thanks in advance.

regards,
ritesh rathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100820/a934b86b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RabbitMQConsumer.java
Type: text/x-java
Size: 1578 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100820/a934b86b/attachment.java>


More information about the rabbitmq-discuss mailing list