Client disconnects due to a wrong retry logic #72

Closed
opened 2025-11-20 05:05:49 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @braginini on GitHub (Oct 31, 2021).

Originally assigned to: @braginini on GitHub.

Wiretrustee client has a Management server connection retry logic with a MaxElapsedTime = 3 days.
The goal of this is to prevent infinite retrying of the client app if the issue is permanent (e.g. client was excluded from the network)

What happens is that on a single unsuccessful connection to the management system the retry mechanism starts the 3 days timer.
Even if the 2nd attempt was successful, after 3 days in case there was a connection error the backoff mechanism quits retrying.

There should be some logic resetting the backoff mechanism on successful connection to Management.

Originally created by @braginini on GitHub (Oct 31, 2021). Originally assigned to: @braginini on GitHub. Wiretrustee client has a Management server connection retry logic with a MaxElapsedTime = 3 days. The goal of this is to prevent infinite retrying of the client app if the issue is permanent (e.g. client was excluded from the network) What happens is that on a single unsuccessful connection to the management system the retry mechanism starts the 3 days timer. Even if the 2nd attempt was successful, after 3 days in case there was a connection error the backoff mechanism quits retrying. There should be some logic resetting the backoff mechanism on successful connection to Management.
saavagebueno added the bug label 2025-11-20 05:05:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#72