[GH-ISSUE #5218] Foreground login broken #10799

Open
opened 2026-08-05 01:27:18 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @Nyeksenn on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5218

I want to start the netbird client using the following command:

sudo netbird up --foreground-mode --log-file console

or alternatively with:

sudo netbird up --foreground-mode --log-file console --setup-key XXXX

Both commands lead to the following error:

2026-01-30T09:36:09+01:00 ERRO shared/management/client/grpc.go:516: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login
Error: foreground login failed: login check failed: rpc error: code = InvalidArgument desc = invalid setup-key or no sso information provided, err: invalid UUID length: 0

I used the latest client version v0.64.3.
This error appears both with the official management server and a self-hosted one.
Originally this error appeared on the Homeassistant addon, but I can easily reproduce it
on a regular Linux server.

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
Originally created by @Nyeksenn on GitHub (Jan 30, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5218 I want to start the netbird client using the following command: ```bash sudo netbird up --foreground-mode --log-file console ``` or alternatively with: ```bash sudo netbird up --foreground-mode --log-file console --setup-key XXXX ``` Both commands lead to the following error: ```bash 2026-01-30T09:36:09+01:00 ERRO shared/management/client/grpc.go:516: failed to login to Management Service: rpc error: code = PermissionDenied desc = no peer auth method provided, please use a setup key or interactive SSO login Error: foreground login failed: login check failed: rpc error: code = InvalidArgument desc = invalid setup-key or no sso information provided, err: invalid UUID length: 0 ``` I used the latest client version `v0.64.3`. This error appears both with the official management server and a self-hosted one. Originally this error appeared on the Homeassistant addon, but I can easily reproduce it on a regular Linux server. **Have you tried these troubleshooting steps?** - [x] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [x] Restarted the NetBird client
saavagebueno added the triage-needed label 2026-08-05 01:27:18 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10799