[rabbitmq-discuss] Heartbeat missing with heartbeat
emile at rabbitmq.com
Tue Apr 10 11:03:57 BST 2012
On 10/04/12 07:37, Alexey wrote:
> Reason: AMQP close-reason, initiated by Library, code=0, text="End of
> stream", classId=0, methodId=0, cause=System.IO.EndOfStreamException:
> Heartbeat missing with heartbeat == 5 seconds
This is the expected behaviour in a situation where the network is
unreliable. If this is a regular occurrence then consider improving the
network reliability or designing the client to cope by reconnecting.
If this error occurs when the broker runs on Windows then you should
consider increasing the heartbeat parameter. It is possible that the
broker is unable to schedule the heartbeat thread with sufficient
precision when the broker is under load.
> Also after enable heartbeat we got the following message
> Consumer 13b04f46cd014283903d9d93ee7a4029 is being shutdowned.
> Reason: AMQP close-reason, initiated by Peer, code=406,
> text="PRECONDITION_FAILED - unknown delivery tag 1", classId=60,
> methodId=80, cause=
That means you attempted to acknowledge a message with an invalid
delivery tag. Delivery tags are valid only within the channel from which
the message was received. Unacknowledged messages that were received on
a channel that closed must be retrieved again to obtain a new delivery tag.
More information about the rabbitmq-discuss