Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting device authorization flow info failed with error: failed while getting Management Service public key when connect to self-host server #3072

Open
nitezs opened this issue Dec 18, 2024 · 0 comments

Comments

@nitezs
Copy link

nitezs commented Dec 18, 2024

Describe the problem

sudo netbird up --management-url xxx --admin-url xxx
2024-12-18T11:54:06+08:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 690.220108ms due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key
2024-12-18T11:54:09+08:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 2.199479217s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key
2024-12-18T11:54:13+08:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 1.967353557s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key
2024-12-18T11:54:17+08:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 2.356804163s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key
2024-12-18T11:54:21+08:00 WARN client/cmd/root.go:245: retrying Login to the Management service in 5.196377811s due to error rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key
Error: login backoff cycle failed: rpc error: code = Unknown desc = getting device authorization flow info failed with error: failed while getting Management Service public key

Solution
If you encounter this problem, you might be connecting a netbird server behinding cloudflare CDN. Just turning on gRPC in cloudflare network tab, the problem might be solved.
writing down to help someone in need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant