failed while getting Management Service public key #603

Closed
opened 2025-11-20 05:14:38 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @jvanbruegge on GitHub (Feb 1, 2024).

Hi,
I've set up a self-hosted netbird instance. I can access the dashboard as usual, but when I try to connect with a client (linux cli) the daemon only prints this error message:

2024-02-01T17:50:53Z ERRO client/internal/login.go:105: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8"

I am using authentik as identity provider. What could cause this error?

Originally created by @jvanbruegge on GitHub (Feb 1, 2024). Hi, I've set up a self-hosted netbird instance. I can access the dashboard as usual, but when I try to connect with a client (linux cli) the daemon only prints this error message: ``` 2024-02-01T17:50:53Z ERRO client/internal/login.go:105: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/plain; charset=utf-8" ``` I am using authentik as identity provider. What could cause this error?
Author
Owner

@jvanbruegge commented on GitHub (Feb 1, 2024):

Ok, turns out I just missed check proto h2 in the backend section of HAProxy:

backend netbird-management
      mode http
      server netbird-management 127.0.0.1:10001 check proto h2
@jvanbruegge commented on GitHub (Feb 1, 2024): Ok, turns out I just missed `check proto h2` in the `backend` section of HAProxy: ``` backend netbird-management mode http server netbird-management 127.0.0.1:10001 check proto h2 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#603