Unable to connect windows client #639

Closed
opened 2025-11-20 05:15:07 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @SinghNanak on GitHub (Feb 16, 2024).

Describe the problem

Unable to connect windows client to netbird network.

To Reproduce

Steps to reproduce the behavior:

  1. Try clicking on connect nothing happens
    image

Expected behavior

It should connect.

Are you using NetBird Cloud?

I am using NetBird Cloud

NetBird Client version

0.25.8

NetBird status -d output:

C:\Users\dnana>netbird status -d
Daemon status: LoginFailed

Run UP command to log in with SSO (interactive login):

 netbird up

If you are running a self-hosted version and no SSO provider has been configured in your Management Server,
you can use a setup-key:

 netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY>

More info: https://docs.netbird.io/how-to/register-machines-using-setup-keys


C:\Users\dnana>netbird up
2024-02-17T01:09:33+08:00 WARN client/cmd/root.go:195: retrying Login to the Management service in 950.276602ms due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded
Error: login backoff cycle failed: rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded

client.log

2024-02-17T01:04:13+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:04:13+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:04:18+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:04:18+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:05:25+08:00 INFO client/internal/config.go:115: generating new config C:\ProgramData\Netbird\config.json
2024-02-17T01:05:30+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:05:30+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:05:30+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded
2024-02-17T01:05:31+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context canceled
2024-02-17T01:05:31+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context canceled
2024-02-17T01:05:31+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context canceled
2024-02-17T01:05:31+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context canceled
2024-02-17T01:05:36+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:05:36+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:05:36+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded
2024-02-17T01:05:41+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:05:41+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:05:46+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:05:46+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:23+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:23+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:23+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded
2024-02-17T01:09:28+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:28+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:33+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:33+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:39+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:39+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:39+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded
2024-02-17T01:09:44+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:44+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
2024-02-17T01:09:49+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-02-17T01:09:49+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded
Originally created by @SinghNanak on GitHub (Feb 16, 2024). **Describe the problem** Unable to connect windows client to netbird network. **To Reproduce** Steps to reproduce the behavior: 1. Try clicking on connect nothing happens ![image](https://github.com/netbirdio/netbird/assets/66524832/9b3aa22a-8450-48d0-9929-b1ad9dcab6f1) **Expected behavior** It should connect. **Are you using NetBird Cloud?** I am using NetBird Cloud **NetBird Client version** `0.25.8` **NetBird status -d output:** ``` C:\Users\dnana>netbird status -d Daemon status: LoginFailed Run UP command to log in with SSO (interactive login): netbird up If you are running a self-hosted version and no SSO provider has been configured in your Management Server, you can use a setup-key: netbird up --management-url <YOUR_MANAGEMENT_URL> --setup-key <YOUR_SETUP_KEY> More info: https://docs.netbird.io/how-to/register-machines-using-setup-keys C:\Users\dnana>netbird up 2024-02-17T01:09:33+08:00 WARN client/cmd/root.go:195: retrying Login to the Management service in 950.276602ms due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded Error: login backoff cycle failed: rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded ``` **client.log** ``` 2024-02-17T01:04:13+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:04:13+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:04:18+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:04:18+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:05:25+08:00 INFO client/internal/config.go:115: generating new config C:\ProgramData\Netbird\config.json 2024-02-17T01:05:30+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:05:30+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:05:30+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded 2024-02-17T01:05:31+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context canceled 2024-02-17T01:05:31+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context canceled 2024-02-17T01:05:31+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context canceled 2024-02-17T01:05:31+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context canceled 2024-02-17T01:05:36+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:05:36+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:05:36+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded 2024-02-17T01:05:41+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:05:41+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:05:46+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:05:46+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:23+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:23+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:23+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded 2024-02-17T01:09:28+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:28+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:33+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:33+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:39+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:39+08:00 ERRO client/internal/login.go:96: failed connecting to the Management service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:39+08:00 ERRO client/server/server.go:137: failed login: context deadline exceeded 2024-02-17T01:09:44+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:44+08:00 ERRO client/internal/pkce_auth.go:58: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded 2024-02-17T01:09:49+08:00 ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-02-17T01:09:49+08:00 ERRO client/internal/device_auth.go:60: failed connecting to Management Service https://app.netbird.io:443 context deadline exceeded ```
saavagebueno added the client label 2025-11-20 05:15:07 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Feb 16, 2024):

Hello @nsdhanoa, it seems like the client is trying to connect to the wrong url: https://app.netbird.io:443 when it should connect to https://api.netbird.io.

Can you run the following commands to fix the issue?

netbird down
netbird up --management-url https://api.netbird.io
@mlsmaycon commented on GitHub (Feb 16, 2024): Hello @nsdhanoa, it seems like the client is trying to connect to the wrong url: [https://app.netbird.io:443](https://app.netbird.io/) when it should connect to `https://api.netbird.io`. Can you run the following commands to fix the issue? ```shell netbird down netbird up --management-url https://api.netbird.io ```
Author
Owner

@SinghNanak commented on GitHub (Feb 16, 2024):

thanks @mlsmaycon, it works now.

@SinghNanak commented on GitHub (Feb 16, 2024): thanks @mlsmaycon, it works now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#639