[GH-ISSUE #2043] error: failed while getting Management Service public key #4087

Open
opened 2026-08-05 00:55:49 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @LuizFelipeAlvesMaia on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2043

Describe the problem

The error message you are encountering, "rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key," indicates that the Netbird agent is unable to retrieve the public key from the Management Service. This public key is essential for establishing a secure communication channel between the agent and the management service. The failure could be due to several reasons, such as network connectivity issues, misconfiguration of the management service, or problems with the service's key management or distribution.

To Reproduce

Steps to reproduce the behavior:

Follow all the steps in the Self-Hosted guide, using Google Workspace IDP.
Attempt to connect a Windows agent to https://netbird.mydomain.com:443.

Expected behavior:

The agent should successfully connect to the Netbird self-hosted instance, retrieving the Management Service public key and completing the authorization process without errors.

Are you using NetBird Cloud?

No, I am self-hosting NetBird's control plane.

NetBird version: 0.27.9

If applicable, add screenshots to help explain your problem.

image

Originally created by @LuizFelipeAlvesMaia on GitHub (May 23, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2043 **Describe the problem** The error message you are encountering, "rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key," indicates that the Netbird agent is unable to retrieve the public key from the Management Service. This public key is essential for establishing a secure communication channel between the agent and the management service. The failure could be due to several reasons, such as network connectivity issues, misconfiguration of the management service, or problems with the service's key management or distribution. To Reproduce Steps to reproduce the behavior: Follow all the steps in the Self-Hosted guide, using Google Workspace IDP. Attempt to connect a Windows agent to https://netbird.mydomain.com:443. Expected behavior: The agent should successfully connect to the Netbird self-hosted instance, retrieving the Management Service public key and completing the authorization process without errors. Are you using NetBird Cloud? No, I am self-hosting NetBird's control plane. NetBird version: 0.27.9 If applicable, add screenshots to help explain your problem. ![image](https://github.com/netbirdio/netbird/assets/71887325/034c4047-e7fe-45ce-af53-1ef5e8e044b1)
saavagebueno added the triage-needed label 2026-08-05 00:55:49 -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#4087