netbird shows connected but peer count 1/2 and unable to connect to other devices. #1883

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

Originally created by @raaron773 on GitHub (May 15, 2025).

Hi,

I just installed and setup netbird. I am using the default policy, I have ssh enabled and key expiry disabled.

Here's my netbird status -d
device1 is shutdown for the time being but device2 and device3 both are running but even then it should show peer count: 2/3 right?

I tried pinging, ssh, telnet it times out. I would appreciate some help.

netbird status --detail
Peers detail:
 device1.netbird.selfhosted:
  NetBird IP: 100.89.150.64
  Public key: Pja9OtExcV0Y7nBSmIIkVrlRJqp5/Neej3ruUAaX2Ds=
  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

 device2.netbird.selfhosted:
  NetBird IP: 100.89.187.88
  Public key: XNhXaQnNcqqByl1u4RS8IV6i9nPeWuLqa5aTWw+h6U4=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): srflx/srflx
  ICE candidate endpoints (Local/Remote): 103.178.134.111:51820/103.178.134.103:51820
  Relay server address: rels://netbird.mydomain.org:443
  Last connection update: 48 seconds ago
  Last WireGuard handshake: 44 seconds ago
  Transfer status (received/sent) 272 B/964 B
  Quantum resistance: false
  Networks: 10.0.0.0/32
  Latency: 6.531653ms

Events:
  [INFO] SYSTEM (268cfef9-87e3-42c8-9505-f30583d97531)
    Message: Network map updated
    Time: 8 minutes, 43 seconds ago
  [INFO] SYSTEM (558f0d33-7ec1-4ec8-92e4-b4bee161d76d)
    Message: Network map updated
    Time: 6 minutes, 30 seconds ago
  [WARNING] DNS (3b2de0c5-bd2e-4ed3-bfbf-427bfa3c57b5)
    Message: All upstream servers failed (probe failed)
    Time: 3 minutes, 34 seconds ago
    Metadata: upstreams: 9.9.9.9:53, 149.112.112.112:53
  [INFO] SYSTEM (5f00d8c8-db05-4bef-87d5-b386e6c69fc3)
    Message: Network map updated
    Time: 3 minutes, 34 seconds ago
  [INFO] SYSTEM (06e64912-fbe0-4a5b-929c-29657d5c6a99)
    Message: Network map updated
    Time: 50 seconds ago
