-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client/server/server.go->Status() returns connected when WiFi Dropouts #1932
Comments
@hurricanehrndz, the connected status has the following behavior:
If the status is not updating after a few seconds, that's an issue. We are working on a network monitor, #1904, which will respond to network changes, especially the ones that touch the default gateway. |
Thanks for the info, internal state is in server is never updated when connection to Signal or Management endpoint is terminated. Not sure if it should though |
I will attempt to test with the network monitor and report my findings |
Network monitor will not work in our testing. It does too much and creates more issues than it helps solves. I maybe able to work around it, if I can change https://github.com/netbirdio/netbird/blob/main/client/server/server.go#L615 to optionally run probes. |
Never mind, network monitor does help |
Describe the problem
client/server/server.go->Status() returns a status connected when WiFi is suddenly disconnected this contradicts the output of
netbird status
that accurately reflects the connection stateThis results in the menubar/systray item inaccurately reflecting the connection state, is this oversight or an actual design decission?
To Reproduce
Steps to reproduce the behavior:
On macOS
Expected behavior
Icon should accurately reflect the connection state
Are you using NetBird Cloud?
Nope
NetBird version
0.27.3
NetBird status -d output:
NA
The text was updated successfully, but these errors were encountered: