[GH-ISSUE #4168] [CLIENT] Netbird relay connections & status take a really long time since 0.51x. #8194

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

Originally created by @Spiritreader on GitHub (Jul 17, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4168

Describe the problem

All described operations work perfectly fine with 0.50.x clients and below! Even when using the latest 0.51 relays.

Ever since netbird 0.51.x released, netbird status -d takes a really long time to complete, anywhere from 10 seconds to 10 minutes.
Tested in Linux, MacOS and Windows.

It also appears that relay connections take a really long time to establish initially.

In addition, I'm having trouble restarting the netbird service and it sometimes just hangs for multiple minutes before responding again.

❯ netbird down
2025-07-18T02:01:10+02:00 ERRO client/cmd/down.go:42: call service down method: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Error: rpc error: code = DeadlineExceeded desc = context deadline exceeded

I can't tell if initial connections are also slow, but it might be related to this, possibly a regression: https://github.com/netbirdio/netbird/issues/3490

I have updated all of my relays to 0.51.1 because the release note says that otherwise it won't work. I've also verified that traffic is actually flowing through that relay between 0.51.1 netbird clients, and that all seems to work properly.

To Reproduce

Steps to reproduce the behavior:

  1. open terminal
  2. type netbird status -d
  3. Wait and observe slowly connecting relay clients and very delayed status output

Expected behavior

As in 0.50 and below, the command completes in a reasonable timeframe.

Are you using NetBird Cloud?

Selfhosted

NetBird version

0.51.1

Is any other VPN software installed?

No

Debug output

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

netbird status -dA
❯ netbird status -dA
Peers detail:
 york.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.7.158
  Public key: tmzboFiy3rpZpMuD+XWypmkrqziKgLtwx7PNPQ5uSlM=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 semaphore-setup.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.23.22
  Public key: vzZHoFGlADY/k8rkeqrGz+Wsp3T2cvFqj4cM2B7SHyw=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 ams.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.45.63
  Public key: eFQQ2KgDU+xGOhFJr558P7IIHVmRhX2FYNFJ9fXPXDs=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.0:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 53 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: -
  Latency: 34.65075ms

 suc-proxmox.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.59.13
  Public key: eCRzrv3eFPVV0oucsaOzxlY9zQz1sJ6d/65GKQzKjFs=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.203:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 47 seconds ago
  Last WireGuard handshake: 48 seconds ago
  Transfer status (received/sent) 2.0 MiB/386.2 KiB
  Quantum resistance: false
  Networks: -
  Latency: 7.911042ms

 vdr-u.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.71.100
  Public key: 5SmJhfbIQ3Nyp/aL+UUiJcWg+xS28a2miXBTIW3OeHU=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.1:62046
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 53 seconds ago
  Last WireGuard handshake: 1 minute, 58 seconds ago
  Transfer status (received/sent) 472 B/616 B
  Quantum resistance: false
  Networks: -
  Latency: 29.554834ms

 sam-phone-jetbird.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.76.4
  Public key: 1OlDcACSUtOY0I/M76HKOUNL6Jk5UL51ge/TDSg7MHI=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 rsnbdellub.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.83.46
  Public key: 1V8tYpzzj3fsBKVEZa7kd57sUOb8Ie/SsYopw3yd22c=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 intranet-reverse-proxy.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.89.12
  Public key: tDQ1qXUvqPJQ6HPXz8UqxYFlTSQunlvLPxkpSFRc7gs=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 51 seconds ago
  Last WireGuard handshake: 49 seconds ago
  Transfer status (received/sent) 803.5 KiB/29.6 KiB
  Quantum resistance: false
  Networks: -
  Latency: 26.435208ms

 yeans.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.92.53
  Public key: rT5arIf0isfNxMcv9jByhAt6ZrII031mrHh7aHWgEk4=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 desktop-geesifu.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.93.66
  Public key: QwF+W1ZdGkCrHBUoRtOrtuQrZjQbeL+BsE79WPlNgDU=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 mmdg.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.124.194
  Public key: u5F44KNIx0RqZbqtd7D0YZHCr60nHpL0DAdu3lpNZCk=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 yone.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.133.232
  Public key: BT9P9xg2ZwLh6ZXbHxwNPpB4YJWhNDKL6PpaDKwSRUM=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 yuc-proxmox.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.145.80
  Public key: Tyk0a6jqEv2yY2egTsgHC7n7WL2MIK3hm8N+rJG8Jgw=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.3:56672
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 52 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: -
  Latency: 48.371584ms

 yesktop.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.160.81
  Public key: 5AZyqFnzKer+9F4IofF4/32UUnKhxUW7a+QAN672PCo=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 dennis-pc.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.166.199
  Public key: 9mpuavXpEPdW7xjr7xX1q3rWFDMSLIhXU7rMpTQlll8=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 yuc-docker.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.171.91
  Public key: SKOk2Lb+Mi+WGWsCbSbnlGnPbySQhSSY1tetAxpPWl0=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.3:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 52 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: -
  Latency: 44.856291ms

 vava.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.179.245
  Public key: f7zBbrB9wp0JYxjs/hrZpEi2dPl4ihwadSuaOx9bcFc=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.171:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 51 seconds ago
  Last WireGuard handshake: 42 seconds ago
  Transfer status (received/sent) 596 B/860 B
  Quantum resistance: false
  Networks: -
  Latency: 6.438541ms

 yone---netbird.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.183.147
  Public key: 0F5geh3s2+vrLStwAKhGtELBUgUizBwio4jxnT6Z7XQ=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 ums.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.185.30
  Public key: wISgadPdCS170k9sFjH8gcLGzFqwuikaIAr6ZKW8HV8=
  Status: Connected
  -- detail --
  Connection type: Relayed
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 55 seconds ago
  Last WireGuard handshake: 29 seconds ago
  Transfer status (received/sent) 596 B/1.3 KiB
  Quantum resistance: false
  Networks: 192.168.178.0/24
  Latency: 0s

 sam-phone.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.187.214
  Public key: aMyjFT6srgAcXx7xLpiiQBt3UV/WtaP0eUPLhqIQZGA=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 sm-s901b.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.189.128
  Public key: 6dPde/gSIKKZr8jyPySoHSgl+HDxHWkTfkqnsj/W4ik=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 suc-docker.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.192.207
  Public key: D+196BGKddRAxpliuM1/GqEOrmALHkPRxvB1e1hxY3M=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/host
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.248:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 50 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: -
  Latency: 11.446042ms

 pihole-dang.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.199.204
  Public key: RVWis6+4qkFyIDwzXy2wSGmumVMeIlZym2EyI5N98T4=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:51822
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 52 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: 192.168.1.0/24
  Latency: 24.742834ms

 q-vm.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.205.64
  Public key: LLjF96kYsuBm5ZCywFQguDca9TyVpdk1gcrdfnt76ww=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): srflx/srflx
  ICE candidate endpoints (Local/Remote): 198.51.100.4:6056/198.51.100.2:64818
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 52 seconds ago
  Last WireGuard handshake: 43 seconds ago
  Transfer status (received/sent) 532 B/860 B
  Quantum resistance: false
  Networks: -
  Latency: 26.90825ms

 quasar.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.225.216
  Public key: +1xqatNAIwe+s1AWQ4a929J1pxo8y/2fd34Mxqh25zg=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/srflx
  ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:59595
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 51 seconds ago
  Last WireGuard handshake: 42 seconds ago
  Transfer status (received/sent) 276 B/892 B
  Quantum resistance: false
  Networks: -
  Latency: 25.840125ms

 ia-mba.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.231.109
  Public key: koCXaL5yCNeHNc3wLt31OMVD59KGBE+Toz4KDC8sRQU=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 1 minute, 1 second ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 23.258ms

 door.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.235.123
  Public key: 6L6BypqsvzpiIlXZ266UfDmQaDmZcDl6H5k45quuCCI=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 pacmaneea.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.239.45
  Public key: wFIp4bQVMfN/MsFDV+m+Ky654llA2evkVSjXOMw/ZzM=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

 194nc.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.248.170
  Public key: bkry74H4cVwlfWf0hEKTvQ+dPYUeyQdQ4BwC1SQW/RE=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): srflx/host
  ICE candidate endpoints (Local/Remote): 198.51.100.4:6056/198.51.100.5:51820
  Relay server address: rels://relay-bar.anon-IK9F1.domain
  Last connection update: 4 minutes, 52 seconds ago
  Last WireGuard handshake: 34 seconds ago
  Transfer status (received/sent) 21.8 KiB/14.8 KiB
  Quantum resistance: false
  Networks: 10.10.194.0/24
  Latency: 21.360916ms

 slap.wan.anon-IK9F1.domain:
  NetBird IP: 100.64.249.60
  Public key: 1Xxb2B7huWf0huzWeJSlIBolKRtmaCFvDTa9bPVYz2k=
  Status: Connecting
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 4 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Networks: -
  Latency: 0s

