0.38.1 repeadetly disconnects on multiple OS. Debian, ProxMox+LXCs, Win11, Synology #1716

Closed
opened 2025-11-20 06:05:19 -05:00 by saavagebueno · 7 comments
Owner

Originally created by @HearthCore on GitHub (Mar 16, 2025).

Describe the problem

Netbird 0.38.1 either crashes or disconnects from ProxMox Virtual Hosts and LXC containers.

To Reproduce

Update Netbird to 0.38.1 on my Starto VPS and LXCs, multiple re-installs have confirmed this.

Expected behavior

Seemless connectivity

Are you using NetBird Cloud?

Cloud

NetBird version

0.38.1

Is any other VPN software installed?

No.

Debug output

Can't provide. Production environment compliance.

Screenshots

Nothing to "see" other than the Peer leaving and joining in the Cloud console.

Additional context

I have the same issues on a Windows DELL XPS15, a Virtual ProxMox Host, Debian LXCs and on Premises Baremetal ProxMox Hosts aswell.

Have you tried these troubleshooting steps?

  • 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

Solution
Revert the Update or downgrade to 0.38.0 which seems to run without issues.
For Debian: apt install netbird=0.38.0

Originally created by @HearthCore on GitHub (Mar 16, 2025). **Describe the problem** Netbird 0.38.1 either crashes or disconnects from ProxMox Virtual Hosts and LXC containers. **To Reproduce** Update Netbird to 0.38.1 on my Starto VPS and LXCs, multiple re-installs have confirmed this. **Expected behavior** Seemless connectivity **Are you using NetBird Cloud?** Cloud **NetBird version** 0.38.1 **Is any other VPN software installed?** No. **Debug output** Can't provide. Production environment compliance. **Screenshots** Nothing to "see" other than the Peer leaving and joining in the Cloud console. **Additional context** I have the same issues on a Windows DELL XPS15, a Virtual ProxMox Host, Debian LXCs and on Premises Baremetal ProxMox Hosts aswell. **Have you tried these troubleshooting steps?** - [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 **Solution** Revert the Update or downgrade to 0.38.0 which seems to run without issues. For Debian: apt install netbird=0.38.0
saavagebueno added the triage-needed label 2025-11-20 06:05:19 -05:00
Author
Owner

@gerwim commented on GitHub (Mar 16, 2025):

I noticed NetBird 0.38.1 crashing too. From systemd logs:

