Decide on max elapsed time when not able to reach management or signal whether #77

Closed
opened 2025-11-20 05:05:51 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @braginini on GitHub (Nov 3, 2021).

Right now Management and Signal connections are retried in case there are some issues.
E.g. Signal or Management server is not available.

While the connection to Management and Signal is crucial for receiving system updates and negotiating new connections, peer-to-peer connections to other peers can still be open and fully functioning.

Retrying lasts for 30 min and afterward, the error is propagated higher, canceling the whole client operation (including healthy peer-to-peer connections) and starting the retry mechanism on the whole client app.

While Signal and Management won't be unavailable for so long (30 min+) do we want to give it a little bit more time for the clients to retry before canceling the whole operation?

E.g. 6,12,24 hours?

Originally created by @braginini on GitHub (Nov 3, 2021). Right now Management and Signal connections are retried in case there are some issues. E.g. Signal or Management server is not available. While the connection to Management and Signal is crucial for receiving system updates and negotiating new connections, peer-to-peer connections to other peers can still be open and fully functioning. Retrying lasts for 30 min and afterward, the error is propagated higher, canceling the whole client operation (including healthy peer-to-peer connections) and starting the retry mechanism on the whole client app. While Signal and Management won't be unavailable for so long (30 min+) do we want to give it a little bit more time for the clients to retry before canceling the whole operation? E.g. 6,12,24 hours?
saavagebueno added the client label 2025-11-20 05:05:51 -05:00
Author
Owner

@braginini commented on GitHub (Nov 4, 2021):

Additionally, when the network is unavailable on a machine, peers are constantly keeping retrying the connection to each other and fail on signaling.
Think of a mechanism to prevent such unnecessary retries.

@braginini commented on GitHub (Nov 4, 2021): Additionally, when the network is unavailable on a machine, peers are constantly keeping retrying the connection to each other and fail on signaling. Think of a mechanism to prevent such unnecessary retries.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#77