Skip to content

Commit 030284f

Browse files
authored
troubleshooting-client.mdx: update Client login failures section (#386)
* troubleshooting-client.mdx: update `Client login failures` section
1 parent 4f34fa5 commit 030284f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/pages/how-to/troubleshooting-client.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,22 @@ You might get errors like below when trying to use Setup Key/different SSO user
340340
2025-04-08T15:03:04+01:00 WARN client/server/server.go:267: failed login: rpc error: code = PermissionDenied desc = invalid user
341341
```
342342

343+
<Note>
344+
Starting with the release `0.50.0` the `invalid user` message is more descriptive:
345+
`peer is already registered by a different User or a Setup Key`
346+
</Note>
347+
348+
343349
The most notable examples of encountering the issue are:
344350

345-
- shared machines,
351+
- a shared machine and/or machine previously logged in by somebody else,
346352
- a machine that was previously logged in using Setup Key, but now attempts SSO login,
347-
- a machine\'s Peer got removed from the Dashboard without clearing the file,
353+
- the user makes a mistake and selects
348354
- the user uses different browser/profile or selects the wrong account during SSO login at the start of the workday,
349355

350-
To resolve the issue, you will need to remove the file manually to use the machine as a different user/Setup Key while the NetBird client daemon is stopped:
356+
If you know the exact previous Peer which was logged in, you can just delete it from Dashboard without doing anything else and attempt login again.
357+
358+
Otherwise, to resolve the issue, you will need to remove the file manually to use the machine as a different user/Setup Key while the NetBird client daemon is stopped:
351359

352360
1. `netbird service stop`
353361
2. `sudo rm /etc/netbird/config.json` (*nix) or `rm C:\ProgramData\netbird\config.json` (Windows)

0 commit comments

Comments
 (0)