[rabbitmq-discuss] Connection remains valid but disappears from rabbitmqctl list_connections & RMQ Admin HTTP Interface

Matt G mattgurney at gmail.com
Wed Oct 19 14:35:10 BST 2011


Yes, I am using the .net client. I can see what my issue was now. I
was using the VS IDE to debug and I had put a break point into my
code, however I had also set connectionFactory.RequestedHeartbeat to 5
seconds, so after 5 seconds the channel stopped. I don't know why I
thought the messages continued to be delivered after I resumed the
debug session/removed the break point, when I try that now my model &
connection shutdown handlers immediately fire reporting
"System.IO.IOException: Unable to read data from the transport
connection: An established connection was aborted by the software in
your host machine. ". So I guess it is working the way it should,
thanks for the quick reply and sorry for raising a false alarm.

Matt.

On Oct 19, 9:45 pm, Simon MacMullen <si... at rabbitmq.com> wrote:
> On 19/10/11 11:28, Matt Gurney - Cloud Integration wrote:
>
> > I was doing some testing today and I noticed that dormant connections
> > disappear from the rabbitmqctl list_connections & the RMQ Admin HTTP
> > Interface screen.
>
> > If I create a new connection, model, exchange, queue and send a message,
> > then sleep for 30 seconds typically after about 10 seconds I will see
> > the connection disappear from the rabbitmqctl list_connections & the RMQ
> > Admin HTTP Interface screen. If the application then sends another
> > message, the connection is still valid and the message is delivered. Is
> > this expected behaviour.
>
> No, that should definitely not be happening - you're using the .net
> client? Can you post some code that demonstrates this?
>
> Cheers, Simon
> --
> Simon MacMullen
> RabbitMQ, VMware
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list