[rabbitmq-discuss] Clustered server doesn't permit local connections

Glade gladed at gmail.com
Wed May 23 18:41:49 BST 2012


I've heard this is a bug in 2.8.2. It's caused by an alarm related to disk 
space or RAM space going off at startup. Unfortunately the node never 
recovers from this condition. The workaround is to ensure that sufficient 
disk/RAM is available when the node powers up.

-Glade

On Wednesday, May 23, 2012 1:09:06 AM UTC-7, Eric Siroker wrote:
>
> I've encountered the same issue.  I believe it's a regression in RabbitMQ 
> 2.8.2.  Neither 2.7.1 nor 2.8.1 exhibit this issue for me.
>
> I'm including two test cases, one using amqplib and one using Pika.
>
> Running a two node cluster with RabbitMQ 2.8.2, these test cases will 
> succeed on one node, but fail on the other.
>
> If you restart RabbitMQ on one of the nodes, it'll sometimes switch which 
> node makes the test cases succeed.
>
> Eric
>
> ====== amqplib test case
> from amqplib import client_0_8 as amqp
>
> connection = amqp.Connection(host='', username='', password='')
>
> # Raises socket.error: [Errno 104] Connection reset by peer
> connection.close()
>
> ====== Pika test case
> import pika
>
> credentials = pika.PlainCredentials(username='', password='')
> connection_parameters = pika.ConnectionParameters(host='', 
> credentials=credentials)
> connection = pika.BlockingConnection(connection_parameters)
> channel = connection.channel()
>
> # Raises pika.exceptions.ChannelClosed
> channel.exchange_declare(exchange='exchange')
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120523/edcc5f04/attachment.htm>


More information about the rabbitmq-discuss mailing list