[GH-ISSUE #1388] can't connect #2161

Open
opened 2026-08-05 00:45:38 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @omarbenzekri on GitHub (Dec 14, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1388

Hi
I have an issue when click on connect from app client, after logging to my email it shows to message to authorize (only the first time) then it shows login successful,but nothing happens in the app.
running Windows 11 X64.

What i have tried :
Add an inbound rule for netbird program(allow all).
I have tried using the command line "netbird up" and this is the output :


C:\Windows\System32>netbird up -F --log-level debug
2023-12-14T11:21:03+01:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443
2023-12-14T11:21:03+01:00 DEBG client/internal/login.go:63: connected to the Management service https://api.wiretrustee.com:443
2023-12-14T11:21:04+01:00 DEBG client/internal/login.go:72: peer registration required
2023-12-14T11:21:04+01:00 DEBG client/internal/pkce_auth.go:55: connecting to Management Service https://api.wiretrustee.com:443
2023-12-14T11:21:04+01:00 DEBG client/internal/pkce_auth.go:61: connected to the Management service https://api.wiretrustee.com:443
Please do the SSO login in your browser.
If your browser didn't open automatically, use this URL to log in:

https://login.netbird.io/authorize?audience=https%3A%2F%2Fapp.wiretrustee.com%2F&client_id=x3KvnKHEDY2j3b0n0wLq4eu8SiPDKq6o&code_challenge=jwfRSIiFj6LTWyKagVlnvN8R3cauYcFU1Wc3IVhjxhg&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A53000%2F&response_type=code&scope=openid+profile+email+offline_access+api+email_verified&state=508488a72510b6c5dc27b3a745527abc9338b3c50f93d334

2023-12-14T11:21:08+01:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443
2023-12-14T11:21:08+01:00 DEBG client/internal/login.go:63: connected to the Management service https://api.wiretrustee.com:443
2023-12-14T11:21:09+01:00 DEBG client/internal/login.go:72: peer registration required
2023-12-14T11:21:09+01:00 DEBG client/internal/login.go:122: sending peer registration request to Management Service
2023-12-14T11:21:09+01:00 ERRO client/internal/login.go:126: failed registering peer rpc error: code = PermissionDenied desc = can't login,00000000-0000-0000-0000-000000000000
2023-12-14T11:21:09+01:00 INFO client/internal/connect.go:47: starting NetBird client version 0.24.4
2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:102: connecting to the Management service api.wiretrustee.com:443
2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:110: connected to the Management service api.wiretrustee.com:443
2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:121: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more
2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:208: exiting client retry loop due to unrecoverable error: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more
Error: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more


NetBird status -d output:


Daemon status: NeedsLogin

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


thank you

Originally created by @omarbenzekri on GitHub (Dec 14, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1388 Hi I have an issue when click on connect from app client, after logging to my email it shows to message to authorize (only the first time) then it shows login successful,but nothing happens in the app. running Windows 11 X64. What i have tried : Add an inbound rule for netbird program(allow all). I have tried using the command line "netbird up" and this is the output : ******** C:\Windows\System32>netbird up -F --log-level debug 2023-12-14T11:21:03+01:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443 2023-12-14T11:21:03+01:00 DEBG client/internal/login.go:63: connected to the Management service https://api.wiretrustee.com:443 2023-12-14T11:21:04+01:00 DEBG client/internal/login.go:72: peer registration required 2023-12-14T11:21:04+01:00 DEBG client/internal/pkce_auth.go:55: connecting to Management Service https://api.wiretrustee.com:443 2023-12-14T11:21:04+01:00 DEBG client/internal/pkce_auth.go:61: connected to the Management service https://api.wiretrustee.com:443 Please do the SSO login in your browser. If your browser didn't open automatically, use this URL to log in: https://login.netbird.io/authorize?audience=https%3A%2F%2Fapp.wiretrustee.com%2F&client_id=x3KvnKHEDY2j3b0n0wLq4eu8SiPDKq6o&code_challenge=jwfRSIiFj6LTWyKagVlnvN8R3cauYcFU1Wc3IVhjxhg&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A53000%2F&response_type=code&scope=openid+profile+email+offline_access+api+email_verified&state=508488a72510b6c5dc27b3a745527abc9338b3c50f93d334 2023-12-14T11:21:08+01:00 DEBG client/internal/login.go:93: connecting to the Management service https://api.wiretrustee.com:443 2023-12-14T11:21:08+01:00 DEBG client/internal/login.go:63: connected to the Management service https://api.wiretrustee.com:443 2023-12-14T11:21:09+01:00 DEBG client/internal/login.go:72: peer registration required 2023-12-14T11:21:09+01:00 DEBG client/internal/login.go:122: sending peer registration request to Management Service 2023-12-14T11:21:09+01:00 ERRO client/internal/login.go:126: failed registering peer rpc error: code = PermissionDenied desc = can't login,00000000-0000-0000-0000-000000000000 2023-12-14T11:21:09+01:00 INFO client/internal/connect.go:47: starting NetBird client version 0.24.4 2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:102: connecting to the Management service api.wiretrustee.com:443 2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:110: connected to the Management service api.wiretrustee.com:443 2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:121: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more 2023-12-14T11:21:09+01:00 DEBG client/internal/connect.go:208: exiting client retry loop due to unrecoverable error: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more Error: rpc error: code = PermissionDenied desc = peer login has expired, please log in once more ******** **NetBird status -d output:** *********** Daemon status: NeedsLogin 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 ***************** thank you
saavagebueno added the client label 2026-08-05 00:45:38 -04:00
Sign in to join this conversation.
No Label client
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2161