Connection fails to restart on network switch #1

Open
opened 2025-11-20 05:04:42 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @braginini on GitHub (Apr 18, 2021).

Originally assigned to: @braginini on GitHub.

What?

  1. connect 2 peers
  2. switch network on one of the peers (e.g. connect to a different wifi net or just turn wifi off/on)
  3. peer will attempt to reconnect but will fail in some cases
  4. connection won't be established anymore

Why?
When a peer goes offline (e.g. wi-fi network switch) a connection to signal drops. While it will be reestablished later, a process of Connection.Restart() has been already triggered and an attempt to signal fails. Restart doesn't continue.

Originally created by @braginini on GitHub (Apr 18, 2021). Originally assigned to: @braginini on GitHub. **What?** 1. connect 2 peers 2. switch network on one of the peers (e.g. connect to a different wifi net or just turn wifi off/on) 3. peer will attempt to reconnect but will fail in some cases 4. connection won't be established anymore **Why?** When a peer goes offline (e.g. wi-fi network switch) a connection to signal drops. While it will be reestablished later, a process of Connection.Restart() has been already triggered and an attempt to signal fails. Restart doesn't continue.
saavagebueno added the bug label 2025-11-20 05:04:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1