error: failed while getting Management Service public key #925

Closed
opened 2025-11-20 05:20:00 -05:00 by saavagebueno · 22 comments
Owner

Originally created by @LuizFelipeAlvesMaia on GitHub (May 23, 2024).

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). **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 2025-11-20 05:20:00 -05:00
Author
Owner

@LuizFelipeAlvesMaia commented on GitHub (May 24, 2024):

UPDATE: Now I have an error when trying to connect my Netbird agent. My management container has the following log:
management-1 | 2024-05-24T21:17:55Z WARN management/server/grpcserver.go:371: failed logging in peer

@LuizFelipeAlvesMaia commented on GitHub (May 24, 2024): UPDATE: Now I have an error when trying to connect my Netbird agent. My management container has the following log: `management-1 | 2024-05-24T21:17:55Z WARN management/server/grpcserver.go:371: failed logging in peer`
Author
Owner

@Amplificator commented on GitHub (Jun 3, 2024):

I have the same error as you initially did - how did you fix it?

@Amplificator commented on GitHub (Jun 3, 2024): I have the same error as you initially did - how did you fix it?
Author
Owner

@LuizFelipeAlvesMaia commented on GitHub (Jul 31, 2024):

I have the same error as you initially did - how did you fix it?

I'm still encountering the same error. I had to take a break from trying to fix it, but now I'm attempting to resolve it again. My peers still can't connect to the server.

@LuizFelipeAlvesMaia commented on GitHub (Jul 31, 2024): > I have the same error as you initially did - how did you fix it? I'm still encountering the same error. I had to take a break from trying to fix it, but now I'm attempting to resolve it again. My peers still can't connect to the server.
Author
Owner

@biggreywave commented on GitHub (Aug 4, 2024):

sane error here

@biggreywave commented on GitHub (Aug 4, 2024): sane error here
Author
Owner

@maslyankov commented on GitHub (Aug 6, 2024):

Anyone who solved this?

@maslyankov commented on GitHub (Aug 6, 2024): Anyone who solved this?
Author
Owner

@BrianGrug commented on GitHub (Sep 3, 2024):

I'm having the same issue as well. Using Authentik as SSO

@BrianGrug commented on GitHub (Sep 3, 2024): I'm having the same issue as well. Using Authentik as SSO
Author
Owner

@juniormarangao commented on GitHub (Sep 16, 2024):

Hi!

I am facing this issue, I can't connect any client.
I've installed using Advanced guide, with Authentik and Nginx Proxy Manager.
I can login, shows peers page, I can create management Keys, but I cannot connect.

When I debbug with sudo netbird up -F -l debug -m https://myvpn.example.com:443 shows this below

2024-09-16T12:33:03-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024-09-16T12:33:03-03:00 WARN client/cmd/root.go:234: retrying Login to the Management service in 1.259689188s due to error failed while getting Management Service public key
2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://myvpn.example.com:443
2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://myvpn.example.com:443
2024-09-16T12:33:05-03:00 ERRO management/client/grpc.go:287: failed while getting Management Service public key: rpc error: code = Unavailable desc = unexpected HTTP status code received from server: 502 (Bad Gateway); transport: received unexpected content-type "text/html"

The setup is 3 VMs:

  1. Nginx Proxy Manager
  2. Authentik
  3. Netbird

All behind one Public IP, but same internal network, all reachable between each.
In NPM with host pointing to netbird vm, is the ports 80, 443, and 33073 in configuration, with gRPC, etc...

The other ports required, is forwarding directly to the netbird VM.

There are something that I missed?

@juniormarangao commented on GitHub (Sep 16, 2024): Hi! I am facing this issue, I can't connect any client. I've installed using Advanced guide, with Authentik and Nginx Proxy Manager. I can login, shows peers page, I can create management Keys, but I cannot connect. When I debbug with `sudo netbird up -F -l debug -m https://myvpn.example.com:443` shows this below ``` 2024-09-16T12:33:03-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024-09-16T12:33:03-03:00 WARN client/cmd/root.go:234: retrying Login to the Management service in 1.259689188s due to error failed while getting Management Service public key 2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://myvpn.example.com:443 2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://myvpn.example.com:443 2024-09-16T12:33:05-03:00 ERRO management/client/grpc.go:287: failed while getting Management Service public key: rpc error: code = Unavailable desc = unexpected HTTP status code received from server: 502 (Bad Gateway); transport: received unexpected content-type "text/html" ``` The setup is 3 VMs: 1. Nginx Proxy Manager 2. Authentik 3. Netbird All behind one Public IP, but same internal network, all reachable between each. In NPM with host pointing to netbird vm, is the ports `80`, `443`, and `33073` in configuration, with gRPC, etc... The other ports required, is forwarding directly to the netbird VM. There are something that I missed?
Author
Owner

@Christophe-Foyer commented on GitHub (Sep 24, 2024):

Any updates on this issue? I'm also having the same problem. Here's the exact error I'm seeing when setting up the peer:

2024-09-24T10:20:41Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024-09-24T10:20:41Z WARN client/cmd/root.go:244: retrying Login to the Management service in 5.18639944s due to error failed while getting Management Service public key
2024-09-24T10:20:47Z ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type "text/plain; charset=UTF-8"
2024-09-24T10:20:47Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key

Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key

Regarding my setup, I can access the ui at https://subdomain.domain.example/, keycloak is at https://othersubdomain.domain.example/ with the admin url set to a local http://192.168.X.X:port/ reflecting the VM ip and keycloak port. Logging in seems to work fine.

I also only have ports 80 and 443 forwarded to NPM which then forwards it to the VM that hosts netbird (where SSL is off etc).

My Nginx Proxy Manager is setup as described in this reddit comment. Custom locations:

  • /api
    Scheme: http Forward Hostname / IP : netbird-management-1 Forward Port: 443

  • /management.ManagementService/
    Advanced:

    grpc_pass grpc://192.168.X.X:33073; # matches exposed management port in docker compose
    #grpc_ssl_verify off;
    grpc_read_timeout 1d;
    grpc_send_timeout 1d;
    grpc_socket_keepalive on;

  • /signalexchange.SignalExchange/
    Advanced:

    grpc_pass grpc://192.168.X.X:10000; # matches exposed signal port in docker compose
    #grpc_ssl_verify off;
    grpc_read_timeout 1d;
    grpc_send_timeout 1d;
    grpc_socket_keepalive on;

Happy to share more about my setup, this is seen as advanced use from my understanding so not too surprising if I got things wrong when setting it up for the first time.

@Christophe-Foyer commented on GitHub (Sep 24, 2024): Any updates on this issue? I'm also having the same problem. Here's the exact error I'm seeing when setting up the peer: ``` 2024-09-24T10:20:41Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024-09-24T10:20:41Z WARN client/cmd/root.go:244: retrying Login to the Management service in 5.18639944s due to error failed while getting Management Service public key 2024-09-24T10:20:47Z ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type "text/plain; charset=UTF-8" 2024-09-24T10:20:47Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key ``` Regarding my setup, I can access the ui at `https://subdomain.domain.example/`, keycloak is at `https://othersubdomain.domain.example/` with the admin url set to a local `http://192.168.X.X:port/` reflecting the VM ip and keycloak port. Logging in seems to work fine. I also only have ports 80 and 443 forwarded to NPM which then forwards it to the VM that hosts netbird (where SSL is off etc). My Nginx Proxy Manager is setup as described in [this reddit comment](https://www.reddit.com/r/nginxproxymanager/comments/1arxp04/netbird_config/kyhanum/). Custom locations: - /api Scheme: http Forward Hostname / IP : netbird-management-1 Forward Port: 443 - /management.ManagementService/ Advanced: grpc_pass grpc://192.168.X.X:33073; # matches exposed management port in docker compose #grpc_ssl_verify off; grpc_read_timeout 1d; grpc_send_timeout 1d; grpc_socket_keepalive on; - /signalexchange.SignalExchange/ Advanced: grpc_pass grpc://192.168.X.X:10000; # matches exposed signal port in docker compose #grpc_ssl_verify off; grpc_read_timeout 1d; grpc_send_timeout 1d; grpc_socket_keepalive on; Happy to share more about my setup, this is seen as advanced use from my understanding so not too surprising if I got things wrong when setting it up for the first time.
Author
Owner

