[GH-ISSUE #2831] Can't connect to self hosted netbird - ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService #6155

Closed
opened 2026-08-05 01:06:58 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @VitorNilson on GitHub (Nov 1, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/2831

Describe the problem

I have installed netbird using Jaconi's Helm chart.

I have running:

My dashboard is working perfectly, I can create users/keys and etc... the management looks working good aswell.

The problem looks like to be on the signal.

This is the error that I get when I try to connect:

vitor@vitor-Latitude-3410:~/examples/vpn/helm-charts$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug  -m netbird up --management-url https://netbird-signal.my-host.me'
2024-11-01T18:20:59-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-signal.my-host.me" (old value "https://netbird-signal.my-host.me:443")
2024-11-01T18:20:59-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel created
2024/11/01 18:20:59 INFO: [core] [Channel #1]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:20:59 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:20:59 INFO: [core] [Channel #1]fallback to scheme "passthrough"
2024/11/01 18:20:59 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:20:59 INFO: [core] [Channel #1]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first"
2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel created
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel exiting idle mode
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received SubConn state update: 0xc0003a3950, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T18:20:59-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY
2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received SubConn state update: 0xc0003a3950, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to READY
2024-11-01T18:20:59-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:20:59-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:20:59-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 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN
2024/11/01 18:20:59 INFO: [core] [Channel #1]Closing the name resolver
2024/11/01 18:20:59 INFO: [core] [Channel #1]ccBalancerWrapper: closing
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted
2024/11/01 18:20:59 INFO: [transport] [client-transport 0xc0000c8248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:20:59 INFO: [transport] [client-transport 0xc0000c8248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel deleted
2024-11-01T18:20:59-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 732.480693ms due to error failed while getting Management Service public key
2024-11-01T18:21:00-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel created
2024/11/01 18:21:00 INFO: [core] [Channel #4]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:00 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:00 INFO: [core] [Channel #4]fallback to scheme "passthrough"
2024/11/01 18:21:00 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:00 INFO: [core] [Channel #4]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel created
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel exiting idle mode
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024-11-01T18:21:00-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received SubConn state update: 0xc000831e30, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY
2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received SubConn state update: 0xc000831e30, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to READY
2024-11-01T18:21:00-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:00-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:00-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 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:00 INFO: [core] [Channel #4]Closing the name resolver
2024/11/01 18:21:00 INFO: [core] [Channel #4]ccBalancerWrapper: closing
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted
2024/11/01 18:21:00 INFO: [transport] [client-transport 0xc0000c86c8] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:00 INFO: [transport] [client-transport 0xc0000c86c8] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel deleted
2024-11-01T18:21:00-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.266017876s due to error failed while getting Management Service public key
2024-11-01T18:21:02-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel created
2024/11/01 18:21:02 INFO: [core] [Channel #7]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:02 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:02 INFO: [core] [Channel #7]fallback to scheme "passthrough"
2024/11/01 18:21:02 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:02 INFO: [core] [Channel #7]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel created
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel exiting idle mode
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024-11-01T18:21:02-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received SubConn state update: 0xc00040ce10, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY
2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received SubConn state update: 0xc00040ce10, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to READY
2024-11-01T18:21:02-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:02-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:02-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 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:02 INFO: [core] [Channel #7]Closing the name resolver
2024/11/01 18:21:02 INFO: [core] [Channel #7]ccBalancerWrapper: closing
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted
2024/11/01 18:21:02 INFO: [transport] [client-transport 0xc0009ba488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:02 INFO: [transport] [client-transport 0xc0009ba488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel deleted
2024-11-01T18:21:02-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.892509164s due to error failed while getting Management Service public key
2024-11-01T18:21:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel created
2024/11/01 18:21:05 INFO: [core] [Channel #10]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:05 INFO: [core] [Channel #10]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:05 INFO: [core] [Channel #10]fallback to scheme "passthrough"
2024/11/01 18:21:05 INFO: [core] [Channel #10]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:05 INFO: [core] [Channel #10]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel created
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to CONNECTING
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel exiting idle mode
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024-11-01T18:21:05-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received SubConn state update: 0xc00040d290, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to READY
2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received SubConn state update: 0xc00040d290, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to READY
2024-11-01T18:21:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:05-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:05-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 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:05 INFO: [core] [Channel #10]Closing the name resolver
2024/11/01 18:21:05 INFO: [core] [Channel #10]ccBalancerWrapper: closing
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel deleted
2024/11/01 18:21:05 INFO: [transport] [client-transport 0xc0009ba908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:05 INFO: [transport] [client-transport 0xc0009ba908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel deleted
2024-11-01T18:21:05-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 4.838232102s due to error failed while getting Management Service public key
2024-11-01T18:21:10-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel created
2024/11/01 18:21:10 INFO: [core] [Channel #13]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:10 INFO: [core] [Channel #13]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:10 INFO: [core] [Channel #13]fallback to scheme "passthrough"
2024/11/01 18:21:10 INFO: [core] [Channel #13]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:10 INFO: [core] [Channel #13]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel created
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to CONNECTING
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel exiting idle mode
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received SubConn state update: 0xc000924060, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024-11-01T18:21:10-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to READY
2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received SubConn state update: 0xc000924060, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to READY
2024-11-01T18:21:10-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:10-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:10-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 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:10 INFO: [core] [Channel #13]Closing the name resolver
2024/11/01 18:21:10 INFO: [core] [Channel #13]ccBalancerWrapper: closing
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel deleted
2024/11/01 18:21:10 INFO: [transport] [client-transport 0xc000920488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:10 INFO: [transport] [client-transport 0xc000920488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel deleted
2024-11-01T18:21:10-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 6.998047948s due to error failed while getting Management Service public key
2024-11-01T18:21:17-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel created
2024/11/01 18:21:17 INFO: [core] [Channel #16]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:17 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:17 INFO: [core] [Channel #16]fallback to scheme "passthrough"
2024/11/01 18:21:17 INFO: [core] [Channel #16]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:17 INFO: [core] [Channel #16]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel created
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel exiting idle mode
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024-11-01T18:21:17-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received SubConn state update: 0xc000a52240, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY
2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received SubConn state update: 0xc000a52240, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to READY
2024-11-01T18:21:17-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:17-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:17-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 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:17 INFO: [core] [Channel #16]Closing the name resolver
2024/11/01 18:21:17 INFO: [core] [Channel #16]ccBalancerWrapper: closing
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted
2024/11/01 18:21:17 INFO: [transport] [client-transport 0xc0000c8d88] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:17 INFO: [transport] [client-transport 0xc0000c8d88] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel deleted
2024-11-01T18:21:17-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 10.807910908s due to error failed while getting Management Service public key
2024-11-01T18:21:28-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel created
2024/11/01 18:21:28 INFO: [core] [Channel #19]original dial target is: "netbird-signal.my-host.me:443"
2024/11/01 18:21:28 INFO: [core] [Channel #19]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}}
2024/11/01 18:21:28 INFO: [core] [Channel #19]fallback to scheme "passthrough"
2024/11/01 18:21:28 INFO: [core] [Channel #19]parsed dial target is: passthrough:///netbird-signal.my-host.me:443
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel authority set to "netbird-signal.my-host.me:443"
2024/11/01 18:21:28 INFO: [core] [Channel #19]Resolver state updated: {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel switches to new LB policy "pick_first"
2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received new config {
  "shuffleAddressList": false
}, resolver state {
  "Addresses": [
    {
      "Addr": "netbird-signal.my-host.me:443",
      "ServerName": "",
      "Attributes": null,
      "BalancerAttributes": null,
      "Metadata": null
    }
  ],
  "Endpoints": [
    {
      "Addresses": [
        {
          "Addr": "netbird-signal.my-host.me:443",
          "ServerName": "",
          "Attributes": null,
          "BalancerAttributes": null,
          "Metadata": null
        }
      ],
      "Attributes": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
}
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel created
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to CONNECTING
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel exiting idle mode
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to CONNECTING
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect
2024-11-01T18:21:28-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443
2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received SubConn state update: 0xc000924b70, {ConnectivityState:CONNECTING ConnectionError:<nil>}
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to READY
2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received SubConn state update: 0xc000924b70, {ConnectivityState:READY ConnectionError:<nil>}
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to READY
2024-11-01T18:21:28-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443
2024-11-01T18:21:28-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService
2024-11-01T18:21:28-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 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to SHUTDOWN
2024/11/01 18:21:28 INFO: [core] [Channel #19]Closing the name resolver
2024/11/01 18:21:28 INFO: [core] [Channel #19]ccBalancerWrapper: closing
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to SHUTDOWN
2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel deleted
2024/11/01 18:21:28 INFO: [transport] [client-transport 0xc000920908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:28 INFO: [transport] [client-transport 0xc000920908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing
2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel deleted
Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key

I konw that my service is acessible and the certificates is ok:

vitor@vitor-Latitude-3410:~$ curl -v https://netbird-signal.my-host.me/
* Host netbird-signal.my-host.me:443 was resolved.
* IPv6: (none)
* IPv4: 144.22.151.220
*   Trying 144.22.151.220:443...
* Connected to netbird-signal.my-host.me (144.22.151.220) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=netbird-signal.my-host.me
*  start date: Nov  1 17:34:35 2024 GMT
*  expire date: Jan 30 17:34:34 2025 GMT
*  subjectAltName: host "netbird-signal.my-host.me" matched cert's "netbird-signal.my-host.me"
*  issuer: C=US; O=Let's Encrypt; CN=R11
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://netbird-signal.my-host.me/
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: netbird-signal.my-host.me]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.5.0]
* [HTTP/2] [1] [accept: */*]
> GET / HTTP/2
> Host: netbird-signal.my-host.me
> User-Agent: curl/8.5.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Unsupported response code in HTTP response
* Connection #0 to host netbird-signal.my-host.me left intact
curl: (1) Unsupported response code in HTTP response

The logs of my signal service doesn't change since the pod is up:

vitor@vitor-Latitude-3410:~$ kubectl logs -f -n netbird netbird-signal-6bcc7f4cfc-9cp49 
2024-11-01T18:35:46Z INFO signal/cmd/run.go:110: running gRPC backward compatibility server: [::]:10000
2024-11-01T18:35:46Z INFO signal/cmd/run.go:132: running gRPC server: [::]:80
2024-11-01T18:35:46Z INFO signal/cmd/run.go:135: signal server version 0.26.3
2024-11-01T18:35:46Z INFO signal/cmd/run.go:136: started Signal Service

To Reproduce

Steps to reproduce the behavior:

  1. Install netbird using Jaconi's helm chart. (You must configure ingresses, keycloack and etc). Make sure you configured a ingress for dashboard, other for management and other for signal.
  2. Create DNS entries on cloudflare, and disable proxy for management and signal service.
  3. Access netbird UI and make sure its working correctly, inspecting the network and making sure all requests are ok.
  4. run netbird up --management-url https://netbird-signal.my-host.me
  5. Get the error.

Expected behavior

It should add succesfully a peer to netbird.

Are you using NetBird Cloud?

No, self hosted.

NetBird version

  • netbirdio/signal:0.26.3
  • netbirdio/management:0.26.3
  • netbirdio/dashboard:v2.1.3

NetBird status -dA output:

N/A

Do you face any (non-mobile) client issues?

N/A

Screenshots

UI working:
image

HTTP Requests to management working:
image

Additional context

N/A

Originally created by @VitorNilson on GitHub (Nov 1, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/2831 **Describe the problem** I have installed netbird using [Jaconi's Helm chart](https://artifacthub.io/packages/helm/jaconi/netbird). I have running: - netbird dashbord: url https://netbird.my-host.me - netbird management: url https://netbird-management-netbird.my-host.me - netbird signal: url https://netbird-signal.my-host.me My dashboard is working perfectly, I can create users/keys and etc... the management looks working good aswell. The problem looks like to be on the signal. This is the error that I get when I try to connect: ``` vitor@vitor-Latitude-3410:~/examples/vpn/helm-charts$ sudo bash -c 'GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info netbird up -F -l debug -m netbird up --management-url https://netbird-signal.my-host.me' 2024-11-01T18:20:59-03:00 INFO client/internal/config.go:235: new Management URL provided, updated to "https://netbird-signal.my-host.me" (old value "https://netbird-signal.my-host.me:443") 2024-11-01T18:20:59-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel created 2024/11/01 18:20:59 INFO: [core] [Channel #1]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:20:59 INFO: [core] [Channel #1]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:20:59 INFO: [core] [Channel #1]fallback to scheme "passthrough" 2024/11/01 18:20:59 INFO: [core] [Channel #1]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:20:59 INFO: [core] [Channel #1]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel switches to new LB policy "pick_first" 2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel created 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to CONNECTING 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel exiting idle mode 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to CONNECTING 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received SubConn state update: 0xc0003a3950, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T18:20:59-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to READY 2024/11/01 18:20:59 INFO: [core] [pick-first-lb 0xc0003a38c0] Received SubConn state update: 0xc0003a3950, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to READY 2024-11-01T18:20:59-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:20:59-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:20:59-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 18:20:59 INFO: [core] [Channel #1]Channel Connectivity change to SHUTDOWN 2024/11/01 18:20:59 INFO: [core] [Channel #1]Closing the name resolver 2024/11/01 18:20:59 INFO: [core] [Channel #1]ccBalancerWrapper: closing 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:20:59 INFO: [core] [Channel #1 SubChannel #2]Subchannel deleted 2024/11/01 18:20:59 INFO: [transport] [client-transport 0xc0000c8248] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:20:59 INFO: [transport] [client-transport 0xc0000c8248] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:20:59 INFO: [core] [Channel #1]Channel deleted 2024-11-01T18:20:59-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 732.480693ms due to error failed while getting Management Service public key 2024-11-01T18:21:00-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel created 2024/11/01 18:21:00 INFO: [core] [Channel #4]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:00 INFO: [core] [Channel #4]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:00 INFO: [core] [Channel #4]fallback to scheme "passthrough" 2024/11/01 18:21:00 INFO: [core] [Channel #4]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:00 INFO: [core] [Channel #4]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel created 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to CONNECTING 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel exiting idle mode 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024-11-01T18:21:00-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received SubConn state update: 0xc000831e30, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to READY 2024/11/01 18:21:00 INFO: [core] [pick-first-lb 0xc000831dd0] Received SubConn state update: 0xc000831e30, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to READY 2024-11-01T18:21:00-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:00-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:00-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 18:21:00 INFO: [core] [Channel #4]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:00 INFO: [core] [Channel #4]Closing the name resolver 2024/11/01 18:21:00 INFO: [core] [Channel #4]ccBalancerWrapper: closing 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:00 INFO: [core] [Channel #4 SubChannel #5]Subchannel deleted 2024/11/01 18:21:00 INFO: [transport] [client-transport 0xc0000c86c8] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:00 INFO: [transport] [client-transport 0xc0000c86c8] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:00 INFO: [core] [Channel #4]Channel deleted 2024-11-01T18:21:00-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 1.266017876s due to error failed while getting Management Service public key 2024-11-01T18:21:02-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel created 2024/11/01 18:21:02 INFO: [core] [Channel #7]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:02 INFO: [core] [Channel #7]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:02 INFO: [core] [Channel #7]fallback to scheme "passthrough" 2024/11/01 18:21:02 INFO: [core] [Channel #7]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:02 INFO: [core] [Channel #7]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel created 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to CONNECTING 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel exiting idle mode 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024-11-01T18:21:02-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received SubConn state update: 0xc00040ce10, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to READY 2024/11/01 18:21:02 INFO: [core] [pick-first-lb 0xc00040cdb0] Received SubConn state update: 0xc00040ce10, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to READY 2024-11-01T18:21:02-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:02-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:02-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 18:21:02 INFO: [core] [Channel #7]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:02 INFO: [core] [Channel #7]Closing the name resolver 2024/11/01 18:21:02 INFO: [core] [Channel #7]ccBalancerWrapper: closing 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:02 INFO: [core] [Channel #7 SubChannel #8]Subchannel deleted 2024/11/01 18:21:02 INFO: [transport] [client-transport 0xc0009ba488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:02 INFO: [transport] [client-transport 0xc0009ba488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:02 INFO: [core] [Channel #7]Channel deleted 2024-11-01T18:21:02-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 2.892509164s due to error failed while getting Management Service public key 2024-11-01T18:21:05-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel created 2024/11/01 18:21:05 INFO: [core] [Channel #10]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:05 INFO: [core] [Channel #10]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:05 INFO: [core] [Channel #10]fallback to scheme "passthrough" 2024/11/01 18:21:05 INFO: [core] [Channel #10]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:05 INFO: [core] [Channel #10]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel created 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to CONNECTING 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel exiting idle mode 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024-11-01T18:21:05-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received SubConn state update: 0xc00040d290, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to READY 2024/11/01 18:21:05 INFO: [core] [pick-first-lb 0xc00040d230] Received SubConn state update: 0xc00040d290, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to READY 2024-11-01T18:21:05-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:05-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:05-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 18:21:05 INFO: [core] [Channel #10]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:05 INFO: [core] [Channel #10]Closing the name resolver 2024/11/01 18:21:05 INFO: [core] [Channel #10]ccBalancerWrapper: closing 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:05 INFO: [core] [Channel #10 SubChannel #11]Subchannel deleted 2024/11/01 18:21:05 INFO: [transport] [client-transport 0xc0009ba908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:05 INFO: [transport] [client-transport 0xc0009ba908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:05 INFO: [core] [Channel #10]Channel deleted 2024-11-01T18:21:05-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 4.838232102s due to error failed while getting Management Service public key 2024-11-01T18:21:10-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel created 2024/11/01 18:21:10 INFO: [core] [Channel #13]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:10 INFO: [core] [Channel #13]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:10 INFO: [core] [Channel #13]fallback to scheme "passthrough" 2024/11/01 18:21:10 INFO: [core] [Channel #13]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:10 INFO: [core] [Channel #13]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel created 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to CONNECTING 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel exiting idle mode 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received SubConn state update: 0xc000924060, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024-11-01T18:21:10-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to READY 2024/11/01 18:21:10 INFO: [core] [pick-first-lb 0xc000924000] Received SubConn state update: 0xc000924060, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to READY 2024-11-01T18:21:10-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:10-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:10-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 18:21:10 INFO: [core] [Channel #13]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:10 INFO: [core] [Channel #13]Closing the name resolver 2024/11/01 18:21:10 INFO: [core] [Channel #13]ccBalancerWrapper: closing 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:10 INFO: [core] [Channel #13 SubChannel #14]Subchannel deleted 2024/11/01 18:21:10 INFO: [transport] [client-transport 0xc000920488] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:10 INFO: [transport] [client-transport 0xc000920488] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:10 INFO: [core] [Channel #13]Channel deleted 2024-11-01T18:21:10-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 6.998047948s due to error failed while getting Management Service public key 2024-11-01T18:21:17-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel created 2024/11/01 18:21:17 INFO: [core] [Channel #16]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:17 INFO: [core] [Channel #16]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:17 INFO: [core] [Channel #16]fallback to scheme "passthrough" 2024/11/01 18:21:17 INFO: [core] [Channel #16]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:17 INFO: [core] [Channel #16]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel created 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to CONNECTING 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel exiting idle mode 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024-11-01T18:21:17-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received SubConn state update: 0xc000a52240, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to READY 2024/11/01 18:21:17 INFO: [core] [pick-first-lb 0xc000a521e0] Received SubConn state update: 0xc000a52240, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to READY 2024-11-01T18:21:17-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:17-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:17-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 18:21:17 INFO: [core] [Channel #16]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:17 INFO: [core] [Channel #16]Closing the name resolver 2024/11/01 18:21:17 INFO: [core] [Channel #16]ccBalancerWrapper: closing 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:17 INFO: [core] [Channel #16 SubChannel #17]Subchannel deleted 2024/11/01 18:21:17 INFO: [transport] [client-transport 0xc0000c8d88] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:17 INFO: [transport] [client-transport 0xc0000c8d88] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:17 INFO: [core] [Channel #16]Channel deleted 2024-11-01T18:21:17-03:00 WARN client/cmd/root.go:244: retrying Login to the Management service in 10.807910908s due to error failed while getting Management Service public key 2024-11-01T18:21:28-03:00 DEBG client/internal/login.go:93: connecting to the Management service https://netbird-signal.my-host.me:443 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel created 2024/11/01 18:21:28 INFO: [core] [Channel #19]original dial target is: "netbird-signal.my-host.me:443" 2024/11/01 18:21:28 INFO: [core] [Channel #19]parsed dial target is: resolver.Target{URL:url.URL{Scheme:"netbird-signal.my-host.me", Opaque:"443", User:(*url.Userinfo)(nil), Host:"", Path:"", RawPath:"", OmitHost:false, ForceQuery:false, RawQuery:"", Fragment:"", RawFragment:""}} 2024/11/01 18:21:28 INFO: [core] [Channel #19]fallback to scheme "passthrough" 2024/11/01 18:21:28 INFO: [core] [Channel #19]parsed dial target is: passthrough:///netbird-signal.my-host.me:443 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel authority set to "netbird-signal.my-host.me:443" 2024/11/01 18:21:28 INFO: [core] [Channel #19]Resolver state updated: { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } (resolver returned new addresses) 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel switches to new LB policy "pick_first" 2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received new config { "shuffleAddressList": false }, resolver state { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Endpoints": [ { "Addresses": [ { "Addr": "netbird-signal.my-host.me:443", "ServerName": "", "Attributes": null, "BalancerAttributes": null, "Metadata": null } ], "Attributes": null } ], "ServiceConfig": null, "Attributes": null } 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel created 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to CONNECTING 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel exiting idle mode 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to CONNECTING 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel picks a new address "netbird-signal.my-host.me:443" to connect 2024-11-01T18:21:28-03:00 DEBG util/net/dialer_nonios.go:52: Dialing tcp netbird-signal.my-host.me:443 2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received SubConn state update: 0xc000924b70, {ConnectivityState:CONNECTING ConnectionError:<nil>} 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to READY 2024/11/01 18:21:28 INFO: [core] [pick-first-lb 0xc000924b10] Received SubConn state update: 0xc000924b70, {ConnectivityState:READY ConnectionError:<nil>} 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to READY 2024-11-01T18:21:28-03:00 DEBG client/internal/login.go:63: connected to the Management service https://netbird-signal.my-host.me:443 2024-11-01T18:21:28-03:00 ERRO management/client/grpc.go:278: failed while getting Management Service public key: rpc error: code = Unimplemented desc = unknown service management.ManagementService 2024-11-01T18:21:28-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 18:21:28 INFO: [core] [Channel #19]Channel Connectivity change to SHUTDOWN 2024/11/01 18:21:28 INFO: [core] [Channel #19]Closing the name resolver 2024/11/01 18:21:28 INFO: [core] [Channel #19]ccBalancerWrapper: closing 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel Connectivity change to SHUTDOWN 2024/11/01 18:21:28 INFO: [core] [Channel #19 SubChannel #20]Subchannel deleted 2024/11/01 18:21:28 INFO: [transport] [client-transport 0xc000920908] Closing: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:28 INFO: [transport] [client-transport 0xc000920908] loopyWriter exiting with error: rpc error: code = Canceled desc = grpc: the client connection is closing 2024/11/01 18:21:28 INFO: [core] [Channel #19]Channel deleted Error: foreground login failed: backoff cycle failed: failed while getting Management Service public key ``` I konw that my service is acessible and the certificates is ok: ``` vitor@vitor-Latitude-3410:~$ curl -v https://netbird-signal.my-host.me/ * Host netbird-signal.my-host.me:443 was resolved. * IPv6: (none) * IPv4: 144.22.151.220 * Trying 144.22.151.220:443... * Connected to netbird-signal.my-host.me (144.22.151.220) port 443 * ALPN: curl offers h2,http/1.1 * TLSv1.3 (OUT), TLS handshake, Client hello (1): * CAfile: /etc/ssl/certs/ca-certificates.crt * CApath: /etc/ssl/certs * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / RSASSA-PSS * ALPN: server accepted h2 * Server certificate: * subject: CN=netbird-signal.my-host.me * start date: Nov 1 17:34:35 2024 GMT * expire date: Jan 30 17:34:34 2025 GMT * subjectAltName: host "netbird-signal.my-host.me" matched cert's "netbird-signal.my-host.me" * issuer: C=US; O=Let's Encrypt; CN=R11 * SSL certificate verify ok. * Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption * using HTTP/2 * [HTTP/2] [1] OPENED stream for https://netbird-signal.my-host.me/ * [HTTP/2] [1] [:method: GET] * [HTTP/2] [1] [:scheme: https] * [HTTP/2] [1] [:authority: netbird-signal.my-host.me] * [HTTP/2] [1] [:path: /] * [HTTP/2] [1] [user-agent: curl/8.5.0] * [HTTP/2] [1] [accept: */*] > GET / HTTP/2 > Host: netbird-signal.my-host.me > User-Agent: curl/8.5.0 > Accept: */* > * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Unsupported response code in HTTP response * Connection #0 to host netbird-signal.my-host.me left intact curl: (1) Unsupported response code in HTTP response ``` The logs of my signal service doesn't change since the pod is up: ``` vitor@vitor-Latitude-3410:~$ kubectl logs -f -n netbird netbird-signal-6bcc7f4cfc-9cp49 2024-11-01T18:35:46Z INFO signal/cmd/run.go:110: running gRPC backward compatibility server: [::]:10000 2024-11-01T18:35:46Z INFO signal/cmd/run.go:132: running gRPC server: [::]:80 2024-11-01T18:35:46Z INFO signal/cmd/run.go:135: signal server version 0.26.3 2024-11-01T18:35:46Z INFO signal/cmd/run.go:136: started Signal Service ``` **To Reproduce** Steps to reproduce the behavior: 1. Install netbird using Jaconi's helm chart. (You must configure ingresses, keycloack and etc). Make sure you configured a ingress for dashboard, other for management and other for signal. 2. Create DNS entries on cloudflare, and disable proxy for management and signal service. 3. Access netbird UI and make sure its working correctly, inspecting the network and making sure all requests are ok. 4. run `netbird up --management-url https://netbird-signal.my-host.me` 5. Get the error. **Expected behavior** It should add succesfully a peer to netbird. **Are you using NetBird Cloud?** No, self hosted. **NetBird version** - netbirdio/signal:0.26.3 - netbirdio/management:0.26.3 - netbirdio/dashboard:v2.1.3 **NetBird status -dA output:** N/A **Do you face any (non-mobile) client issues?** N/A **Screenshots** UI working: ![image](https://github.com/user-attachments/assets/7d47597b-bc3c-4389-adf2-acfa09ede955) HTTP Requests to management working: ![image](https://github.com/user-attachments/assets/71d5ff36-307d-4e47-9f51-0ab4b28c458e) **Additional context** N/A
saavagebueno added the triage-needed label 2026-08-05 01:06:58 -04:00
Author
Owner

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

Guys, just do document here what happened so people on the future doesn't step on same mine.

First: Both signal and management are using gRPC, and now it sound obvious but I just noticed that after cloning the code and looking it. That said, you MUST configure the ingresses for both services to use GRPC.

Here is a example of my current ingress (Yep, it was configured using Jaconi's Helm chart).

vitor@vitor-Latitude-3410:~/Downloads$ kubectl get ingress -n netbird netbird-management -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/issuer: prod-issuer
    cert-manager.io/issuer-group: cert-manager.k8s.cloudflare.com
    cert-manager.io/issuer-kind: OriginIssuer
    meta.helm.sh/release-name: netbird
    meta.helm.sh/release-namespace: netbird
    nginx.ingress.kubernetes.io/backend-protocol: GRPC
    nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
    nginx.ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
  labels:
    app.kubernetes.io/instance: netbird
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: netbird-management
    app.kubernetes.io/version: 0.26.3
    helm.sh/chart: netbird-0.14.2
  name: netbird-management
  namespace: netbird
spec:
  ingressClassName: nginx
  rules:
  - host: netbird-management.my-host.me
    http:
      paths:
      - backend:
          service:
            name: netbird-management
            port:
              number: 80
        path: /
        pathType: ImplementationSpecific
  tls:
  - hosts:
    - netbird-management.my-host.me
    secretName: netbird-tls

The most important part is the annotations. For me, it only worked with the annotations you're seeing. And you need to put on both signal and management ingress.

At the moment I'm writting this comment my cloudflare's proxy is disabled. But there's an option on cloudflare to enable gRPC, so I'm going to test this on the future with proxy enabled.

About the error that make me open this thread:

My management was configured to use gRPC, but the signal wasn't. Management was trying to talk in english and signal was speaking mandarim, of course it will not gonna work.

So make sure you have configured that way.

<!-- gh-comment-id:2452945106 --> @VitorNilson commented on GitHub (Nov 2, 2024): Guys, just do document here what happened so people on the future doesn't step on same mine. First: Both signal and management are using gRPC, and now it sound obvious but I just noticed that after cloning the code and looking it. That said, you **MUST** configure the ingresses for both services to use GRPC. Here is a example of my current ingress (Yep, it was configured using Jaconi's Helm chart). ``` vitor@vitor-Latitude-3410:~/Downloads$ kubectl get ingress -n netbird netbird-management -o yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: cert-manager.io/issuer: prod-issuer cert-manager.io/issuer-group: cert-manager.k8s.cloudflare.com cert-manager.io/issuer-kind: OriginIssuer meta.helm.sh/release-name: netbird meta.helm.sh/release-namespace: netbird nginx.ingress.kubernetes.io/backend-protocol: GRPC nginx.ingress.kubernetes.io/force-ssl-redirect: "false" nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: "false" labels: app.kubernetes.io/instance: netbird app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: netbird-management app.kubernetes.io/version: 0.26.3 helm.sh/chart: netbird-0.14.2 name: netbird-management namespace: netbird spec: ingressClassName: nginx rules: - host: netbird-management.my-host.me http: paths: - backend: service: name: netbird-management port: number: 80 path: / pathType: ImplementationSpecific tls: - hosts: - netbird-management.my-host.me secretName: netbird-tls ``` The most important part is the annotations. For me, it only worked with the annotations you're seeing. And you need to put on both signal and management ingress. At the moment I'm writting this comment my cloudflare's proxy is disabled. But there's an option on cloudflare to enable gRPC, so I'm going to test this on the future with proxy enabled. About the error that make me open this thread: My management was configured to use gRPC, but the signal wasn't. Management was trying to talk in english and signal was speaking mandarim, of course it will not gonna work. So make sure you have configured that way.
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#6155