netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.74k stars 484 forks source link

Netbird VM loses connectivity after ~24hrs #2129

Open cupofnestor opened 3 months ago

cupofnestor commented 3 months ago

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.

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