Netbird service freezes on Windows #1711

Closed
opened 2025-11-20 06:05:10 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @tomashora on GitHub (Mar 14, 2025).

Describe the problem

The service freezes randomly, most probably during hibernation/wakup of Windows on laptop. It all started in https://github.com/netbirdio/netbird/issues/3368

Are you using NetBird Cloud?

Selfhosted

NetBird version

0.36.+ .. currently 0.38.0

Is any other VPN software installed?

No

Debug output

Attached with [Environment]::SetEnvironmentVariable("NB_LOG_LEVEL", "debug", "Machine")

netbird.debug.201350900.zip

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
Originally created by @tomashora on GitHub (Mar 14, 2025). **Describe the problem** The service freezes randomly, most probably during hibernation/wakup of Windows on laptop. It all started in https://github.com/netbirdio/netbird/issues/3368 **Are you using NetBird Cloud?** Selfhosted **NetBird version** 0.36.+ .. currently 0.38.0 **Is any other VPN software installed?** No **Debug output** Attached with `[Environment]::SetEnvironmentVariable("NB_LOG_LEVEL", "debug", "Machine")` [netbird.debug.201350900.zip](https://github.com/user-attachments/files/19244350/netbird.debug.201350900.zip) **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
saavagebueno added the triage-needed label 2025-11-20 06:05:10 -05:00
Author
Owner

@tomashora commented on GitHub (Mar 14, 2025):

This is where it freezed...

2025-03-13T13:34:58+01:00 WARN client/internal/peer/guard/ice_monitor.go:55: Failed to check ICE changes: wait for gathering timed out
2025-03-14T09:28:04+01:00 INFO client/cmd/service_controller.go:24: starting Netbird service
@tomashora commented on GitHub (Mar 14, 2025): This is where it freezed... ``` 2025-03-13T13:34:58+01:00 WARN client/internal/peer/guard/ice_monitor.go:55: Failed to check ICE changes: wait for gathering timed out 2025-03-14T09:28:04+01:00 INFO client/cmd/service_controller.go:24: starting Netbird service ```
Author
Owner

@cleveHEX commented on GitHub (Mar 18, 2025):

I think this problem occured again, 18.3.2025.

netbird.debug.177678827.zip

@cleveHEX commented on GitHub (Mar 18, 2025): I think this problem occured again, 18.3.2025. [netbird.debug.177678827.zip](https://github.com/user-attachments/files/19314556/netbird.debug.177678827.zip)
Author
Owner

@tomashora commented on GitHub (Mar 18, 2025):

Observed again

netbird.debug.3938275737.zip

@tomashora commented on GitHub (Mar 18, 2025): Observed again [netbird.debug.3938275737.zip](https://github.com/user-attachments/files/19322051/netbird.debug.3938275737.zip)
Author
Owner

@tomashora commented on GitHub (Mar 20, 2025):

@mlsmaycon still the same behavior as in https://github.com/netbirdio/netbird/issues/3368

also noticed in the logs NFO client/server/panic_windows.go:50: successfully configured panic logging to: C:\ProgramData/Netbird/netbird.err which contains Unable to log: write /dev/stdout: Neplatný popisovač. which means 'invalid descriptor/handle`

Additionaly, in the unresponsive state, the allocated RAM is still increasing whil in this state.

Image

netbird.debug.526521487.zip

@tomashora commented on GitHub (Mar 20, 2025): @mlsmaycon still the same behavior as in https://github.com/netbirdio/netbird/issues/3368 also noticed in the logs `NFO client/server/panic_windows.go:50: successfully configured panic logging to: C:\ProgramData/Netbird/netbird.err` which contains `Unable to log: write /dev/stdout: Neplatný popisovač.` which means 'invalid descriptor/handle` Additionaly, in the unresponsive state, the allocated RAM is still increasing whil in this state. ![Image](https://github.com/user-attachments/assets/33db7e84-0644-4efe-9cf7-7cfb539b331f) [netbird.debug.526521487.zip](https://github.com/user-attachments/files/19361334/netbird.debug.526521487.zip)
Author
Owner

@tomashora commented on GitHub (Mar 21, 2025):

Just another dump
netbird.debug.303970874.zip

@tomashora commented on GitHub (Mar 21, 2025): Just another dump [netbird.debug.303970874.zip](https://github.com/user-attachments/files/19397965/netbird.debug.303970874.zip)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1711