I'm getting a strange error with RabbitMQ, that doesn't go away even after uninstalling and reinstalling via brew on a Mac.--
Although RabbitMQ starts the broker each time and I'm able to see the queues and graphs on the web console, when I run my program, it throws an error that there is no channel.
The odd part about it is that this error just started occurring one fine day, without me making any code changes. One time after uninstalling and reinstalling, it worked without any problem. But after shutting down and starting the Mac, it stopped working again. Even uninstalling and reinstalling didn't work.
Do you know what causes this kind of error in the way I'm facing it? I've searched online, but the solutions didn't help.
16:00:48.694 [main] ERROR c.slh.myprog.Core.MetricsProcessor - RabbitMQ error in MetricsProcessor ctor null, null, {}
java.util.concurrent.TimeoutException: null
at com.rabbitmq.utility.BlockingCell.get(BlockingCell.java:77) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.utility.BlockingCell.uninterruptibleGet(BlockingCell.java:111) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:37) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:367) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:293) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:37) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:93) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:805) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:767) ~[amqp-client-3.6.2.jar!/:na]
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:857) ~[amqp-client-3.6.2.jar!/:na]
at com.slh.myprog.utils.RabbitMQ.connectToServer(RabbitMQ.java:150) ~[classes!/:na]
at com.slh.myprog.utils.RabbitMQ.getChannel(RabbitMQ.java:122) ~[classes!/:na]
...and some more error lines...
16:00:48.695 [pool-3-thread-1] ERROR c.slh.myprog.Core.MetricsProcessor - no channel for RabbitMQ!!! (channel is null)
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.