[GH-ISSUE #5897] Connection lost / Failed to disconnect error messages #12248

Open
opened 2026-08-05 01:32:43 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @pierrechapuis on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5897

Describe the problem

NetBird fails to disconnect (connection lost), which then prevents it from reconnecting.

To Reproduce

  1. From NetBird client, click on Connect: NetBird connects just fine, I can access other machines on the network.

  2. Click on Disconnect: This might work, but most of the time the UI does not update to 'Disconnected' and hangs there, still saying 'Connected' but impossible to interact with it anymore.

  3. From Activity Monitor on Mac or Processes window on Windows, kill netbird process: at that moment I get 2 notifications in a row, as Connection lost and Failed to disconnect. Then the NetBird UI becomes responsive again.

  4. Now I can reconnect manually from the NetBird UI, which sometimes works, sometimes leads to the same issue (so need to repeat steps 1-4).

--> Because of that aforementioned problem, most of the time after recovering from sleep mode, the same symptoms appear, so auto-reconnection gets stuck (I suspect that the daemon gets stuck while disconnecting when going into sleep mode, preventing it to reconnect properly once waking up).

Are you using NetBird Cloud?

No.

NetBird version

Any NetBird client > 0.66.4, on macOS and Windows (Linux not tested yet).

So for now I am basically stuck with version 0.66.4 on all machines.

Debug output

To help us resolve the problem, please attach the following anonymized status output

I cannot run netbird status -dA when this happens, the command does not return and need force quit.

More info

This issue is related to:
https://github.com/netbirdio/netbird/issues/5712

--> On that link I described the same problem, but I was restarting my Mac instead of killing the netbird daemon. So I did not catch the Connection lost and Failed to disconnect notifications at that time.

Originally created by @pierrechapuis on GitHub (Apr 15, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5897 **Describe the problem** NetBird fails to disconnect (connection lost), which then prevents it from reconnecting. **To Reproduce** 1. From NetBird client, click on Connect: NetBird connects just fine, I can access other machines on the network. 2. Click on Disconnect: This might work, but most of the time the UI does not update to '**Disconnected**' and hangs there, still saying '**Connected**' but impossible to interact with it anymore. 3. From Activity Monitor on Mac or Processes window on Windows, kill _netbird_ process: at that moment I get 2 notifications in a row, as **Connection lost** and **Failed to disconnect**. Then the NetBird UI becomes responsive again. 4. Now I can reconnect manually from the NetBird UI, which sometimes works, sometimes leads to the same issue (so need to repeat steps 1-4). --> Because of that aforementioned problem, most of the time after recovering from sleep mode, the same symptoms appear, so auto-reconnection gets stuck (I suspect that the daemon gets stuck while disconnecting when going into sleep mode, preventing it to reconnect properly once waking up). **Are you using NetBird Cloud?** No. **NetBird version** Any NetBird client **> 0.66.4, on macOS and Windows** (Linux not tested yet). So for now I am basically stuck with version 0.66.4 on all machines. **Debug output** To help us resolve the problem, please attach the following anonymized status output I cannot run netbird status -dA when this happens, the command does not return and need force quit. **More info** This issue is related to: https://github.com/netbirdio/netbird/issues/5712 --> On that link I described the same problem, but I was restarting my Mac instead of killing the netbird daemon. So I did not catch the **Connection lost** and **Failed to disconnect** notifications at that time.
saavagebueno added the triage-needed label 2026-08-05 01:32:43 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12248