@juniormarangao commented on GitHub (Sep 24, 2024):

I had a little progress I think.
Instead /api set to IP:443, I changed to IP:33073

With this I could partially add peers.
On the client side (linux) I used the command netbird up -m https://domain.name and generated the URL for authenticate, I can authenticate, but the page goes blank, and in terminal stays forever without end to establish the connection...
Checking management logs, shows Peer need to login
When I cancel the command in client side and type netbird status it shows connected, but Signal disconnected.
In Dashboard page the peer shows there, but offline.

Now I am trying hard to figure out how to fix that too, and until now nothing.

@juniormarangao commented on GitHub (Sep 24, 2024): I had a little progress I think. Instead `/api` set to IP:443, I changed to IP:33073 With this I could partially add peers. On the client side (linux) I used the command `netbird up -m https://domain.name` and generated the URL for authenticate, I can authenticate, but the page goes blank, and in terminal stays forever without end to establish the connection... Checking management logs, shows `Peer need to login` When I cancel the command in client side and type `netbird status` it shows connected, but Signal disconnected. In Dashboard page the peer shows there, but offline. Now I am trying hard to figure out how to fix that too, and until now nothing.
Author
Owner

@185504a9 commented on GitHub (Sep 24, 2024):

This is pretty specific so I dunno if this can help you guys but I "solved" this problem after remembering that I'm using Cloudflare as DNS so I had to disable the proxying of requests to my netbird's subdomain

@185504a9 commented on GitHub (Sep 24, 2024): This is pretty specific so I dunno if this can help you guys but I "solved" this problem after remembering that I'm using Cloudflare as DNS so I had to disable the proxying of requests to my netbird's subdomain
Author
Owner

@Christophe-Foyer commented on GitHub (Sep 24, 2024):

Not a solution and not sure if this gives any more info but I can't even get it to a point where it complains that the peer needs to log in.
I had a typo above and it was already redirecting the API calls to the correct address. Can't get it to reach your peer need to login issue yet.
Cloudflare proxying is already off.

This is a slightly more verbose version of the error above when running GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug:

