[rabbitmq-discuss] Connection closed problem with python pika

Michael Klishin mklishin at gopivotal.com
Sun Mar 9 08:52:44 GMT 2014

On 7 Mar 2014, at 12:02, Михаил Доронин <warrior2031 at gmail.com> wrote:

> The details are in this post.
> http://stackoverflow.com/questions/22192909/connection-closed-in-rabbitmq-for-some-reason-after-some-time

Relevant log line: {heartbeat_timeout,running}.

Something prevents BlockingConnection from sending heartbeats, so RabbitMQ considers your client unreachable or dead. You have 3 options:

 * Avoid the blocking behaviour
 * Increase heartbeat interval
 * Try alternative connection implementations, e.g. Tornado.


Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list