No peers in dashboard and cli looses peers after a day even with management connected #1774

Open
opened 2025-11-20 06:06:28 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @jvanbruegge on GitHub (Apr 3, 2025).

Describe the problem

I recently updated from 0.36.6 to 0.39.2 and since then netbird stopped working properly.
If I reconnect with the client on two devices (with netbird down && netbird up), both clis will see 1 peer each. However the dashboard says that no clients are connected. After a day or so, the clis will have lost the connection to the other peer and need a reconnection again.

To Reproduce

Steps to reproduce the behavior:

  1. Update to 0.29.2
  2. Connect two peers to the network
  3. Look at the dashboard (see no peers connected)
  4. Wait a day
  5. Clients have lost connection with each other

Expected behavior

Dashboard shows the two peers and they keep the connection for longer (and try to reconnected if disconnected?)

Are you using NetBird Cloud?

Self-Hosted

NetBird version

0.39.2

Is any other VPN software installed?

No

Debug output

To help us resolve the problem, please attach the following debug output

caladan here is the peer I manually reconnected just now (netbird down && netbird up on both my laptop and caladan). vps is the server that hosts the control plane, but it also runs a client that was connected yesterday but lost the connection in the meantime. nas is a remote server that I can access only via netbird and since the update it also does not reconnect to the server automatically. hwlap0036-macs is my laptop.