OS: linux/amd64
Daemon version: 0.43.3
CLI version: 0.43.3
Management: Connected to https://netbird.mydomain.org:443
Signal: Connected to https://netbird.mydomain.org:443
Relays: 
  [stun:netbird.mydomain.org:3478] is Available
  [turn:netbird.mydomain.org:3478?transport=udp] is Available
  [rels://netbird.mydomain.org:443] is Available
Nameservers: 
FQDN: device3.netbird.selfhosted
NetBird IP: 100.89.221.221/16
Interface type: Kernel
Quantum resistance: false
Networks: -
Forwarding rules: 0
Peers count: 1/2 Connected
[user-device3][device3][~]
$ ping 100.89.187.88
PING 100.89.187.88 (100.89.187.88) 56(84) bytes of data.
^C
--- 100.89.187.88 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9177ms

[user-device3][device3][~]
$ ping -c 3 103.178.134.103
PING 103.178.134.103 (103.178.134.103) 56(84) bytes of data.

--- 103.178.134.103 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2056ms

[user-device3][device3][~]
$ ping -c 3 100.89.187.88
PING 100.89.187.88 (100.89.187.88) 56(84) bytes of data.

--- 100.89.187.88 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2055ms

[user-device3][device3][~]
$ ping -c 3 device2.netbird.selfhosted
ping: device2.netbird.selfhosted: Temporary failure in name resolution
[user-device3][device3][~]
$ ping -c 3 device2.internal
ping: device2.internal: Name or service not known

My netbird client versions is 0.43.3 I am using Ubuntu 24.04LTS as well as Debian 12.

If I try netbird ssh it times out as well

$netbird ssh 100.89.187.88
Error: dial tcp 100.89.187.88:44338: i/o timeout
Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer
You can verify the connection by running:

 netbird status
Error: dial tcp 103.178.134.103:44338: i/o timeout
$ netbird ssh 103.178.134.111
Error: dial tcp 103.178.134.111:44338: i/o timeout
Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer
You can verify the connection by running:

 netbird status

Error: dial tcp 103.178.134.111:44338: i/o timeout

Originally created by @raaron773 on GitHub (May 15, 2025). Hi, I just installed and setup netbird. I am using the default policy, I have ssh enabled and key expiry disabled. Here's my `netbird status -d` `device1` is shutdown for the time being but `device2` and `device3` both are running but even then it should show `peer count: 2/3` right? I tried pinging, ssh, telnet it times out. I would appreciate some help. ``` netbird status --detail Peers detail: device1.netbird.selfhosted: NetBird IP: 100.89.150.64 Public key: Pja9OtExcV0Y7nBSmIIkVrlRJqp5/Neej3ruUAaX2Ds= 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 device2.netbird.selfhosted: NetBird IP: 100.89.187.88 Public key: XNhXaQnNcqqByl1u4RS8IV6i9nPeWuLqa5aTWw+h6U4= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): srflx/srflx ICE candidate endpoints (Local/Remote): 103.178.134.111:51820/103.178.134.103:51820 Relay server address: rels://netbird.mydomain.org:443 Last connection update: 48 seconds ago Last WireGuard handshake: 44 seconds ago Transfer status (received/sent) 272 B/964 B Quantum resistance: false Networks: 10.0.0.0/32 Latency: 6.531653ms Events: [INFO] SYSTEM (268cfef9-87e3-42c8-9505-f30583d97531) Message: Network map updated Time: 8 minutes, 43 seconds ago [INFO] SYSTEM (558f0d33-7ec1-4ec8-92e4-b4bee161d76d) Message: Network map updated Time: 6 minutes, 30 seconds ago [WARNING] DNS (3b2de0c5-bd2e-4ed3-bfbf-427bfa3c57b5) Message: All upstream servers failed (probe failed) Time: 3 minutes, 34 seconds ago Metadata: upstreams: 9.9.9.9:53, 149.112.112.112:53 [INFO] SYSTEM (5f00d8c8-db05-4bef-87d5-b386e6c69fc3) Message: Network map updated Time: 3 minutes, 34 seconds ago [INFO] SYSTEM (06e64912-fbe0-4a5b-929c-29657d5c6a99) Message: Network map updated Time: 50 seconds ago OS: linux/amd64 Daemon version: 0.43.3 CLI version: 0.43.3 Management: Connected to https://netbird.mydomain.org:443 Signal: Connected to https://netbird.mydomain.org:443 Relays: [stun:netbird.mydomain.org:3478] is Available [turn:netbird.mydomain.org:3478?transport=udp] is Available [rels://netbird.mydomain.org:443] is Available Nameservers: FQDN: device3.netbird.selfhosted NetBird IP: 100.89.221.221/16 Interface type: Kernel Quantum resistance: false Networks: - Forwarding rules: 0 Peers count: 1/2 Connected [user-device3][device3][~] $ ping 100.89.187.88 PING 100.89.187.88 (100.89.187.88) 56(84) bytes of data. ^C --- 100.89.187.88 ping statistics --- 10 packets transmitted, 0 received, 100% packet loss, time 9177ms [user-device3][device3][~] $ ping -c 3 103.178.134.103 PING 103.178.134.103 (103.178.134.103) 56(84) bytes of data. --- 103.178.134.103 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2056ms [user-device3][device3][~] $ ping -c 3 100.89.187.88 PING 100.89.187.88 (100.89.187.88) 56(84) bytes of data. --- 100.89.187.88 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2055ms [user-device3][device3][~] $ ping -c 3 device2.netbird.selfhosted ping: device2.netbird.selfhosted: Temporary failure in name resolution [user-device3][device3][~] $ ping -c 3 device2.internal ping: device2.internal: Name or service not known ``` My netbird client versions is `0.43.3` I am using Ubuntu 24.04LTS as well as Debian 12. If I try `netbird ssh` it times out as well ``` $netbird ssh 100.89.187.88 Error: dial tcp 100.89.187.88:44338: i/o timeout Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer You can verify the connection by running: netbird status Error: dial tcp 103.178.134.103:44338: i/o timeout ``` ``` $ netbird ssh 103.178.134.111 Error: dial tcp 103.178.134.111:44338: i/o timeout Couldn't connect. Please check the connection status or if the ssh server is enabled on the other peer You can verify the connection by running: netbird status Error: dial tcp 103.178.134.111:44338: i/o timeout ```
saavagebueno added the self-hosting label 2025-11-20 06:08:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1883