rt 16 12:37:27 Gerwim-PC systemd[1]: Started netbird.service - A WireGuard-based mesh network that connects your devices into a single private network..
mrt 16 12:38:01 Gerwim-PC netbird[1874]: panic: runtime error: invalid memory address or nil pointer dereference
mrt 16 12:38:01 Gerwim-PC netbird[1874]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xefe8ec]
mrt 16 12:38:01 Gerwim-PC netbird[1874]: goroutine 454 [running]:
mrt 16 12:38:01 Gerwim-PC netbird[1874]: github.com/netbirdio/netbird/client/internal/peer.(*stateDump).WGcheckSuccess(0xc0001f95e0?)
mrt 16 12:38:01 Gerwim-PC netbird[1874]:         /home/runner/work/netbird/netbird/client/internal/peer/state_dump.go:94 +0x2c
mrt 16 12:38:01 Gerwim-PC netbird[1874]: github.com/netbirdio/netbird/client/internal/peer.(*WGWatcher).periodicHandshakeCheck(0xc0007d7260, {0x170d238, 0xc000470730}, 0xc00043f820, 0xc00043f810, {0xc000253310?, 0xc000253304?, 0x0?>
mrt 16 12:38:01 Gerwim-PC netbird[1874]:         /home/runner/work/netbird/netbird/client/internal/peer/wg_watcher.go:110 +0x196
mrt 16 12:38:01 Gerwim-PC netbird[1874]: created by github.com/netbirdio/netbird/client/internal/peer.(*WGWatcher).EnableWgWatcher in goroutine 443
mrt 16 12:38:01 Gerwim-PC netbird[1874]:         /home/runner/work/netbird/netbird/client/internal/peer/wg_watcher.go:68 +0x294
mrt 16 12:38:01 Gerwim-PC systemd[1]: netbird.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
mrt 16 12:38:01 Gerwim-PC systemd[1]: netbird.service: Failed with result 'exit-code'.
@gerwim commented on GitHub (Mar 16, 2025): I noticed NetBird 0.38.1 crashing too. From systemd logs: ``` rt 16 12:37:27 Gerwim-PC systemd[1]: Started netbird.service - A WireGuard-based mesh network that connects your devices into a single private network.. mrt 16 12:38:01 Gerwim-PC netbird[1874]: panic: runtime error: invalid memory address or nil pointer dereference mrt 16 12:38:01 Gerwim-PC netbird[1874]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xefe8ec] mrt 16 12:38:01 Gerwim-PC netbird[1874]: goroutine 454 [running]: mrt 16 12:38:01 Gerwim-PC netbird[1874]: github.com/netbirdio/netbird/client/internal/peer.(*stateDump).WGcheckSuccess(0xc0001f95e0?) mrt 16 12:38:01 Gerwim-PC netbird[1874]: /home/runner/work/netbird/netbird/client/internal/peer/state_dump.go:94 +0x2c mrt 16 12:38:01 Gerwim-PC netbird[1874]: github.com/netbirdio/netbird/client/internal/peer.(*WGWatcher).periodicHandshakeCheck(0xc0007d7260, {0x170d238, 0xc000470730}, 0xc00043f820, 0xc00043f810, {0xc000253310?, 0xc000253304?, 0x0?> mrt 16 12:38:01 Gerwim-PC netbird[1874]: /home/runner/work/netbird/netbird/client/internal/peer/wg_watcher.go:110 +0x196 mrt 16 12:38:01 Gerwim-PC netbird[1874]: created by github.com/netbirdio/netbird/client/internal/peer.(*WGWatcher).EnableWgWatcher in goroutine 443 mrt 16 12:38:01 Gerwim-PC netbird[1874]: /home/runner/work/netbird/netbird/client/internal/peer/wg_watcher.go:68 +0x294 mrt 16 12:38:01 Gerwim-PC systemd[1]: netbird.service: Main process exited, code=exited, status=2/INVALIDARGUMENT mrt 16 12:38:01 Gerwim-PC systemd[1]: netbird.service: Failed with result 'exit-code'. ```
Author
Owner

@Oriann commented on GitHub (Mar 16, 2025):

I have same issue, please stop distributing this version it happens on all my devices. Attaching debug from my main PC.

netbird.debug.1001246516.zip

@Oriann commented on GitHub (Mar 16, 2025): I have same issue, please stop distributing this version it happens on all my devices. Attaching debug from my main PC. [netbird.debug.1001246516.zip](https://github.com/user-attachments/files/19272357/netbird.debug.1001246516.zip)
Author
Owner

@iball commented on GitHub (Mar 16, 2025):

Seeing the same issue here on both Windows and Linux clients.
Downgraded back to 0.38.0 and everything is fine now.

@iball commented on GitHub (Mar 16, 2025): Seeing the same issue here on both Windows and Linux clients. Downgraded back to 0.38.0 and everything is fine now.
Author
Owner

@mlsmaycon commented on GitHub (Mar 16, 2025):

Hello Folks, we have fixed the issue, and the new release is being built. I will update you when it's done.

@mlsmaycon commented on GitHub (Mar 16, 2025): Hello Folks, we have fixed the issue, and the new release is being built. I will update you when it's done.
Author
Owner

@mlsmaycon commented on GitHub (Mar 16, 2025):

The 0.38.2 is released.

@mlsmaycon commented on GitHub (Mar 16, 2025): The 0.38.2 is released.
Author
Owner

@Oriann commented on GitHub (Mar 16, 2025):

The 0.38.2 is released.

Thank you for lightning response, all is up and running stable now

@Oriann commented on GitHub (Mar 16, 2025): > The 0.38.2 is released. Thank you for lightning response, all is up and running stable now
Author
Owner

@mlsmaycon commented on GitHub (Mar 16, 2025):

@HearthCore @gerwim is closing this one for now. Feel free to open it again if you find another issue.

@mlsmaycon commented on GitHub (Mar 16, 2025): @HearthCore @gerwim is closing this one for now. Feel free to open it again if you find another issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1716