nas is on netbird 0.36.6 (which I can't update at the moment because it lost connection), all others are one 0.39.2

netbird status -dA for laptop
Peers detail:
 caladan.net.anon-Tahsh.domain:
  NetBird IP: 100.107.79.138
  Public key: OyaccKy8y/+itamr2Y9EGJ/iU4PCBuQtgDxdSVGHXHE=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.56.1:51820/192.168.0.1:51820
  Relay server address: 
  Last connection update: 4 minutes, 18 seconds ago
  Last WireGuard handshake: 7 seconds ago
  Transfer status (received/sent) 308 B/860 B
  Quantum resistance: false
  Networks: -
  Latency: 2.493837ms

 vps.net.anon-Tahsh.domain:
  NetBird IP: 100.107.135.146
  Public key: /X3NbBN7YCMA153QnJYohpjWD8hxMHepI/EuVs9LGVc=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 nas.net.anon-Tahsh.domain:
  NetBird IP: 100.107.190.186
  Public key: rW2aDGhEim1Aw9jM4nYhmEBY7DCJL2QwH8+fxkO0Ilk=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

Events:
  [INFO] SYSTEM (0f513523-451f-4975-91d5-7c512f6eb5da)
    Message: Network map updated
    Time: 1 day, 18 hours ago
  [INFO] SYSTEM (b025fe36-ae6a-4959-a265-02b31e2ac567)
    Message: Network map updated
    Time: 1 day, 18 hours ago
  [INFO] SYSTEM (6b419d2d-62e6-4eda-9468-4067b0055d60)
    Message: Network map updated
    Time: 23 hours, 40 minutes ago
  [INFO] SYSTEM (b2d4332f-fb52-4283-a53b-3916d09f530f)
    Message: Network map updated
    Time: 23 hours, 28 minutes ago
  [INFO] SYSTEM (3b94d54a-8599-4ac1-8c1e-3132867bae83)
    Message: Network map updated
    Time: 23 hours, 28 minutes ago
  [INFO] SYSTEM (6909b71d-f786-48c1-a964-22d132fa557d)
    Message: Network map updated
    Time: 4 minutes, 19 seconds ago
OS: linux/amd64
Daemon version: 0.39.2
CLI version: 0.39.2
Management: Connected to https://netbird.anon-Tahsh.domain:443
Signal: Connected to https://netbird.anon-Tahsh.domain:443
Relays: 
  [stun:netbird.anon-Tahsh.domain:3478] is Available
  [turn:netbird.anon-Tahsh.domain:3478?transport=udp] is Available
Nameservers: 
FQDN: hwlap0036-macs.net.anon-Tahsh.domain
NetBird IP: 100.107.26.184/16
Interface type: Kernel
Quantum resistance: false
Networks: -
Forwarding rules: 0
Peers count: 1/15 Connected
netbird status -dA for vps server
Peers detail:
 hwlap0036-macs.net.anon-s8o8q.domain:
  NetBird IP: 100.107.26.184
  Public key: dAxu2MPs/FsKQULsbr0GATkD8lc1zkZezQbwoc2r6jc=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 22 hours, 27 minutes ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 38.710019ms

 caladan.net.anon-s8o8q.domain:
  NetBird IP: 100.107.79.138
  Public key: OyaccKy8y/+itamr2Y9EGJ/iU4PCBuQtgDxdSVGHXHE=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: 13 hours, 7 minutes ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 39.507273ms

 nas.net.anon-s8o8q.domain:
  NetBird IP: 100.107.190.186
  Public key: rW2aDGhEim1Aw9jM4nYhmEBY7DCJL2QwH8+fxkO0Ilk=
  Status: Disconnected
  -- detail --
  Connection type: 
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: 
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

Events:
  [INFO] SYSTEM (880da02c-afcf-4b41-bd54-cc5d22ae4ee4)
    Message: Network map updated
    Time: 23 hours, 34 minutes ago
OS: linux/amd64
Daemon version: 0.39.2
CLI version: 0.39.2
Management: Connected to https://netbird.anon-s8o8q.domain:443
Signal: Connected to https://netbird.anon-s8o8q.domain:443
Relays: 
  [stun:netbird.anon-s8o8q.domain:3478] is Available
  [turn:netbird.anon-s8o8q.domain:3478?transport=udp] is Available
Nameservers: 
FQDN: vps.net.anon-s8o8q.domain
NetBird IP: 100.107.135.146/16
Interface type: Kernel
Quantum resistance: false
Networks: -
Forwarding rules: 0
Peers count: 0/15 Connected

As well as the file created by

netbird debug for 1m -AS

netbird.debug.3962987827.zip (from vps)

netbird.debug.1492648304.zip (from laptop)

Have you tried these troubleshooting steps?

  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @jvanbruegge on GitHub (Apr 3, 2025). **Describe the problem** I recently updated from 0.36.6 to 0.39.2 and since then netbird stopped working properly. If I reconnect with the client on two devices (with `netbird down && netbird up`), both clis will see 1 peer each. However the dashboard says that no clients are connected. After a day or so, the clis will have lost the connection to the other peer and need a reconnection again. **To Reproduce** Steps to reproduce the behavior: 1. Update to 0.29.2 2. Connect two peers to the network 3. Look at the dashboard (see no peers connected) 4. Wait a day 5. Clients have lost connection with each other **Expected behavior** Dashboard shows the two peers and they keep the connection for longer (and try to reconnected if disconnected?) **Are you using NetBird Cloud?** Self-Hosted **NetBird version** 0.39.2 **Is any other VPN software installed?** No **Debug output** To help us resolve the problem, please attach the following debug output caladan here is the peer I manually reconnected just now (`netbird down && netbird up` on both my laptop and caladan). vps is the server that hosts the control plane, but it also runs a client that was connected yesterday but lost the connection in the meantime. nas is a remote server that I can access only via netbird and since the update it also does not reconnect to the server automatically. hwlap0036-macs is my laptop. nas is on netbird 0.36.6 (which I can't update at the moment because it lost connection), all others are one 0.39.2 <details><summary>netbird status -dA for laptop</summary> ``` Peers detail: caladan.net.anon-Tahsh.domain: NetBird IP: 100.107.79.138 Public key: OyaccKy8y/+itamr2Y9EGJ/iU4PCBuQtgDxdSVGHXHE= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.56.1:51820/192.168.0.1:51820 Relay server address: Last connection update: 4 minutes, 18 seconds ago Last WireGuard handshake: 7 seconds ago Transfer status (received/sent) 308 B/860 B Quantum resistance: false Networks: - Latency: 2.493837ms vps.net.anon-Tahsh.domain: NetBird IP: 100.107.135.146 Public key: /X3NbBN7YCMA153QnJYohpjWD8hxMHepI/EuVs9LGVc= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: - Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s nas.net.anon-Tahsh.domain: NetBird IP: 100.107.190.186 Public key: rW2aDGhEim1Aw9jM4nYhmEBY7DCJL2QwH8+fxkO0Ilk= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: - Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s Events: [INFO] SYSTEM (0f513523-451f-4975-91d5-7c512f6eb5da) Message: Network map updated Time: 1 day, 18 hours ago [INFO] SYSTEM (b025fe36-ae6a-4959-a265-02b31e2ac567) Message: Network map updated Time: 1 day, 18 hours ago [INFO] SYSTEM (6b419d2d-62e6-4eda-9468-4067b0055d60) Message: Network map updated Time: 23 hours, 40 minutes ago [INFO] SYSTEM (b2d4332f-fb52-4283-a53b-3916d09f530f) Message: Network map updated Time: 23 hours, 28 minutes ago [INFO] SYSTEM (3b94d54a-8599-4ac1-8c1e-3132867bae83) Message: Network map updated Time: 23 hours, 28 minutes ago [INFO] SYSTEM (6909b71d-f786-48c1-a964-22d132fa557d) Message: Network map updated Time: 4 minutes, 19 seconds ago OS: linux/amd64 Daemon version: 0.39.2 CLI version: 0.39.2 Management: Connected to https://netbird.anon-Tahsh.domain:443 Signal: Connected to https://netbird.anon-Tahsh.domain:443 Relays: [stun:netbird.anon-Tahsh.domain:3478] is Available [turn:netbird.anon-Tahsh.domain:3478?transport=udp] is Available Nameservers: FQDN: hwlap0036-macs.net.anon-Tahsh.domain NetBird IP: 100.107.26.184/16 Interface type: Kernel Quantum resistance: false Networks: - Forwarding rules: 0 Peers count: 1/15 Connected ``` </details> <details><summary>netbird status -dA for vps server</summary> ``` Peers detail: hwlap0036-macs.net.anon-s8o8q.domain: NetBird IP: 100.107.26.184 Public key: dAxu2MPs/FsKQULsbr0GATkD8lc1zkZezQbwoc2r6jc= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 22 hours, 27 minutes ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 38.710019ms caladan.net.anon-s8o8q.domain: NetBird IP: 100.107.79.138 Public key: OyaccKy8y/+itamr2Y9EGJ/iU4PCBuQtgDxdSVGHXHE= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 13 hours, 7 minutes ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 39.507273ms nas.net.anon-s8o8q.domain: NetBird IP: 100.107.190.186 Public key: rW2aDGhEim1Aw9jM4nYhmEBY7DCJL2QwH8+fxkO0Ilk= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: - Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s Events: [INFO] SYSTEM (880da02c-afcf-4b41-bd54-cc5d22ae4ee4) Message: Network map updated Time: 23 hours, 34 minutes ago OS: linux/amd64 Daemon version: 0.39.2 CLI version: 0.39.2 Management: Connected to https://netbird.anon-s8o8q.domain:443 Signal: Connected to https://netbird.anon-s8o8q.domain:443 Relays: [stun:netbird.anon-s8o8q.domain:3478] is Available [turn:netbird.anon-s8o8q.domain:3478?transport=udp] is Available Nameservers: FQDN: vps.net.anon-s8o8q.domain NetBird IP: 100.107.135.146/16 Interface type: Kernel Quantum resistance: false Networks: - Forwarding rules: 0 Peers count: 0/15 Connected ``` </details> As well as the file created by netbird debug for 1m -AS [netbird.debug.3962987827.zip (from vps)](https://github.com/user-attachments/files/19584652/netbird.debug.3962987827.zip) [netbird.debug.1492648304.zip (from laptop)](https://github.com/user-attachments/files/19584707/netbird.debug.1492648304.zip) **Have you tried these troubleshooting steps?** - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client - [x] Disabled other VPN software - [x] Checked firewall settings
saavagebueno added the triage-needed label 2025-11-20 06:06:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1774