Netbird VM loses connectivity after ~24hrs #972

Open
opened 2025-11-20 05:20:51 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @cupofnestor on GitHub (Jun 13, 2024).

Describe the problem

After set up and running for around 24 hrs, my VM has lost all connectivity.

To Reproduce

These are the steps I've reproduced now 3-4 times, both on Oracle and Hetzner Ubuntu VMs.

  • Point netbird.my-domain.com to the VM address (cloudflare DNS)
  • Open ports ( Oracle )
  • Install Docker
  • Run the selfhosted install script to install netbird latest
  • Setup the admin user on netbird.my-domain.com
  • Add a few peers, check connectivity etc.

Expected behavior
At this point, everything works as expected: I can reach peers via ssh or service ports, etc.
After around 12-24hrs however, the VM becomes unreachable HTTP(s) fails to respond, ssh results in
ssh: connect to host xxx.xxx.xxx.xxx port 22: Can't assign requested address
Ping results in ping: sendto: Network is unreachable
netbird status -a from my local machine

OS: darwin/arm64
Daemon version: 0.27.7
CLI version: 0.27.7
Management: Disconnected, reason: rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout
Signal: Disconnected, reason: rpc error: code = Unavailable desc = error reading from server: read tcp 192.168.13.194:51142->xxx.xxx.xxx.xxx: read: can't assign requested address
Relays:
  [stun:netbird.my-domain.com:3478] is Unavailable, reason: client: write udp xxx.xxx.xxx.xxx:53368->37.27.86.91:3478: write: can't assign requested address
  [turn:netbird.fuzzy-math.com:3478?transport=udp] is Unavailable, reason: allocate: write udp [::]:51216->xxx.xxx.xxx.xxx:3478: sendto: can't assign requested address
Nameservers:
FQDN: penelope.netbird.selfhosted
NetBird IP: xxx.xxx.xxx.xxx/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 0/1 Connected

I thought this odd when it was happening on Oracle but chalked it up to peculiarities in how their Ubuntu shape handled firewall, however this has now happened the same exact way on hetzner cloud.

Are you using NetBird Cloud?

no, self-hosted

Originally created by @cupofnestor on GitHub (Jun 13, 2024). **Describe the problem** After set up and running for around 24 hrs, my VM has lost *all* connectivity. **To Reproduce** These are the steps I've reproduced now 3-4 times, both on Oracle and Hetzner Ubuntu VMs. - Point [netbird.my-domain.com](http://netbird.my-domain.com/) to the VM address (cloudflare DNS) - Open ports ( Oracle ) - Install Docker - Run the selfhosted install script to install netbird latest - Setup the admin user on [netbird.my-domain.com](http://netbird.my-domain.com/) - Add a few peers, check connectivity etc. **Expected behavior** At this point, everything works as expected: I can reach peers via ssh or service ports, etc. After around 12-24hrs however, the VM becomes unreachable HTTP(s) fails to respond, ssh results in `ssh: connect to host xxx.xxx.xxx.xxx port 22: Can't assign requested address` Ping results in ping: `sendto: Network is unreachable` netbird status -a from my local machine ``` OS: darwin/arm64 Daemon version: 0.27.7 CLI version: 0.27.7 Management: Disconnected, reason: rpc error: code = Unavailable desc = keepalive ping failed to receive ACK within timeout Signal: Disconnected, reason: rpc error: code = Unavailable desc = error reading from server: read tcp 192.168.13.194:51142->xxx.xxx.xxx.xxx: read: can't assign requested address Relays: [stun:netbird.my-domain.com:3478] is Unavailable, reason: client: write udp xxx.xxx.xxx.xxx:53368->37.27.86.91:3478: write: can't assign requested address [turn:netbird.fuzzy-math.com:3478?transport=udp] is Unavailable, reason: allocate: write udp [::]:51216->xxx.xxx.xxx.xxx:3478: sendto: can't assign requested address Nameservers: FQDN: penelope.netbird.selfhosted NetBird IP: xxx.xxx.xxx.xxx/16 Interface type: Userspace Quantum resistance: false Routes: - Peers count: 0/1 Connected ``` I thought this odd when it was happening on Oracle but chalked it up to peculiarities in how their Ubuntu shape handled firewall, however this has now happened the same exact way on hetzner cloud. **Are you using NetBird Cloud?** no, self-hosted
saavagebueno added the client label 2025-11-20 05:20:51 -05:00
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@cupofnestor is it still an issue for you with the latest NetBird version?

@nazarewk commented on GitHub (Apr 23, 2025): @cupofnestor is it still an issue for you with the latest NetBird version?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#972