HomePhabricator
Diffusion Comm 5bf4d6b9a469

[tunnelbroker] Trigger AMQP reconnect when closing session

Description

[tunnelbroker] Trigger AMQP reconnect when closing session

Summary:
Most of errors were happening here. WS session was closed so consumer cancelation and queue removal calls weren't able to succeed.

Depends on D13606

Test Plan:
Observing logs on staging. Possible but hard to reproduce with commtest
Can also be reproduced by:

  • Connecting a device to healthy Tunnelbroker
  • Don't make any traffic
  • Disconnect RabbitMQ
  • Then disconnect device

Reviewers: kamil, varun, will

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13607

Details

Provenance
bartekAuthored on Oct 3 2024, 1:18 PM
Reviewer
kamil
Differential Revision
D13607: [tunnelbroker] Trigger AMQP reconnect when closing session
Parents
rCOMM7649ca4931b2: [tunnelbroker] Recover AMQP consumers
Branches
Unknown
Tags
Unknown