[GH-ISSUE #3016] Intermittent Connection Issues Across Different Regions #6513

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

Originally created by @ginsul on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/3016

Describe the problem

I had a coordinator server on AWS Virginia and an exit node in Singapore.

When I tried to connect using Windows, I randomly encountered the following conditions:

  • Sometimes, there was always a request timeout to the internet.
  • Sometimes, I got a ping of >400ms (even though my public IP showed Singapore, the latency should have been only ~10ms).
  • Sometimes, I got a ping of 10ms, with my public IP correctly showing Singapore.
  • When I had a 10ms ping and tried to disconnect and reconnect, the connection failed and seemed to hang

I have already searched through the issues for a solution but still have no clue.
I captured logs using netbird -A debug for 2 minutes and have attached them.
I have already opened all inbound traffic in the AWS security group.

netbird.debug.1914716158.zip

Expected behavior

Got a Singapore IP address with a 10ms ping, and the connection no longer hangs when disconnecting and reconnecting

NetBird version

netbird selfhosted 0.34.1

NetBird status -dA output:

Peers detail:
 ip-172-31-5-27.netbird.selfhosted:
  NetBird IP: 100.127.129.240
  Public key: mP047JXbCIyJ+qvk53Fd9HP2sDpRNlhxbXij4AQYQhI=
  Status: Connected
  -- detail --
  Connection type: P2P
  ICE candidate (Local/Remote): host/prflx
  ICE candidate endpoints (Local/Remote): 172.31.12.91:51820/172.31.5.27:51820
  Relay server address: rel://terbang.anon-5Ev56.domain:33080
  Last connection update: 12 minutes, 38 seconds ago
  Last WireGuard handshake: 2 minutes, 19 seconds ago
  Transfer status (received/sent) 940 B/1.5 KiB
  Quantum resistance: false
  Routes: -
  Latency: 380.987µs

 abcd.netbird.selfhosted:
  NetBird IP: 100.127.226.41
  Public key: 83ef9I0e6R6VtuReCzhSbzJ/UPZAHRle1k0T2kriZQA=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: 5 minutes, 56 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 12.867329ms

OS: linux/amd64
Daemon version: 0.34.1
CLI version: 0.34.1
Management: Connected to https://terbang.anon-5Ev56.domain:33073
Signal: Connected to http://terbang.anon-5Ev56.domain:10000
Relays:
  [stun:terbang.anon-5Ev56.domain:3478] is Available
  [turn:terbang.anon-5Ev56.domain:3478?transport=udp] is Available
  [rel://terbang.anon-5Ev56.domain:33080] is Available
Nameservers:
FQDN: ip-172-31-12-91.netbird.selfhosted
NetBird IP: 100.127.83.39/16
Interface type: Kernel
Quantum resistance: false
Routes: 0.0.0.0/0
Peers count: 1/2 Connected

Screenshots

image

Additional context

Any insights or suggestions would be greatly appreciated. Thank you.

Originally created by @ginsul on GitHub (Dec 10, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/3016 **Describe the problem** I had a coordinator server on AWS Virginia and an exit node in Singapore. When I tried to connect using Windows, I randomly encountered the following conditions: - Sometimes, there was always a request timeout to the internet. - Sometimes, I got a ping of >400ms (even though my public IP showed Singapore, the latency should have been only ~10ms). - Sometimes, I got a ping of 10ms, with my public IP correctly showing Singapore. - When I had a 10ms ping and tried to disconnect and reconnect, the connection failed and seemed to hang I have already searched through the issues for a solution but still have no clue. I captured logs using netbird -A debug for 2 minutes and have attached them. I have already opened all inbound traffic in the AWS security group. [netbird.debug.1914716158.zip](https://github.com/user-attachments/files/18082596/netbird.debug.1914716158.zip) **Expected behavior** Got a Singapore IP address with a 10ms ping, and the connection no longer hangs when disconnecting and reconnecting **NetBird version** netbird selfhosted 0.34.1 **NetBird status -dA output:** ``` Peers detail: ip-172-31-5-27.netbird.selfhosted: NetBird IP: 100.127.129.240 Public key: mP047JXbCIyJ+qvk53Fd9HP2sDpRNlhxbXij4AQYQhI= Status: Connected -- detail -- Connection type: P2P ICE candidate (Local/Remote): host/prflx ICE candidate endpoints (Local/Remote): 172.31.12.91:51820/172.31.5.27:51820 Relay server address: rel://terbang.anon-5Ev56.domain:33080 Last connection update: 12 minutes, 38 seconds ago Last WireGuard handshake: 2 minutes, 19 seconds ago Transfer status (received/sent) 940 B/1.5 KiB Quantum resistance: false Routes: - Latency: 380.987µs abcd.netbird.selfhosted: NetBird IP: 100.127.226.41 Public key: 83ef9I0e6R6VtuReCzhSbzJ/UPZAHRle1k0T2kriZQA= Status: Disconnected -- detail -- Connection type: ICE candidate (Local/Remote): -/- ICE candidate endpoints (Local/Remote): -/- Relay server address: Last connection update: 5 minutes, 56 seconds ago Last WireGuard handshake: - Transfer status (received/sent) 0 B/0 B Quantum resistance: false Routes: - Latency: 12.867329ms OS: linux/amd64 Daemon version: 0.34.1 CLI version: 0.34.1 Management: Connected to https://terbang.anon-5Ev56.domain:33073 Signal: Connected to http://terbang.anon-5Ev56.domain:10000 Relays: [stun:terbang.anon-5Ev56.domain:3478] is Available [turn:terbang.anon-5Ev56.domain:3478?transport=udp] is Available [rel://terbang.anon-5Ev56.domain:33080] is Available Nameservers: FQDN: ip-172-31-12-91.netbird.selfhosted NetBird IP: 100.127.83.39/16 Interface type: Kernel Quantum resistance: false Routes: 0.0.0.0/0 Peers count: 1/2 Connected ``` **Screenshots** ![image](https://github.com/user-attachments/assets/e9933990-9715-4eba-b9d5-f5302aefc3de) **Additional context** Any insights or suggestions would be greatly appreciated. Thank you.
saavagebueno added the waiting-feedbacktriage-needed labels 2026-08-05 01:08:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#6513