Events:
  [INFO] SYSTEM (ad1d82af-09fc-4559-bfeb-bd56729b4504)
    Message: Network map updated
    Time: 21 minutes, 29 seconds ago
  [INFO] SYSTEM (da145170-0f35-41fa-a362-1c20399758d1)
    Message: Network map updated
    Time: 12 minutes, 37 seconds ago
  [WARNING] DNS (e4ff9f3e-0125-4d74-8d71-75ec35907c88)
    Message: All upstream servers failed (probe failed)
    Time: 8 minutes, 54 seconds ago
    Metadata: upstreams: 192.168.178.1:53
  [WARNING] DNS (1c0ccd06-7001-4187-a12f-d8dbaf26c4cf)
    Message: All upstream servers failed (probe failed)
    Time: 8 minutes, 54 seconds ago
    Metadata: upstreams: 100.64.248.170:5353
  [WARNING] DNS (5bb43c27-f9ea-4aad-8858-d0d32c7f6190)
    Message: All upstream servers failed (probe failed)
    Time: 8 minutes, 54 seconds ago
    Metadata: upstreams: 192.168.1.1:53
  [INFO] SYSTEM (1f690a94-101f-47f3-9da7-90b3c5e46852)
    Message: Network map updated
    Time: 8 minutes, 54 seconds ago
  [WARNING] DNS (51fe717d-4711-4a8e-8d50-a498bc3c1bbc)
    Message: All upstream servers failed (probe failed)
    Time: 4 minutes, 55 seconds ago
    Metadata: upstreams: 192.168.178.1:53
  [WARNING] DNS (3ad5685f-07aa-4d9a-ac07-2438e3b2304b)
    Message: All upstream servers failed (probe failed)
    Time: 4 minutes, 55 seconds ago
    Metadata: upstreams: 100.64.248.170:5353
  [WARNING] DNS (146ae7a1-95de-4f08-b3ab-ca1218ac637f)
    Message: All upstream servers failed (probe failed)
    Time: 4 minutes, 55 seconds ago
    Metadata: upstreams: 192.168.1.1:53
  [INFO] SYSTEM (ed6d0b63-fb17-4610-ae15-96b58d713d61)
    Message: Network map updated
    Time: 4 minutes, 55 seconds ago
