On 08/05/2020 3:04 pm, Michael Ivanov wrote:
I attached proton trace with FRM added. Short messages as below are my manual
heartbeat messages, sent each 5 minutes:
[0xbdb950]:0 -> @transfer(20) [handle=0, delivery-id=3,
delivery-tag=b"\x03\x00\x00\x00\x00\x00\x00\x00", message-format=0,
settled=true] (61)
"\x00SpE\x00Ss\xd0\x00\x00\x001\x00\x00\x00\x03@@\xa1)amqp://157.200.89.200:5672/BPM.FINNAIR.IN"
At remote side we have the following error:
2020-05-08 13:54:23.896 [error] <0.10682.4> closing AMQP connection <0.10682.4>
(10.42.0.1:1555 -> 10.42.0.78:5672):
missed heartbeats from client, timeout: runnings
With corresponding message in proton trace file:
CONNECTION ERROR connection aborted (remote)
I cannot identify anything like heartbeat inn trace file. Do I miss sthing?
No, there are no heartbeats sent. RabbitMQ is specifying an idle-timeout
of 60000ms i.e. 1 minute, which is why your messages do not suffice. If
you sent them more frequently that would work.
Are you using the proactor for IO or do you have your own solution
there? If the latter you need to call pn_transport_tick, I believe, to
have heartbeats sent out. The return from that tells you when you must
call it again.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]