[rabbitmq-discuss] Getting Transport endpoint is not connected error

Michael Klishin michael at rabbitmq.com
Mon Sep 30 11:45:57 BST 2013


On sep 30, 2013, at 2:36 p.m., Mandy <mandyce2006 at gmail.com> wrote:

> My program starts fine and run for few seconds well and then after some
> time, it will show this error.

Take a look at RabbitMQ log when that happens and post any messages
you find to the list.

> So I guess if the client cann't connect to RabbitMQ, then it will show this
> error at the first time when the application invoked.

Not necessarily, the client can use fairly high (e.g. several seconds) socket
timeouts.

> 
>> What client do you use?

> I had written Python multi threaded program which uses 'amqplib 1.0.2' ( 3rd
> party library for Python) to create this application.

Then it can be a concurrency issue that causes RabbitMQ to close the connection
(e.g. incorrect frame interleaving when publishing). RabbitMQ log will help prove
or disprove this hypothesis.

Also, have you considered using Pika instead? It is a significantly more widely used
and better maintained client.

MK



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130930/81ff9b4a/attachment.pgp>


More information about the rabbitmq-discuss mailing list