netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Cannot connect to peers on windows

Open snake2nd opened this issue 1 year ago • 5 comments

Describe the problem

I updated to the latest 0.59.x version of netbird from 0.57.1 After this I could not reach my machine at all. Machine is running 0.45.1. I am afraid to update now so as to not lose access. Any help is appreciated please.

snake2nd avatar Oct 15 '25 08:10 snake2nd

@snake2nd, can you run the following commands on both machines?

netbird debug log level trace
# Try to ping the other peer a few times
# wait 30s
netbird debug bundle --upload-server --annonymize 
netbird debug log level info

then share both upload keys

mlsmaycon avatar Oct 15 '25 08:10 mlsmaycon

Hi @mlsmaycon ,

Thanks or your response. Based on your recommendation to check and run the previous codes, I had to reinstall the latest version and that now works. But the confusing part is that I had tried uninstalling and reinstalling multiple times previously( the same 0.59x ) version and was encountering the same issue. Is there a difference in the files that are created in the Netbird folder under program data that could have changed when I reinstalled 0.57.1 ?

snake2nd avatar Oct 15 '25 10:10 snake2nd

Hi @mlsmaycon , Im having the same problem today after a restart of my system. Tried to use the commands you mentioned. netbird debug bundle --upload-server --annonymize Gives this error "Error: unknown flag: --upload-server"

netbird status OS: windows/amd64 Daemon version: 0.59.6 CLI version: 0.59.6 Profile: default Management: Connected Signal: Connected Relays: 4/4 Available Nameservers: 0/0 Available FQDN: NetBird IP: 100.x.x.x/16 Interface type: Userspace Quantum resistance: false Lazy connection: true Networks: - Forwarding rules: 0 Peers count: 0/9 Connected

snake2nd avatar Oct 16 '25 07:10 snake2nd

@snake2nd Try disabling lazy connections.

ressys1978 avatar Oct 16 '25 13:10 ressys1978

Thanks for raising this.

This matches a Windows regression in 0.58.0 to 0.59.6, tracked in #4526. With lazy connections on, peers stayed idle and never connected. It was fixed in v0.59.7, so upgrading to a current release should sort it.

If it has to stay on an affected version, turning off lazy connections in the dashboard is the workaround confirmed in #4526.

If it still happens on a current version, comment here with the output of these and we can reopen:

netbird version
netbird status -d -A
netbird debug for 1m -A -S -U

-A anonymizes the output. It masks most identifying details but is not full redaction, so read the bundle before posting it.

thomashacker avatar Oct 13 '26 13:10 thomashacker