The connect button has no response after self-hosting #552

Open
opened 2025-11-20 05:13:34 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @gogpgg on GitHub (Dec 17, 2023).

Describe the problem
After netbird is self-hosted, the netbird client is installed on the win11 system. The client sets the setting to the self-hosted domain name (https://mydomain.com:443) and then saves it successfully. However, when the client clicks the connect button, nothing happens. PC Browse will not open any login window.
However, the computer client of win10 system works normally.

In win11 system, if the client management URL is the default address (https://api.wiretrustee.com:443), clicking the connect button will pop up the login page,it works normally too.

Please help me, what should I do under my win11 system? Thank you.

Originally created by @gogpgg on GitHub (Dec 17, 2023). **Describe the problem** After netbird is self-hosted, the netbird client is installed on the win11 system. The client sets the setting to the self-hosted domain name (https://mydomain.com:443) and then saves it successfully. However, when the client clicks the connect button, nothing happens. PC Browse will not open any login window. However, the computer client of win10 system works normally. In win11 system, if the client management URL is the default address (https://api.wiretrustee.com:443), clicking the connect button will pop up the login page,it works normally too. Please help me, what should I do under my win11 system? Thank you.
saavagebueno added the clientloginself-hosting labels 2025-11-20 05:13:34 -05:00
Author
Owner

@mlsmaycon commented on GitHub (Dec 18, 2023):

Hello @gogpgg it seems like there is an issue in your configuration with the PKCE or Device flow. Can you check that by running netbird up in a PowerShell window and share the output?

Can you also share your identity provider?

@mlsmaycon commented on GitHub (Dec 18, 2023): Hello @gogpgg it seems like there is an issue in your configuration with the PKCE or Device flow. Can you check that by running `netbird up` in a PowerShell window and share the output? Can you also share your identity provider?
Author
Owner

@gogpgg commented on GitHub (Dec 19, 2023):

Hello@mlsmaycon

PS C:\Users\DD> netbird up
2023-12-19T22:45:59+08:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 763.5862ms 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 = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys

PS C:\Users\DD> netbird up
2023-12-19T22:55:24+08:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 781.434361ms due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys
Error: login backoff cycle failed: rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded
PS C:\Users\DD>

My identity provider is the Zitadel. Thank you.

@gogpgg commented on GitHub (Dec 19, 2023): Hello@mlsmaycon PS C:\Users\DD> netbird up 2023-12-19T22:45:59+08:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 763.5862ms 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 = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys PS C:\Users\DD> netbird up 2023-12-19T22:55:24+08:00 WARN client/cmd/root.go:188: retrying Login to the Management service in 781.434361ms due to error rpc error: code = Unknown desc = no SSO provider returned from management. Please proceed with setting up this device using setup keys https://docs.netbird.io/how-to/register-machines-using-setup-keys Error: login backoff cycle failed: rpc error: code = Unknown desc = getting device authorization flow info failed with error: context deadline exceeded PS C:\Users\DD> My identity provider is the Zitadel. Thank you.
Author
Owner

@rqi14 commented on GitHub (Mar 6, 2024):

I experienced the same problem. I'm using azure

@rqi14 commented on GitHub (Mar 6, 2024): I experienced the same problem. I'm using azure
Author
Owner

@Mifody-07 commented on GitHub (May 7, 2024):

try restarting the service in Windows

net stop hns
net start hns

then try to start netbird

netbird service run --config C:\ProgramData\Netbird\config.json --log-level debug --log-file C:\ProgramData\Netbird\client.log
@Mifody-07 commented on GitHub (May 7, 2024): try restarting the service in Windows ``` net stop hns net start hns ``` then try to start netbird ``` netbird service run --config C:\ProgramData\Netbird\config.json --log-level debug --log-file C:\ProgramData\Netbird\client.log ```
Author
Owner

@nazarewk commented on GitHub (Apr 23, 2025):

@gogpgg were you able to resolve your issue? Is it still hapenning with latest NetBird version?

@nazarewk commented on GitHub (Apr 23, 2025): @gogpgg were you able to resolve your issue? Is it still hapenning with latest NetBird version?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#552