2024-09-24T16:49:44Z DEBG client/internal/login.go:93: connecting to the Management service https://domain.subdomain.example:443
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel created
2024/09/24 16:49:44 INFO: [core] [Channel #16]original dial target is: "domain.subdomain.example:443"
2024/09/24 16:49:44 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"domain.subdomain.example", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/09/24 16:49:44 INFO: [core] [Channel #16]fallback to scheme "passthrough"
2024/09/24 16:49:44 INFO: [core] [Channel #16]parsed dial target is: passthrough:///domain.subdomain.example:443
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel authority set to "domain.subdomain.example:443"
2024/09/24 16:49:44 INFO: [core] [Channel #16]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "domain.subdomain.example:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "domain.subdomain.example:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first"
2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "domain.subdomain.example:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "domain.subdomain.example:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel created
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel exiting idle mode
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "domain.subdomain.example:443" to connect
2024-09-24T16:49:44Z DEBG util/net/dialer_nonios.go:52: Dialing tcp domain.subdomain.example:443
2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received SubConn state update: 0xc0008ae900, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY
2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received SubConn state update: 0xc0008ae900, {ConnectivityState:READY ConnectionError:<nil>}
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to READY
2024-09-24T16:49:44Z DEBG client/internal/login.go:63: connected to the Management service https://domain.subdomain.example:443
2024-09-24T16:49:44Z ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type "text/plain; charset=UTF-8"
2024-09-24T16:49:44Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN
2024/09/24 16:49:44 INFO: [core] [Channel #16]Closing the name resolver
2024/09/24 16:49:44 INFO: [core] [Channel #16]ccBalancerWrapper: closing
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN
2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted
2024/09/24 16:49:44 INFO: [transport] [client-transport 0xc0007fd688] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/09/24 16:49:44 INFO: [transport] [client-transport 0xc0007fd688] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel deleted
2024-09-24T16:49:44Z WARN client/cmd/root.go:244: retrying Login to the Management service in 10.261420214s due to error failed while getting Management Service public key

Still digging into this, would be nice to get it working some day.

EDIT:
Seems like {KEYCLOAK_URL}/admin/realms/netbird doesn't slead anywhere, I thought it was meant to be a rest api or something?

@Christophe-Foyer commented on GitHub (Sep 24, 2024): Not a solution and not sure if this gives any more info but I can't even get it to a point where it complains that the peer needs to log in. I had a typo above and it was already redirecting the API calls to the correct address. Can't get it to reach your peer need to login issue yet. Cloudflare proxying is already off. This is a slightly more verbose version of the error above when running `GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug`: ``` 2024-09-24T16:49:44Z DEBG client/internal/login.go:93: connecting to the Management service https://domain.subdomain.example:443 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel created 2024/09/24 16:49:44 INFO: [core] [Channel #16]original dial target is: "domain.subdomain.example:443" 2024/09/24 16:49:44 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"domain.subdomain.example", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/09/24 16:49:44 INFO: [core] [Channel #16]fallback to scheme "passthrough" 2024/09/24 16:49:44 INFO: [core] [Channel #16]parsed dial target is: passthrough:///domain.subdomain.example:443 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel authority set to "domain.subdomain.example:443" 2024/09/24 16:49:44 INFO: [core] [Channel #16]Resolver state updated: { "Addresses": [ { "Addr": "domain.subdomain.example:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "domain.subdomain.example:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first" 2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "domain.subdomain.example:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "domain.subdomain.example:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel created 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel exiting idle mode 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "domain.subdomain.example:443" to connect 2024-09-24T16:49:44Z DEBG util/net/dialer_nonios.go:52: Dialing tcp domain.subdomain.example:443 2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received SubConn state update: 0xc0008ae900, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY 2024/09/24 16:49:44 INFO: [core] [pick-first-lb 0xc0008ae8a0] Received SubConn state update: 0xc0008ae900, {ConnectivityState:READY ConnectionError:<nil>} 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to READY 2024-09-24T16:49:44Z DEBG client/internal/login.go:63: connected to the Management service https://domain.subdomain.example:443 2024-09-24T16:49:44Z ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type "text/plain; charset=UTF-8" 2024-09-24T16:49:44Z ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN 2024/09/24 16:49:44 INFO: [core] [Channel #16]Closing the name resolver 2024/09/24 16:49:44 INFO: [core] [Channel #16]ccBalancerWrapper: closing 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN 2024/09/24 16:49:44 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted 2024/09/24 16:49:44 INFO: [transport] [client-transport 0xc0007fd688] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/09/24 16:49:44 INFO: [transport] [client-transport 0xc0007fd688] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/09/24 16:49:44 INFO: [core] [Channel #16]Channel deleted 2024-09-24T16:49:44Z WARN client/cmd/root.go:244: retrying Login to the Management service in 10.261420214s due to error failed while getting Management Service public key ``` Still digging into this, would be nice to get it working some day. EDIT: Seems like `{KEYCLOAK_URL}/admin/realms/netbird` doesn't slead anywhere, I thought it was meant to be a rest api or something?
Author
Owner

@Christophe-Foyer commented on GitHub (Sep 24, 2024):

Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager.

Not sure it's the same as the rest of you though but going to post my config just in case.

underscores_in_headers on; 

location /management.ManagementService/ {
  grpc_pass grpc://192.168.X.X:33073;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /signalexchange.SignalExchange/ {
  grpc_pass grpc://192.168.X.X:10000;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve!

@Christophe-Foyer commented on GitHub (Sep 24, 2024): Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager. Not sure it's the same as the rest of you though but going to post my config just in case. ``` underscores_in_headers on; location /management.ManagementService/ { grpc_pass grpc://192.168.X.X:33073; #grpc_ssl_verify off; grpc_read_timeout 1d; grpc_send_timeout 1d; grpc_socket_keepalive on; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location /signalexchange.SignalExchange/ { grpc_pass grpc://192.168.X.X:10000; #grpc_ssl_verify off; grpc_read_timeout 1d; grpc_send_timeout 1d; grpc_socket_keepalive on; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } ``` Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve!
Author
Owner

@BrianGrug commented on GitHub (Sep 25, 2024):

Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager.

Not sure it's the same as the rest of you though but going to post my config just in case.

underscores_in_headers on; 

location /management.ManagementService/ {
  grpc_pass grpc://192.168.X.X:33073;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /signalexchange.SignalExchange/ {
  grpc_pass grpc://192.168.X.X:10000;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve!

I ended up getting a cheap VPS and hosting it on there. No issues after that. Even tried using the same reverse proxy instance, that it worked. Have no idea what was causing the issue, guessing a firewall misconfiguration, or maybe a port missing from documentation?

@BrianGrug commented on GitHub (Sep 25, 2024): > Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager. > > Not sure it's the same as the rest of you though but going to post my config just in case. > > ``` > underscores_in_headers on; > > location /management.ManagementService/ { > grpc_pass grpc://192.168.X.X:33073; > #grpc_ssl_verify off; > grpc_read_timeout 1d; > grpc_send_timeout 1d; > grpc_socket_keepalive on; > grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > } > > location /signalexchange.SignalExchange/ { > grpc_pass grpc://192.168.X.X:10000; > #grpc_ssl_verify off; > grpc_read_timeout 1d; > grpc_send_timeout 1d; > grpc_socket_keepalive on; > grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > } > ``` > > Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve! I ended up getting a cheap VPS and hosting it on there. No issues after that. Even tried using the same reverse proxy instance, that it worked. Have no idea what was causing the issue, guessing a firewall misconfiguration, or maybe a port missing from documentation?
Author
Owner

@juniormarangao commented on GitHub (Sep 25, 2024):

Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager.

Not sure it's the same as the rest of you though but going to post my config just in case.

underscores_in_headers on; 

location /management.ManagementService/ {
  grpc_pass grpc://192.168.X.X:33073;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /signalexchange.SignalExchange/ {
  grpc_pass grpc://192.168.X.X:10000;
  #grpc_ssl_verify off;
  grpc_read_timeout 1d;
  grpc_send_timeout 1d;
  grpc_socket_keepalive on;
  grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
}

Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve!

I ended up getting a cheap VPS and hosting it on there. No issues after that. Even tried using the same reverse proxy instance, that it worked. Have no idea what was causing the issue, guessing a firewall misconfiguration, or maybe a port missing from documentation?

I have it installed in other location, in a residential place with a common residential internet with dynamic public IP, but with quick install, all Default, and it is working great.
But this way I lost my port 80 and 443 to work only netbird.
I am almost to take a cheap VPS too, and use quick install... This is really annoying me... The documentation is missing a lot of things.

@juniormarangao commented on GitHub (Sep 25, 2024): > > Figured out my issue. Just had to move the grpc directives to the advanced tab in nginx proxy manager. > > > > Not sure it's the same as the rest of you though but going to post my config just in case. > > > > ``` > > underscores_in_headers on; > > > > location /management.ManagementService/ { > > grpc_pass grpc://192.168.X.X:33073; > > #grpc_ssl_verify off; > > grpc_read_timeout 1d; > > grpc_send_timeout 1d; > > grpc_socket_keepalive on; > > grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > > } > > > > location /signalexchange.SignalExchange/ { > > grpc_pass grpc://192.168.X.X:10000; > > #grpc_ssl_verify off; > > grpc_read_timeout 1d; > > grpc_send_timeout 1d; > > grpc_socket_keepalive on; > > grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > > } > > ``` > > > > Edit: though now I'm having issues with peers not seeing relay servers so... fun new isues to solve! > > I ended up getting a cheap VPS and hosting it on there. No issues after that. Even tried using the same reverse proxy instance, that it worked. Have no idea what was causing the issue, guessing a firewall misconfiguration, or maybe a port missing from documentation? I have it installed in other location, in a residential place with a common residential internet with dynamic public IP, but with quick install, all Default, and it is working great. But this way I lost my port 80 and 443 to work only netbird. I am almost to take a cheap VPS too, and use quick install... This is really annoying me... The documentation is missing a lot of things.
Author
Owner

@collse commented on GitHub (Sep 30, 2024):

damn this was a tricky one but I finally got it to work.

edit: 02-10-2024 - had to do some minor changes

My setup is as follows:
image

my docker compose differs as below:

dashboard:
    ports:
      - 80:80
      - 443:443
    environment:
      # Endpoints
      - NETBIRD_MGMT_API_ENDPOINT=https://your.dom.com:443
      - NETBIRD_MGMT_GRPC_API_ENDPOINT=https://your.dom.com:443
signal:
   ports:
      - 10000:10000
relay:
    ports:
      - 33080:33080
    environment:
    - NB_LOG_LEVEL=info
    - NB_LISTEN_ADDRESS=:33080
    - NB_EXPOSED_ADDRESS=your.dom.com:443
management:
    ports:
      -  33073:443 #API port
    command: [
      "--port", "443",
      "--log-file", "console",
      "--log-level", "info",
      "--disable-anonymous-metrics=false",

adjust your management.json to:

    "Relay": {
        "Addresses": [
            "rels://your.dom.com:443"
        ],

my nginx proxy manager configuration:

main domain eg:
nb.your.dom.com

scheme: http forward: ip.address.of.docker.host forward_port:80

advanced:

proxy_set_header        X-Real-IP $remote_addr;
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header        X-Scheme $scheme;
proxy_set_header        X-Forwarded-Proto https;
proxy_set_header        X-Forwarded-Host $host;
grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;
underscores_in_headers on;

custom locations:
/api

scheme: http forward: ip.address.of.docker.host forward_port:33073
advanced

proxy_set_header        X-Real-IP $remote_addr;
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header        X-Scheme $scheme;
proxy_set_header        X-Forwarded-Proto https;
proxy_set_header        X-Forwarded-Host $host;
grpc_set_header         X-Forwarded-For $proxy_add_x_forwarded_for;

/management.ManagementService/

scheme: http forward: ip.address.of.docker.host forward_port:33073

advanced:

    if ($http_content_type = "application/grpc") { 
        grpc_pass grpc://ip.address.of.docker.host:33073; 
    } 
grpc_read_timeout 300s;
grpc_send_timeout 300s;
grpc_socket_keepalive on;
grpc_set_header         X-Forwarded-For     $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server

/signalexchange.SignalExchange/

scheme: http forward: ip.address.of.docker.host forward_port:10000

advanced:

    if ($http_content_type = "application/grpc") { 
        grpc_pass grpc://ip.address.of.docker.host:10000; 
    } 
grpc_read_timeout 300s;
grpc_send_timeout 300s;
grpc_socket_keepalive on;
grpc_set_header         X-Forwarded-For     $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server

/relay/

scheme: http forward: ip.address.of.docker.host forward_port:33080

NPM version: v2.11.3 © 2024 jc21.com.

you will still need to forward the ports for tun on your firewall: UDP 3478, and range of ports, UDP 49152-65535 for dynamic relay connections or as changed from the defaults

@collse commented on GitHub (Sep 30, 2024): damn this was a tricky one but I finally got it to work. **edit: 02-10-2024 - had to do some minor changes** **My setup is as follows:** <img width="1285" alt="image" src="https://github.com/user-attachments/assets/1406b83b-4fe7-4c1a-bd3d-6ed159d189c4"> **my docker compose differs as below:** ``` dashboard: ports: - 80:80 - 443:443 environment: # Endpoints - NETBIRD_MGMT_API_ENDPOINT=https://your.dom.com:443 - NETBIRD_MGMT_GRPC_API_ENDPOINT=https://your.dom.com:443 ``` ``` signal: ports: - 10000:10000 ``` ``` relay: ports: - 33080:33080 environment: - NB_LOG_LEVEL=info - NB_LISTEN_ADDRESS=:33080 - NB_EXPOSED_ADDRESS=your.dom.com:443 ``` ``` management: ports: - 33073:443 #API port command: [ "--port", "443", "--log-file", "console", "--log-level", "info", "--disable-anonymous-metrics=false", ``` **adjust your management.json to:** ``` "Relay": { "Addresses": [ "rels://your.dom.com:443" ], ``` **my nginx proxy manager configuration:** main domain eg: nb.your.dom.com scheme: http forward: ip.address.of.docker.host forward_port:80 advanced: ``` proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Host $host; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; underscores_in_headers on; ``` **custom locations:** /api scheme: http forward: ip.address.of.docker.host forward_port:33073 advanced ``` proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Host $host; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ``` /management.ManagementService/ scheme: http forward: ip.address.of.docker.host forward_port:33073 advanced: ``` if ($http_content_type = "application/grpc") { grpc_pass grpc://ip.address.of.docker.host:33073; } grpc_read_timeout 300s; grpc_send_timeout 300s; grpc_socket_keepalive on; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server ``` /signalexchange.SignalExchange/ scheme: http forward: ip.address.of.docker.host forward_port:10000 advanced: ``` if ($http_content_type = "application/grpc") { grpc_pass grpc://ip.address.of.docker.host:10000; } grpc_read_timeout 300s; grpc_send_timeout 300s; grpc_socket_keepalive on; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server ``` /relay/ scheme: http forward: ip.address.of.docker.host forward_port:33080 NPM version: v2.11.3 © 2024 [jc21.com](https://jc21.com/?utm_source=nginx-proxy-manager). **you will still need to forward the ports for tun on your firewall: UDP 3478, and range of ports, UDP 49152-65535 for dynamic relay connections or as changed from the defaults**
Author
Owner

@juniormarangao commented on GitHub (Oct 16, 2024):

Maybe it not be considering close yet.
I've checked my configuration, most was like yours @collse, so I did the changes following your guide, and I am still facing issues...

Well, let's say I got some progress even before this adjustments...
My case now is: I am able to access dashboard page, I can navigate to other pages, like Setup Keys and create keys, Access Control,, Network Routes, etc.
But when I try to add some peer, in the client the things stay forever without finish the command netbird up -m https://domain
It generates a url, that ask me to login, after the login the page is blank and nothing happens, when I use a Key netbird up -m https://domain -k key-value its just stays forever without finish the command, the peer shows in dashboard but as offline, in management logs keeps showing "Peer needs login".

Honestly, I don't know nothing more I can do, I already have started it again from scratch a couple of times, and always I got stuck in this situation

Update: I am getting this error on client side

2024-10-16T03:08:30-03:00 ERRO util/grpc/dialer.go:38: Failed to dial: dial: dial tcp PUBLIC-IP-SERVER-SIDE:10000: connect: connection refused
2024-10-16T03:08:36-03:00 INFO util/grpc/dialer.go:75: DialContext error: context deadline exceeded
2024-10-16T03:08:36-03:00 INFO signal/client/grpc.go:69: createConnection error: context deadline exceeded

And in status show Signal as disconnected

Signal: Disconnected
@juniormarangao commented on GitHub (Oct 16, 2024): Maybe it not be considering close yet. I've checked my configuration, most was like yours @collse, so I did the changes following your guide, and I am still facing issues... Well, let's say I got some progress even before this adjustments... My case now is: I am able to access dashboard page, I can navigate to other pages, like Setup Keys and create keys, Access Control,, Network Routes, etc. But when I try to add some peer, in the client the things stay forever without finish the command `netbird up -m https://domain` It generates a url, that ask me to login, after the login the page is blank and nothing happens, when I use a Key `netbird up -m https://domain -k key-value` its just stays forever without finish the command, the peer shows in dashboard but as offline, in management logs keeps showing "**Peer needs login**". Honestly, I don't know nothing more I can do, I already have started it again from scratch a couple of times, and always I got stuck in this situation Update: I am getting this error on client side ``` 2024-10-16T03:08:30-03:00 ERRO util/grpc/dialer.go:38: Failed to dial: dial: dial tcp PUBLIC-IP-SERVER-SIDE:10000: connect: connection refused 2024-10-16T03:08:36-03:00 INFO util/grpc/dialer.go:75: DialContext error: context deadline exceeded 2024-10-16T03:08:36-03:00 INFO signal/client/grpc.go:69: createConnection error: context deadline exceeded ``` And in status show Signal as disconnected ``` Signal: Disconnected ```
Author
Owner

@collse commented on GitHub (Oct 16, 2024):

seems like your signalling is trying to reach port: 10000 instead of using 443 and then being handled ... my setup only exposes 80 and 443 externally no other ports on NPM, the remaining ports are handled in NPM or forwarded by my firewall directly

try the following: netbird up -m https://domain:443 -k key-value

@collse commented on GitHub (Oct 16, 2024): seems like your signalling is trying to reach port: 10000 instead of using 443 and then being handled ... my setup only exposes 80 and 443 externally no other ports on NPM, the remaining ports are handled in NPM or forwarded by my firewall directly try the following: `netbird up -m https://domain:443 -k key-value `
Author
Owner

@juniormarangao commented on GitHub (Oct 20, 2024):

Same thing!

Could it be some misconfiguration on signal in Nginx Proxy Manager?
I did the configuration like in your previous post

/signalexchange.SignalExchange/

scheme: http forward: ip.address.of.docker.host forward_port:10000

advanced:

    if ($http_content_type = "application/grpc") { 
        grpc_pass grpc://ip.address.of.docker.host:10000; 
    } 
grpc_read_timeout 300s;
grpc_send_timeout 300s;
grpc_socket_keepalive on;
grpc_set_header         X-Forwarded-For     $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server
@juniormarangao commented on GitHub (Oct 20, 2024): Same thing! Could it be some misconfiguration on signal in Nginx Proxy Manager? I did the configuration like in your previous post /signalexchange.SignalExchange/ scheme: http forward: ip.address.of.docker.host forward_port:10000 advanced: ``` if ($http_content_type = "application/grpc") { grpc_pass grpc://ip.address.of.docker.host:10000; } grpc_read_timeout 300s; grpc_send_timeout 300s; grpc_socket_keepalive on; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #helps getting the correct IP through npm to the server ```
Author
Owner

@collse commented on GitHub (Oct 20, 2024):

based on your previous message it is attempting to make the call to port 10000 instead of 443 not sure what prompts it to do that, check your configuration again, against mine - I know it works as it has been working like that since - unfortunately no other advice that I can give apart from also checking your npm logs but the attempt to :10000 is explicit enough what happens there

@collse commented on GitHub (Oct 20, 2024): based on your previous message it is attempting to make the call to port 10000 instead of 443 not sure what prompts it to do that, check your configuration again, against mine - I know it works as it has been working like that since - unfortunately no other advice that I can give apart from also checking your npm logs but the attempt to :10000 is explicit enough what happens there
Author
Owner

@VitorNilson commented on GitHub (Nov 1, 2024):

Hey everyone, I getting an error that looks like yours. Have you ever seen that?

vitor@vitor-Latitude-3410:~/vpn/helm-charts$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug  -m https://netbird-management.my-host.me'
2024-11-01T11:43:36-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-management.my-host.me" (old value "http://netbird-management.my-host.me:80")
2024-11-01T11:43:36-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel created
2024/11/01 11:43:36 INFO: [core] [Channel #1]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 11:43:36 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 11:43:36 INFO: [core] [Channel #1]fallback to scheme "passthrough"
2024/11/01 11:43:36 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 11:43:36 INFO: [core] [Channel #1]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first"
2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel created
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel exiting idle mode
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received SubConn state update: 0xc0003a5950, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T11:43:36-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY
2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received SubConn state update: 0xc0003a5950, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to READY
2024-11-01T11:43:36-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T11:43:36-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8"
2024-11-01T11:43:36-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN
2024/11/01 11:43:36 INFO: [core] [Channel #1]Closing the name resolver
2024/11/01 11:43:36 INFO: [core] [Channel #1]ccBalancerWrapper: closing
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN
2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted
2024/11/01 11:43:36 INFO: [transport] [client-transport 0xc000482248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:36 INFO: [transport] [client-transport 0xc000482248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel deleted
2024-11-01T11:43:36-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.234273125s due to error failed while getting Management Service public key
2024-11-01T11:43:37-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel created
2024/11/01 11:43:37 INFO: [core] [Channel #4]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 11:43:37 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 11:43:37 INFO: [core] [Channel #4]fallback to scheme "passthrough"
2024/11/01 11:43:37 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 11:43:37 INFO: [core] [Channel #4]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first"
2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel created
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel exiting idle mode
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T11:43:37-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received SubConn state update: 0xc0003a5f20, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY
2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received SubConn state update: 0xc0003a5f20, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to READY
2024-11-01T11:43:37-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T11:43:37-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8"
2024-11-01T11:43:37-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN
2024/11/01 11:43:37 INFO: [core] [Channel #4]Closing the name resolver
2024/11/01 11:43:37 INFO: [core] [Channel #4]ccBalancerWrapper: closing
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN
2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted
2024/11/01 11:43:37 INFO: [transport] [client-transport 0xc0000ca488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:37 INFO: [transport] [client-transport 0xc0000ca488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel deleted
2024-11-01T11:43:37-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.135405637s due to error failed while getting Management Service public key
2024-11-01T11:43:38-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel created
2024/11/01 11:43:38 INFO: [core] [Channel #7]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 11:43:38 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 11:43:38 INFO: [core] [Channel #7]fallback to scheme "passthrough"
2024/11/01 11:43:38 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 11:43:38 INFO: [core] [Channel #7]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first"
2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel created
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel exiting idle mode
2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING
2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received SubConn state update: 0xc0008bf980, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T11:43:38-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY
2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received SubConn state update: 0xc0008bf980, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel Connectivity change to READY
2024-11-01T11:43:38-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T11:43:39-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8"
2024-11-01T11:43:39-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 11:43:39 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN
2024/11/01 11:43:39 INFO: [core] [Channel #7]Closing the name resolver
2024/11/01 11:43:39 INFO: [core] [Channel #7]ccBalancerWrapper: closing
2024/11/01 11:43:39 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN
2024/11/01 11:43:39 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted
2024/11/01 11:43:39 INFO: [transport] [client-transport 0xc0000ca908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:39 INFO: [transport] [client-transport 0xc0000ca908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 11:43:39 INFO: [core] [Channel #7]Channel deleted

Important: I'm using cloudlflare with cloudflare proxy.

I've enabled gRPC:
image

I don't know what can I do now to fix that... do you guys have any idea?

EDIT:

Guys, removing cloudflare's proxy this is what i get now:

vitor@vitor-Latitude-3410:~/sankhya/framework/place-mm$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug  -m https://netbird-management.my-host.me'
2024-11-01T14:42:27-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-management.my-host.me" (old value "https://netbird-management.my-host.me:443")
2024-11-01T14:42:27-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel created
2024/11/01 14:42:27 INFO: [core] [Channel #1]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:27 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:27 INFO: [core] [Channel #1]fallback to scheme "passthrough"
2024/11/01 14:42:27 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:27 INFO: [core] [Channel #1]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel created
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel exiting idle mode
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received SubConn state update: 0xc0003e8e40, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T14:42:27-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY
2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received SubConn state update: 0xc0003e8e40, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to READY
2024-11-01T14:42:27-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:27-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:27-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:27 INFO: [core] [Channel #1]Closing the name resolver
2024/11/01 14:42:27 INFO: [core] [Channel #1]ccBalancerWrapper: closing
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted
2024/11/01 14:42:27 INFO: [transport] [client-transport 0xc0000d5d48] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:27 INFO: [transport] [client-transport 0xc0000d5d48] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel deleted
2024-11-01T14:42:27-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.41805094s due to error failed while getting Management Service public key
2024-11-01T14:42:29-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel created
2024/11/01 14:42:29 INFO: [core] [Channel #4]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:29 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:29 INFO: [core] [Channel #4]fallback to scheme "passthrough"
2024/11/01 14:42:29 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:29 INFO: [core] [Channel #4]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel created
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel exiting idle mode
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T14:42:29-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received SubConn state update: 0xc000496f90, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY
2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received SubConn state update: 0xc000496f90, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to READY
2024-11-01T14:42:29-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:29-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:29-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:29 INFO: [core] [Channel #4]Closing the name resolver
2024/11/01 14:42:29 INFO: [core] [Channel #4]ccBalancerWrapper: closing
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted
2024/11/01 14:42:29 INFO: [transport] [client-transport 0xc00089a488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:29 INFO: [transport] [client-transport 0xc00089a488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel deleted
2024-11-01T14:42:29-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.505563623s due to error failed while getting Management Service public key
2024-11-01T14:42:30-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel created
2024/11/01 14:42:30 INFO: [core] [Channel #7]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:30 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:30 INFO: [core] [Channel #7]fallback to scheme "passthrough"
2024/11/01 14:42:30 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:30 INFO: [core] [Channel #7]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel created
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel exiting idle mode
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T14:42:30-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received SubConn state update: 0xc000497890, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY
2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received SubConn state update: 0xc000497890, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to READY
2024-11-01T14:42:30-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:30-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:30-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:30 INFO: [core] [Channel #7]Closing the name resolver
2024/11/01 14:42:30 INFO: [core] [Channel #7]ccBalancerWrapper: closing
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted
2024/11/01 14:42:30 INFO: [transport] [client-transport 0xc00089a908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:30 INFO: [transport] [client-transport 0xc00089a908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel deleted
2024-11-01T14:42:30-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.243706241s due to error failed while getting Management Service public key
2024-11-01T14:42:33-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel created
2024/11/01 14:42:33 INFO: [core] [Channel #10]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:33 INFO: [core] [Channel #10]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:33 INFO: [core] [Channel #10]fallback to scheme "passthrough"
2024/11/01 14:42:33 INFO: [core] [Channel #10]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:33 INFO: [core] [Channel #10]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel created
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to CONNECTING
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel exiting idle mode
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T14:42:33-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received SubConn state update: 0xc000497e00, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to READY
2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received SubConn state update: 0xc000497e00, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to READY
2024-11-01T14:42:33-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:33-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:33-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:33 INFO: [core] [Channel #10]Closing the name resolver
2024/11/01 14:42:33 INFO: [core] [Channel #10]ccBalancerWrapper: closing
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel deleted
2024/11/01 14:42:33 INFO: [transport] [client-transport 0xc000159b08] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:33 INFO: [transport] [client-transport 0xc000159b08] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel deleted
2024-11-01T14:42:33-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.868244059s due to error failed while getting Management Service public key
2024-11-01T14:42:36-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel created
2024/11/01 14:42:36 INFO: [core] [Channel #13]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:36 INFO: [core] [Channel #13]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:36 INFO: [core] [Channel #13]fallback to scheme "passthrough"
2024/11/01 14:42:36 INFO: [core] [Channel #13]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:36 INFO: [core] [Channel #13]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel created
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to CONNECTING
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel exiting idle mode
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T14:42:36-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received SubConn state update: 0xc00098a810, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to READY
2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received SubConn state update: 0xc00098a810, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to READY
2024-11-01T14:42:36-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:36-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:36-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:36 INFO: [core] [Channel #13]Closing the name resolver
2024/11/01 14:42:36 INFO: [core] [Channel #13]ccBalancerWrapper: closing
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel deleted
2024/11/01 14:42:36 INFO: [transport] [client-transport 0xc000994248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:36 INFO: [transport] [client-transport 0xc000994248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel deleted
2024-11-01T14:42:36-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 4.429446084s due to error failed while getting Management Service public key
2024-11-01T14:42:40-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel created
2024/11/01 14:42:40 INFO: [core] [Channel #16]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:40 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:40 INFO: [core] [Channel #16]fallback to scheme "passthrough"
2024/11/01 14:42:40 INFO: [core] [Channel #16]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:40 INFO: [core] [Channel #16]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:40 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel created
2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING
2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel exiting idle mode
2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024/11/01 14:42:40 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received SubConn state update: 0xc0008e0d20, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T14:42:40-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY
2024/11/01 14:42:41 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received SubConn state update: 0xc0008e0d20, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel Connectivity change to READY
2024-11-01T14:42:41-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:41-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:41-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:41 INFO: [core] [Channel #16]Closing the name resolver
2024/11/01 14:42:41 INFO: [core] [Channel #16]ccBalancerWrapper: closing
2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted
2024/11/01 14:42:41 INFO: [transport] [client-transport 0xc0009946c8] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:41 INFO: [transport] [client-transport 0xc0009946c8] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel deleted
2024-11-01T14:42:41-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 8.318837101s due to error failed while getting Management Service public key
2024-11-01T14:42:49-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel created
2024/11/01 14:42:49 INFO: [core] [Channel #19]original dial target is: "netbird-management.my-host.me:443"
2024/11/01 14:42:49 INFO: [core] [Channel #19]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 14:42:49 INFO: [core] [Channel #19]fallback to scheme "passthrough"
2024/11/01 14:42:49 INFO: [core] [Channel #19]parsed dial target is: passthrough:///netbird-management.my-host.me:443
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel authority set to "netbird-management.my-host.me:443"
2024/11/01 14:42:49 INFO: [core] [Channel #19]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel switches to new LB policy "pick_first"
2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-management.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-management.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel created
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to CONNECTING
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel exiting idle mode
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to CONNECTING
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel picks a new address "netbird-management.my-host.me:443" to connect
2024-11-01T14:42:49-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443
2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received SubConn state update: 0xc0008e1770, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to READY
2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received SubConn state update: 0xc0008e1770, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to READY
2024-11-01T14:42:49-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443
2024-11-01T14:42:49-03:00 ERRO management/client/grpc.go:278: 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"
2024-11-01T14:42:49-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to SHUTDOWN
2024/11/01 14:42:49 INFO: [core] [Channel #19]Closing the name resolver
2024/11/01 14:42:49 INFO: [core] [Channel #19]ccBalancerWrapper: closing
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to SHUTDOWN
2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel deleted
2024/11/01 14:42:49 INFO: [transport] [client-transport 0xc000994b48] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:49 INFO: [transport] [client-transport 0xc000994b48] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel deleted
Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key
@VitorNilson commented on GitHub (Nov 1, 2024): Hey everyone, I getting an error that looks like yours. Have you ever seen that? ``` vitor@vitor-Latitude-3410:~/vpn/helm-charts$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug -m https://netbird-management.my-host.me' 2024-11-01T11:43:36-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-management.my-host.me" (old value "http://netbird-management.my-host.me:80") 2024-11-01T11:43:36-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel created 2024/11/01 11:43:36 INFO: [core] [Channel #1]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 11:43:36 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 11:43:36 INFO: [core] [Channel #1]fallback to scheme "passthrough" 2024/11/01 11:43:36 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 11:43:36 INFO: [core] [Channel #1]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first" 2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel created 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel exiting idle mode 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received SubConn state update: 0xc0003a5950, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T11:43:36-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY 2024/11/01 11:43:36 INFO: [core] [pick-first-lb 0xc0003a58c0] Received SubConn state update: 0xc0003a5950, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to READY 2024-11-01T11:43:36-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T11:43:36-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8" 2024-11-01T11:43:36-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN 2024/11/01 11:43:36 INFO: [core] [Channel #1]Closing the name resolver 2024/11/01 11:43:36 INFO: [core] [Channel #1]ccBalancerWrapper: closing 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN 2024/11/01 11:43:36 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted 2024/11/01 11:43:36 INFO: [transport] [client-transport 0xc000482248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:36 INFO: [transport] [client-transport 0xc000482248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:36 INFO: [core] [Channel #1]Channel deleted 2024-11-01T11:43:36-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.234273125s due to error failed while getting Management Service public key 2024-11-01T11:43:37-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel created 2024/11/01 11:43:37 INFO: [core] [Channel #4]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 11:43:37 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 11:43:37 INFO: [core] [Channel #4]fallback to scheme "passthrough" 2024/11/01 11:43:37 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 11:43:37 INFO: [core] [Channel #4]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first" 2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel created 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel exiting idle mode 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T11:43:37-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received SubConn state update: 0xc0003a5f20, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY 2024/11/01 11:43:37 INFO: [core] [pick-first-lb 0xc0003a5ec0] Received SubConn state update: 0xc0003a5f20, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to READY 2024-11-01T11:43:37-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T11:43:37-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8" 2024-11-01T11:43:37-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN 2024/11/01 11:43:37 INFO: [core] [Channel #4]Closing the name resolver 2024/11/01 11:43:37 INFO: [core] [Channel #4]ccBalancerWrapper: closing 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN 2024/11/01 11:43:37 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted 2024/11/01 11:43:37 INFO: [transport] [client-transport 0xc0000ca488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:37 INFO: [transport] [client-transport 0xc0000ca488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:37 INFO: [core] [Channel #4]Channel deleted 2024-11-01T11:43:37-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.135405637s due to error failed while getting Management Service public key 2024-11-01T11:43:38-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel created 2024/11/01 11:43:38 INFO: [core] [Channel #7]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 11:43:38 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 11:43:38 INFO: [core] [Channel #7]fallback to scheme "passthrough" 2024/11/01 11:43:38 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 11:43:38 INFO: [core] [Channel #7]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first" 2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel created 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel exiting idle mode 2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING 2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received SubConn state update: 0xc0008bf980, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T11:43:38-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 11:43:38 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY 2024/11/01 11:43:38 INFO: [core] [pick-first-lb 0xc0008bf920] Received SubConn state update: 0xc0008bf980, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 11:43:38 INFO: [core] [Channel #7]Channel Connectivity change to READY 2024-11-01T11:43:38-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T11:43:39-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 520 (); transport: received unexpected content-type "text/plain; charset=UTF-8" 2024-11-01T11:43:39-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 11:43:39 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN 2024/11/01 11:43:39 INFO: [core] [Channel #7]Closing the name resolver 2024/11/01 11:43:39 INFO: [core] [Channel #7]ccBalancerWrapper: closing 2024/11/01 11:43:39 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN 2024/11/01 11:43:39 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted 2024/11/01 11:43:39 INFO: [transport] [client-transport 0xc0000ca908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:39 INFO: [transport] [client-transport 0xc0000ca908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 11:43:39 INFO: [core] [Channel #7]Channel deleted ``` Important: I'm using cloudlflare with cloudflare proxy. I've enabled gRPC: ![image](https://github.com/user-attachments/assets/b6d86f22-ec46-4523-a076-6ffb5558363a) I don't know what can I do now to fix that... do you guys have any idea? EDIT: Guys, removing cloudflare's proxy this is what i get now: ``` vitor@vitor-Latitude-3410:~/sankhya/framework/place-mm$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug -m https://netbird-management.my-host.me' 2024-11-01T14:42:27-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-management.my-host.me" (old value "https://netbird-management.my-host.me:443") 2024-11-01T14:42:27-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel created 2024/11/01 14:42:27 INFO: [core] [Channel #1]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:27 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:27 INFO: [core] [Channel #1]fallback to scheme "passthrough" 2024/11/01 14:42:27 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:27 INFO: [core] [Channel #1]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel created 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel exiting idle mode 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received SubConn state update: 0xc0003e8e40, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T14:42:27-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY 2024/11/01 14:42:27 INFO: [core] [pick-first-lb 0xc0003e8db0] Received SubConn state update: 0xc0003e8e40, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to READY 2024-11-01T14:42:27-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:27-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:27-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:27 INFO: [core] [Channel #1]Closing the name resolver 2024/11/01 14:42:27 INFO: [core] [Channel #1]ccBalancerWrapper: closing 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:27 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted 2024/11/01 14:42:27 INFO: [transport] [client-transport 0xc0000d5d48] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:27 INFO: [transport] [client-transport 0xc0000d5d48] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:27 INFO: [core] [Channel #1]Channel deleted 2024-11-01T14:42:27-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.41805094s due to error failed while getting Management Service public key 2024-11-01T14:42:29-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel created 2024/11/01 14:42:29 INFO: [core] [Channel #4]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:29 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:29 INFO: [core] [Channel #4]fallback to scheme "passthrough" 2024/11/01 14:42:29 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:29 INFO: [core] [Channel #4]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel created 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel exiting idle mode 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T14:42:29-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received SubConn state update: 0xc000496f90, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY 2024/11/01 14:42:29 INFO: [core] [pick-first-lb 0xc000496f30] Received SubConn state update: 0xc000496f90, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to READY 2024-11-01T14:42:29-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:29-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:29-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:29 INFO: [core] [Channel #4]Closing the name resolver 2024/11/01 14:42:29 INFO: [core] [Channel #4]ccBalancerWrapper: closing 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:29 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted 2024/11/01 14:42:29 INFO: [transport] [client-transport 0xc00089a488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:29 INFO: [transport] [client-transport 0xc00089a488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:29 INFO: [core] [Channel #4]Channel deleted 2024-11-01T14:42:29-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.505563623s due to error failed while getting Management Service public key 2024-11-01T14:42:30-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel created 2024/11/01 14:42:30 INFO: [core] [Channel #7]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:30 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:30 INFO: [core] [Channel #7]fallback to scheme "passthrough" 2024/11/01 14:42:30 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:30 INFO: [core] [Channel #7]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel created 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel exiting idle mode 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T14:42:30-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received SubConn state update: 0xc000497890, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY 2024/11/01 14:42:30 INFO: [core] [pick-first-lb 0xc000497830] Received SubConn state update: 0xc000497890, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to READY 2024-11-01T14:42:30-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:30-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:30-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:30 INFO: [core] [Channel #7]Closing the name resolver 2024/11/01 14:42:30 INFO: [core] [Channel #7]ccBalancerWrapper: closing 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:30 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted 2024/11/01 14:42:30 INFO: [transport] [client-transport 0xc00089a908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:30 INFO: [transport] [client-transport 0xc00089a908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:30 INFO: [core] [Channel #7]Channel deleted 2024-11-01T14:42:30-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.243706241s due to error failed while getting Management Service public key 2024-11-01T14:42:33-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel created 2024/11/01 14:42:33 INFO: [core] [Channel #10]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:33 INFO: [core] [Channel #10]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:33 INFO: [core] [Channel #10]fallback to scheme "passthrough" 2024/11/01 14:42:33 INFO: [core] [Channel #10]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:33 INFO: [core] [Channel #10]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel created 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to CONNECTING 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel exiting idle mode 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T14:42:33-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received SubConn state update: 0xc000497e00, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to READY 2024/11/01 14:42:33 INFO: [core] [pick-first-lb 0xc000497da0] Received SubConn state update: 0xc000497e00, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to READY 2024-11-01T14:42:33-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:33-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:33-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:33 INFO: [core] [Channel #10]Closing the name resolver 2024/11/01 14:42:33 INFO: [core] [Channel #10]ccBalancerWrapper: closing 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:33 INFO: [core] [Channel #10 SubChannel #11]Subchannel deleted 2024/11/01 14:42:33 INFO: [transport] [client-transport 0xc000159b08] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:33 INFO: [transport] [client-transport 0xc000159b08] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:33 INFO: [core] [Channel #10]Channel deleted 2024-11-01T14:42:33-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.868244059s due to error failed while getting Management Service public key 2024-11-01T14:42:36-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel created 2024/11/01 14:42:36 INFO: [core] [Channel #13]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:36 INFO: [core] [Channel #13]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:36 INFO: [core] [Channel #13]fallback to scheme "passthrough" 2024/11/01 14:42:36 INFO: [core] [Channel #13]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:36 INFO: [core] [Channel #13]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel created 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to CONNECTING 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel exiting idle mode 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T14:42:36-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received SubConn state update: 0xc00098a810, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to READY 2024/11/01 14:42:36 INFO: [core] [pick-first-lb 0xc00098a7b0] Received SubConn state update: 0xc00098a810, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to READY 2024-11-01T14:42:36-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:36-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:36-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:36 INFO: [core] [Channel #13]Closing the name resolver 2024/11/01 14:42:36 INFO: [core] [Channel #13]ccBalancerWrapper: closing 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:36 INFO: [core] [Channel #13 SubChannel #14]Subchannel deleted 2024/11/01 14:42:36 INFO: [transport] [client-transport 0xc000994248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:36 INFO: [transport] [client-transport 0xc000994248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:36 INFO: [core] [Channel #13]Channel deleted 2024-11-01T14:42:36-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 4.429446084s due to error failed while getting Management Service public key 2024-11-01T14:42:40-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel created 2024/11/01 14:42:40 INFO: [core] [Channel #16]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:40 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:40 INFO: [core] [Channel #16]fallback to scheme "passthrough" 2024/11/01 14:42:40 INFO: [core] [Channel #16]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:40 INFO: [core] [Channel #16]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:40 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel created 2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING 2024/11/01 14:42:40 INFO: [core] [Channel #16]Channel exiting idle mode 2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:40 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024/11/01 14:42:40 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received SubConn state update: 0xc0008e0d20, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T14:42:40-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY 2024/11/01 14:42:41 INFO: [core] [pick-first-lb 0xc0008e0cc0] Received SubConn state update: 0xc0008e0d20, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel Connectivity change to READY 2024-11-01T14:42:41-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:41-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:41-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:41 INFO: [core] [Channel #16]Closing the name resolver 2024/11/01 14:42:41 INFO: [core] [Channel #16]ccBalancerWrapper: closing 2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:41 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted 2024/11/01 14:42:41 INFO: [transport] [client-transport 0xc0009946c8] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:41 INFO: [transport] [client-transport 0xc0009946c8] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:41 INFO: [core] [Channel #16]Channel deleted 2024-11-01T14:42:41-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 8.318837101s due to error failed while getting Management Service public key 2024-11-01T14:42:49-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-management.my-host.me:443 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel created 2024/11/01 14:42:49 INFO: [core] [Channel #19]original dial target is: "netbird-management.my-host.me:443" 2024/11/01 14:42:49 INFO: [core] [Channel #19]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-management.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 14:42:49 INFO: [core] [Channel #19]fallback to scheme "passthrough" 2024/11/01 14:42:49 INFO: [core] [Channel #19]parsed dial target is: passthrough:///netbird-management.my-host.me:443 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel authority set to "netbird-management.my-host.me:443" 2024/11/01 14:42:49 INFO: [core] [Channel #19]Resolver state updated: { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel switches to new LB policy "pick_first" 2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-management.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel created 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to CONNECTING 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel exiting idle mode 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to CONNECTING 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel picks a new address "netbird-management.my-host.me:443" to connect 2024-11-01T14:42:49-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-management.my-host.me:443 2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received SubConn state update: 0xc0008e1770, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to READY 2024/11/01 14:42:49 INFO: [core] [pick-first-lb 0xc0008e1710] Received SubConn state update: 0xc0008e1770, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to READY 2024-11-01T14:42:49-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-management.my-host.me:443 2024-11-01T14:42:49-03:00 ERRO management/client/grpc.go:278: 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" 2024-11-01T14:42:49-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel Connectivity change to SHUTDOWN 2024/11/01 14:42:49 INFO: [core] [Channel #19]Closing the name resolver 2024/11/01 14:42:49 INFO: [core] [Channel #19]ccBalancerWrapper: closing 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to SHUTDOWN 2024/11/01 14:42:49 INFO: [core] [Channel #19 SubChannel #20]Subchannel deleted 2024/11/01 14:42:49 INFO: [transport] [client-transport 0xc000994b48] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:49 INFO: [transport] [client-transport 0xc000994b48] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 14:42:49 INFO: [core] [Channel #19]Channel deleted Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key ```
Author
Owner

@mhartmann-jaconi commented on GitHub (May 3, 2025):

Even though this issue is closed, I wanted to share my findings regarding this issue. I ran netbird in a GKE cluster with a managed nginx ingress in front. When capturing traffic, I noticed that the requests, which should be grpc calls, were sent as HTTP/1.1 requests.
So adding an annotation nginx.ingress.kubernetes.io/backend-protocol: GRPC to the ingress resource solved the issue for me, as now the requests reach the server as real grpc calls.

@mhartmann-jaconi commented on GitHub (May 3, 2025): Even though this issue is closed, I wanted to share my findings regarding this issue. I ran netbird in a GKE cluster with a managed nginx ingress in front. When capturing traffic, I noticed that the requests, which should be grpc calls, were sent as HTTP/1.1 requests. So adding an annotation `nginx.ingress.kubernetes.io/backend-protocol: GRPC` to the ingress resource solved the issue for me, as now the requests reach the server as real grpc calls.
Author
Owner

@liuyishengaaa commented on GitHub (Jun 12, 2025):

Hi!

I am facing this issue, I can't connect any client. I've installed using Advanced guide, with Authentik and Nginx Proxy Manager. I can login, shows peers page, I can create management Keys, but I cannot connect.

When I debbug with sudo netbird up -F -l debug -m https://myvpn.example.com:443 shows this below

2024-09-16T12:33:03-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key
2024-09-16T12:33:03-03:00 WARN client/cmd/root.go:234: retrying Login to the Management service in 1.259689188s due to error failed while getting Management Service public key
2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://myvpn.example.com:443
2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://myvpn.example.com:443
2024-09-16T12:33:05-03:00 ERRO management/client/grpc.go:287: failed while getting Management Service public key: rpc error: code = Unavailable desc = unexpected HTTP status code received from server: 502 (Bad Gateway); transport: received unexpected content-type "text/html"

The setup is 3 VMs:

  1. Nginx Proxy Manager
  2. Authentik
  3. Netbird

All behind one Public IP, but same internal network, all reachable between each. In NPM with host pointing to netbird vm, is the ports 80, 443, and 33073 in configuration, with gRPC, etc...

The other ports required, is forwarding directly to the netbird VM.

There are something that I missed?

My issue was about joining a Netbird private network using a Debian 11 server without a graphical interface. When I ran the command "netbird up --management-url https://xxxxxx.net --admin-url https://xxxxxx.net --setup-key xxxxx-xxx-xxxx", I got an error saying "error: failed while getting Management Service public key". Fortunately, by referring to your question and using the command "sudo netbird up -F -l debug -m https://myvpn.example.com:443", I found a solution. This command will print a login link at the end, which can be copied and executed in another browser for authorization and login.

@liuyishengaaa commented on GitHub (Jun 12, 2025): > Hi! > > I am facing this issue, I can't connect any client. I've installed using Advanced guide, with Authentik and Nginx Proxy Manager. I can login, shows peers page, I can create management Keys, but I cannot connect. > > When I debbug with `sudo netbird up -F -l debug -m https://myvpn.example.com:443` shows this below > > ``` > 2024-09-16T12:33:03-03:00 ERRO client/internal/login.go:105: failed while getting Management Service public key: failed while getting Management Service public key > 2024-09-16T12:33:03-03:00 WARN client/cmd/root.go:234: retrying Login to the Management service in 1.259689188s due to error failed while getting Management Service public key > 2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://myvpn.example.com:443 > 2024-09-16T12:33:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://myvpn.example.com:443 > 2024-09-16T12:33:05-03:00 ERRO management/client/grpc.go:287: failed while getting Management Service public key: rpc error: code = Unavailable desc = unexpected HTTP status code received from server: 502 (Bad Gateway); transport: received unexpected content-type "text/html" > ``` > > The setup is 3 VMs: > > 1. Nginx Proxy Manager > 2. Authentik > 3. Netbird > > All behind one Public IP, but same internal network, all reachable between each. In NPM with host pointing to netbird vm, is the ports `80`, `443`, and `33073` in configuration, with gRPC, etc... > > The other ports required, is forwarding directly to the netbird VM. > > There are something that I missed? My issue was about joining a Netbird private network using a Debian 11 server without a graphical interface. When I ran the command "netbird up --management-url https://xxxxxx.net --admin-url https://xxxxxx.net --setup-key xxxxx-xxx-xxxx", I got an error saying "error: failed while getting Management Service public key". Fortunately, by referring to your question and using the command "sudo netbird up -F -l debug -m https://myvpn.example.com:443", I found a solution. This command will print a login link at the end, which can be copied and executed in another browser for authorization and login.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#925