[GH-ISSUE #1519] failed while getting Management Service public key #2581

Closed
opened 2026-08-05 00:47:54 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @jvanbruegge on GitHub (Feb 1, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1519

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). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1519 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
<!-- gh-comment-id:1921908135 --> @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.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2581