OS: darwin/arm64
Daemon version: 0.51.1
CLI version: 0.51.1
Management: Connected to https://vpn.jeffrey.anon-IK9F1.domain:443
Signal: Connected to https://vpn.jeffrey.anon-IK9F1.domain:443
Relays:
  [stun:turn.jeffrey.anon-IK9F1.domain:3478] is Available
  [turn:turn.jeffrey.anon-IK9F1.domain:3478?transport=udp] is Available
  [rels://relay-bar.anon-IK9F1.domain] is Available
Nameservers:
  [192.168.178.1:53] for [anon-TfYrQ.domain] is Available
  [192.168.1.1:53] for [internetbox.anon-WccnA.domain] is Available
  [100.64.248.170:5353] for [anon-qTK3P.domain] is Available
FQDN: glaive.wan.anon-IK9F1.domain
NetBird IP: 100.64.45.214/16
Interface type: Userspace
Quantum resistance: false
Lazy connection: false
Networks: -
Forwarding rules: 0
Peers count: 13/30 Connected

Create and upload a debug bundle, and share the returned file key:

netbird debug for 1m -AS -U

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • 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 @Spiritreader on GitHub (Jul 17, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4168 **Describe the problem** All described operations work perfectly fine with 0.50.x clients and below! Even when using the latest 0.51 relays. Ever since netbird 0.51.x released, `netbird status -d` takes a really long time to complete, anywhere from 10 seconds to 10 minutes. Tested in Linux, MacOS and Windows. It also appears that relay connections take a really long time to establish initially. In addition, I'm having trouble restarting the netbird service and it sometimes just hangs for multiple minutes before responding again. ``` ❯ netbird down 2025-07-18T02:01:10+02:00 ERRO client/cmd/down.go:42: call service down method: rpc error: code = DeadlineExceeded desc = context deadline exceeded Error: rpc error: code = DeadlineExceeded desc = context deadline exceeded ``` I can't tell if initial connections are also slow, but it might be related to this, possibly a regression: https://github.com/netbirdio/netbird/issues/3490 I have updated all of my relays to 0.51.1 because the release note says that otherwise it won't work. I've also verified that traffic is actually flowing through that relay between 0.51.1 netbird clients, and that all seems to work properly. **To Reproduce** Steps to reproduce the behavior: 1. open terminal 2. type netbird status -d 3. Wait and observe slowly connecting relay clients and very delayed status output **Expected behavior** As in 0.50 and below, the command completes in a reasonable timeframe. **Are you using NetBird Cloud?** Selfhosted **NetBird version** 0.51.1 **Is any other VPN software installed?** No **Debug output** To help us resolve the problem, please attach the following anonymized status output: ``` netbird status -dA ❯ netbird status -dA Peers detail: york.wan.anon-IK9F1.domain: NetBird IP: 100.64.7.158 Public key: tmzboFiy3rpZpMuD+XWypmkrqziKgLtwx7PNPQ5uSlM= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s semaphore-setup.wan.anon-IK9F1.domain: NetBird IP: 100.64.23.22 Public key: vzZHoFGlADY/k8rkeqrGz+Wsp3T2cvFqj4cM2B7SHyw= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s ams.wan.anon-IK9F1.domain: NetBird IP: 100.64.45.63 Public key: eFQQ2KgDU+xGOhFJr558P7IIHVmRhX2FYNFJ9fXPXDs= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.0:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 53 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: - Latency: 34.65075ms suc-proxmox.wan.anon-IK9F1.domain: NetBird IP: 100.64.59.13 Public key: eCRzrv3eFPVV0oucsaOzxlY9zQz1sJ6d/65GKQzKjFs= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.203:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 47 seconds ago Last WireGuard handshake: 48 seconds ago Transfer status (received/sent) 2.0 MiB/386.2 KiB Quantum resistance: false Networks: - Latency: 7.911042ms vdr-u.wan.anon-IK9F1.domain: NetBird IP: 100.64.71.100 Public key: 5SmJhfbIQ3Nyp/aL+UUiJcWg+xS28a2miXBTIW3OeHU= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.1:62046 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 53 seconds ago Last WireGuard handshake: 1 minute, 58 seconds ago Transfer status (received/sent) 472 B/616 B Quantum resistance: false Networks: - Latency: 29.554834ms sam-phone-jetbird.wan.anon-IK9F1.domain: NetBird IP: 100.64.76.4 Public key: 1OlDcACSUtOY0I/M76HKOUNL6Jk5UL51ge/TDSg7MHI= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s rsnbdellub.wan.anon-IK9F1.domain: NetBird IP: 100.64.83.46 Public key: 1V8tYpzzj3fsBKVEZa7kd57sUOb8Ie/SsYopw3yd22c= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s intranet-reverse-proxy.wan.anon-IK9F1.domain: NetBird IP: 100.64.89.12 Public key: tDQ1qXUvqPJQ6HPXz8UqxYFlTSQunlvLPxkpSFRc7gs= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 51 seconds ago Last WireGuard handshake: 49 seconds ago Transfer status (received/sent) 803.5 KiB/29.6 KiB Quantum resistance: false Networks: - Latency: 26.435208ms yeans.wan.anon-IK9F1.domain: NetBird IP: 100.64.92.53 Public key: rT5arIf0isfNxMcv9jByhAt6ZrII031mrHh7aHWgEk4= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s desktop-geesifu.wan.anon-IK9F1.domain: NetBird IP: 100.64.93.66 Public key: QwF+W1ZdGkCrHBUoRtOrtuQrZjQbeL+BsE79WPlNgDU= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s mmdg.wan.anon-IK9F1.domain: NetBird IP: 100.64.124.194 Public key: u5F44KNIx0RqZbqtd7D0YZHCr60nHpL0DAdu3lpNZCk= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s yone.wan.anon-IK9F1.domain: NetBird IP: 100.64.133.232 Public key: BT9P9xg2ZwLh6ZXbHxwNPpB4YJWhNDKL6PpaDKwSRUM= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s yuc-proxmox.wan.anon-IK9F1.domain: NetBird IP: 100.64.145.80 Public key: Tyk0a6jqEv2yY2egTsgHC7n7WL2MIK3hm8N+rJG8Jgw= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.3:56672 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 52 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: - Latency: 48.371584ms yesktop.wan.anon-IK9F1.domain: NetBird IP: 100.64.160.81 Public key: 5AZyqFnzKer+9F4IofF4/32UUnKhxUW7a+QAN672PCo= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s dennis-pc.wan.anon-IK9F1.domain: NetBird IP: 100.64.166.199 Public key: 9mpuavXpEPdW7xjr7xX1q3rWFDMSLIhXU7rMpTQlll8= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s yuc-docker.wan.anon-IK9F1.domain: NetBird IP: 100.64.171.91 Public key: SKOk2Lb+Mi+WGWsCbSbnlGnPbySQhSSY1tetAxpPWl0= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.3:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 52 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: - Latency: 44.856291ms vava.wan.anon-IK9F1.domain: NetBird IP: 100.64.179.245 Public key: f7zBbrB9wp0JYxjs/hrZpEi2dPl4ihwadSuaOx9bcFc= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.171:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 51 seconds ago Last WireGuard handshake: 42 seconds ago Transfer status (received/sent) 596 B/860 B Quantum resistance: false Networks: - Latency: 6.438541ms yone---netbird.wan.anon-IK9F1.domain: NetBird IP: 100.64.183.147 Public key: 0F5geh3s2+vrLStwAKhGtELBUgUizBwio4jxnT6Z7XQ= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s ums.wan.anon-IK9F1.domain: NetBird IP: 100.64.185.30 Public key: wISgadPdCS170k9sFjH8gcLGzFqwuikaIAr6ZKW8HV8= Status: Connected -- detail -- Connection type: Relayed ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 55 seconds ago Last WireGuard handshake: 29 seconds ago Transfer status (received/sent) 596 B/1.3 KiB Quantum resistance: false Networks: 192.168.178.0/24 Latency: 0s sam-phone.wan.anon-IK9F1.domain: NetBird IP: 100.64.187.214 Public key: aMyjFT6srgAcXx7xLpiiQBt3UV/WtaP0eUPLhqIQZGA= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s sm-s901b.wan.anon-IK9F1.domain: NetBird IP: 100.64.189.128 Public key: 6dPde/gSIKKZr8jyPySoHSgl+HDxHWkTfkqnsj/W4ik= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s suc-docker.wan.anon-IK9F1.domain: NetBird IP: 100.64.192.207 Public key: D+196BGKddRAxpliuM1/GqEOrmALHkPRxvB1e1hxY3M= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/host ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/192.168.0.248:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 50 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: - Latency: 11.446042ms pihole-dang.wan.anon-IK9F1.domain: NetBird IP: 100.64.199.204 Public key: RVWis6+4qkFyIDwzXy2wSGmumVMeIlZym2EyI5N98T4= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:51822 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 52 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: 192.168.1.0/24 Latency: 24.742834ms q-vm.wan.anon-IK9F1.domain: NetBird IP: 100.64.205.64 Public key: LLjF96kYsuBm5ZCywFQguDca9TyVpdk1gcrdfnt76ww= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): srflx/srflx ICE candidate endpoints (Local/Remote): 198.51.100.4:6056/198.51.100.2:64818 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 52 seconds ago Last WireGuard handshake: 43 seconds ago Transfer status (received/sent) 532 B/860 B Quantum resistance: false Networks: - Latency: 26.90825ms quasar.wan.anon-IK9F1.domain: NetBird IP: 100.64.225.216 Public key: +1xqatNAIwe+s1AWQ4a929J1pxo8y/2fd34Mxqh25zg= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/srflx ICE candidate endpoints (Local/Remote): 192.168.0.32:51820/198.51.100.2:59595 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 51 seconds ago Last WireGuard handshake: 42 seconds ago Transfer status (received/sent) 276 B/892 B Quantum resistance: false Networks: - Latency: 25.840125ms ia-mba.wan.anon-IK9F1.domain: NetBird IP: 100.64.231.109 Public key: koCXaL5yCNeHNc3wLt31OMVD59KGBE+Toz4KDC8sRQU= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 1 minute, 1 second ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 23.258ms door.wan.anon-IK9F1.domain: NetBird IP: 100.64.235.123 Public key: 6L6BypqsvzpiIlXZ266UfDmQaDmZcDl6H5k45quuCCI= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s pacmaneea.wan.anon-IK9F1.domain: NetBird IP: 100.64.239.45 Public key: wFIp4bQVMfN/MsFDV+m+Ky654llA2evkVSjXOMw/ZzM= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s 194nc.wan.anon-IK9F1.domain: NetBird IP: 100.64.248.170 Public key: bkry74H4cVwlfWf0hEKTvQ+dPYUeyQdQ4BwC1SQW/RE= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): srflx/host ICE candidate endpoints (Local/Remote): 198.51.100.4:6056/198.51.100.5:51820 Relay server address: rels://relay-bar.anon-IK9F1.domain Last connection update: 4 minutes, 52 seconds ago Last WireGuard handshake: 34 seconds ago Transfer status (received/sent) 21.8 KiB/14.8 KiB Quantum resistance: false Networks: 10.10.194.0/24 Latency: 21.360916ms slap.wan.anon-IK9F1.domain: NetBird IP: 100.64.249.60 Public key: 1Xxb2B7huWf0huzWeJSlIBolKRtmaCFvDTa9bPVYz2k= Status: Connecting -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 4 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Networks: - Latency: 0s Events: [INFO] SYSTEM (ad1d82af-09fc-4559-bfeb-bd56729b4504) Message: Network map updated Time: 21 minutes, 29 seconds ago [INFO] SYSTEM (da145170-0f35-41fa-a362-1c20399758d1) Message: Network map updated Time: 12 minutes, 37 seconds ago [WARNING] DNS (e4ff9f3e-0125-4d74-8d71-75ec35907c88) Message: All upstream servers failed (probe failed) Time: 8 minutes, 54 seconds ago Metadata: upstreams: 192.168.178.1:53 [WARNING] DNS (1c0ccd06-7001-4187-a12f-d8dbaf26c4cf) Message: All upstream servers failed (probe failed) Time: 8 minutes, 54 seconds ago Metadata: upstreams: 100.64.248.170:5353 [WARNING] DNS (5bb43c27-f9ea-4aad-8858-d0d32c7f6190) Message: All upstream servers failed (probe failed) Time: 8 minutes, 54 seconds ago Metadata: upstreams: 192.168.1.1:53 [INFO] SYSTEM (1f690a94-101f-47f3-9da7-90b3c5e46852) Message: Network map updated Time: 8 minutes, 54 seconds ago [WARNING] DNS (51fe717d-4711-4a8e-8d50-a498bc3c1bbc) Message: All upstream servers failed (probe failed) Time: 4 minutes, 55 seconds ago Metadata: upstreams: 192.168.178.1:53 [WARNING] DNS (3ad5685f-07aa-4d9a-ac07-2438e3b2304b) Message: All upstream servers failed (probe failed) Time: 4 minutes, 55 seconds ago Metadata: upstreams: 100.64.248.170:5353 [WARNING] DNS (146ae7a1-95de-4f08-b3ab-ca1218ac637f) Message: All upstream servers failed (probe failed) Time: 4 minutes, 55 seconds ago Metadata: upstreams: 192.168.1.1:53 [INFO] SYSTEM (ed6d0b63-fb17-4610-ae15-96b58d713d61) Message: Network map updated Time: 4 minutes, 55 seconds ago OS: darwin/arm64 Daemon version: 0.51.1 CLI version: 0.51.1 Management: Connected to https://vpn.jeffrey.anon-IK9F1.domain:443 Signal: Connected to https://vpn.jeffrey.anon-IK9F1.domain:443 Relays: [stun:turn.jeffrey.anon-IK9F1.domain:3478] is Available [turn:turn.jeffrey.anon-IK9F1.domain:3478?transport=udp] is Available [rels://relay-bar.anon-IK9F1.domain] is Available Nameservers: [192.168.178.1:53] for [anon-TfYrQ.domain] is Available [192.168.1.1:53] for [internetbox.anon-WccnA.domain] is Available [100.64.248.170:5353] for [anon-qTK3P.domain] is Available FQDN: glaive.wan.anon-IK9F1.domain NetBird IP: 100.64.45.214/16 Interface type: Userspace Quantum resistance: false Lazy connection: false Networks: - Forwarding rules: 0 Peers count: 13/30 Connected ``` Create and upload a debug bundle, and share the returned file key: netbird debug for 1m -AS -U **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [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 2026-08-05 01:16:46 -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#8194