Not able to run in Android - Debian (Linux-Deploy) arm using **fwmark'd** packages. #1569

Open
opened 2025-11-20 05:33:02 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @hugoj-goncalves on GitHub (Jan 20, 2025).

Describe the problem

I can't run netbird in a arm device (Android using linux-deploy) with custom routing enabled.

To Reproduce

Steps to reproduce the behavior:

  1. Install netbird using the install script provided for linux.
  2. Try to run using netbird up
  3. Logs below.

Expected behavior

It should work ;s

Are you using NetBird Cloud?

I'm using netbird cloud.

NetBird version

0.36.3

OS

root@localhost:/home/android# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Logs

root@localhost:/home/android# **netbird up -F -l debug**
2025-01-20T08:05:58-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-01-20T08:05:58-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:05:58-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:05:58-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-01-20T08:05:59-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:05:59-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:05:59-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-01-20T08:06:01-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:06:01-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:06:01-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
^C


root@localhost:/home/android# **NB_USE_LEGACY_ROUTING=true NB_DISABLE_CUSTOM_ROUTING=true netbird up -F -l debug**
2025-01-20T08:06:55-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-01-20T08:06:55-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:06:55-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:06:55-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK
2025-01-20T08:06:55-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-01-20T08:06:58-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-01-20T08:06:58-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:06:58-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:06:58-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK
2025-01-20T08:06:58-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-01-20T08:07:00-03:00 INFO client/internal/connect.go:115: starting NetBird client version 0.36.3 on linux/arm
2025-01-20T08:07:00-03:00 DEBG client/internal/connect.go:170: connecting to the Management service api.netbird.io:443
2025-01-20T08:07:00-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:07:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T08:07:00-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK
2025-01-20T08:07:00-03:00 DEBG client/internal/connect.go:178: connected to the Management service api.netbird.io:443
2025-01-20T08:07:02-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T08:07:02-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443
2025-01-20T08:07:02-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK
2025-01-20T08:07:03-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443
2025-01-20T08:07:03-03:00 INFO client/internal/connect.go:247: connecting to the Relay service(s): rels://relay.netbird.io:443
2025-01-20T08:07:03-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers
2025-01-20T08:07:03-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443]
^C


root@localhost:/home/android# **NB_SKIP_SOCKET_MARK=true netbird up -F -l debug**
2025-01-20T09:09:08-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-01-20T09:09:08-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T09:09:08-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T09:09:08-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK
2025-01-20T09:09:08-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-01-20T09:09:09-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-01-20T09:09:09-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T09:09:09-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T09:09:09-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK
2025-01-20T09:09:09-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-01-20T09:09:10-03:00 INFO client/internal/connect.go:115: starting NetBird client version 0.36.3 on linux/arm
2025-01-20T09:09:10-03:00 DEBG client/internal/connect.go:170: connecting to the Management service api.netbird.io:443
2025-01-20T09:09:10-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T09:09:10-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-01-20T09:09:10-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK
2025-01-20T09:09:10-03:00 DEBG client/internal/connect.go:178: connected to the Management service api.netbird.io:443
2025-01-20T09:09:11-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer()
2025-01-20T09:09:11-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443
2025-01-20T09:09:11-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK
2025-01-20T09:09:11-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443
2025-01-20T09:09:11-03:00 INFO client/internal/connect.go:247: connecting to the Relay service(s): rels://relay.netbird.io:443
2025-01-20T09:09:11-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers
2025-01-20T09:09:11-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443]
2025-01-20T09:09:11-03:00 INFO relay/client/picker.go:72: try to connecting to relay server: rels://relay.netbird.io:443
Originally created by @hugoj-goncalves on GitHub (Jan 20, 2025). **Describe the problem** I can't run netbird in a arm device (Android using linux-deploy) with custom routing enabled. **To Reproduce** Steps to reproduce the behavior: 1. Install netbird using the install script provided for linux. 2. Try to run using **netbird up** 3. Logs below. **Expected behavior** It should work ;s **Are you using NetBird Cloud?** I'm using netbird cloud. **NetBird version** 0.36.3 **OS** ``` root@localhost:/home/android# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" ``` **Logs** ``` txt root@localhost:/home/android# **netbird up -F -l debug** 2025-01-20T08:05:58-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-01-20T08:05:58-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:05:58-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:05:58-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-01-20T08:05:59-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:05:59-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:05:59-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-01-20T08:06:01-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:06:01-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:06:01-03:00 ERRO util/grpc/dialer.go:43: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable ^C root@localhost:/home/android# **NB_USE_LEGACY_ROUTING=true NB_DISABLE_CUSTOM_ROUTING=true netbird up -F -l debug** 2025-01-20T08:06:55-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-01-20T08:06:55-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:06:55-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:06:55-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK 2025-01-20T08:06:55-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-01-20T08:06:58-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-01-20T08:06:58-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:06:58-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:06:58-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK 2025-01-20T08:06:58-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-01-20T08:07:00-03:00 INFO client/internal/connect.go:115: starting NetBird client version 0.36.3 on linux/arm 2025-01-20T08:07:00-03:00 DEBG client/internal/connect.go:170: connecting to the Management service api.netbird.io:443 2025-01-20T08:07:00-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:07:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T08:07:00-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK 2025-01-20T08:07:00-03:00 DEBG client/internal/connect.go:178: connected to the Management service api.netbird.io:443 2025-01-20T08:07:02-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T08:07:02-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443 2025-01-20T08:07:02-03:00 INFO util/net/net_linux.go:61: Custom routing is disabled, skipping SO_MARK 2025-01-20T08:07:03-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443 2025-01-20T08:07:03-03:00 INFO client/internal/connect.go:247: connecting to the Relay service(s): rels://relay.netbird.io:443 2025-01-20T08:07:03-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers 2025-01-20T08:07:03-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443] ^C root@localhost:/home/android# **NB_SKIP_SOCKET_MARK=true netbird up -F -l debug** 2025-01-20T09:09:08-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-01-20T09:09:08-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T09:09:08-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T09:09:08-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK 2025-01-20T09:09:08-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-01-20T09:09:09-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-01-20T09:09:09-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T09:09:09-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T09:09:09-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK 2025-01-20T09:09:09-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-01-20T09:09:10-03:00 INFO client/internal/connect.go:115: starting NetBird client version 0.36.3 on linux/arm 2025-01-20T09:09:10-03:00 DEBG client/internal/connect.go:170: connecting to the Management service api.netbird.io:443 2025-01-20T09:09:10-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T09:09:10-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-01-20T09:09:10-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK 2025-01-20T09:09:10-03:00 DEBG client/internal/connect.go:178: connected to the Management service api.netbird.io:443 2025-01-20T09:09:11-03:00 DEBG util/grpc/dialer.go:40: Using nbnet.NewDialer() 2025-01-20T09:09:11-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443 2025-01-20T09:09:11-03:00 INFO util/net/env.go:25: NB_SKIP_SOCKET_MARK is set to true, skipping SO_MARK 2025-01-20T09:09:11-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443 2025-01-20T09:09:11-03:00 INFO client/internal/connect.go:247: connecting to the Relay service(s): rels://relay.netbird.io:443 2025-01-20T09:09:11-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers 2025-01-20T09:09:11-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443] 2025-01-20T09:09:11-03:00 INFO relay/client/picker.go:72: try to connecting to relay server: rels://relay.netbird.io:443 ```
saavagebueno added the waiting-feedbacklinux labels 2025-11-20 05:33:02 -05:00
Author
Owner

@lixmal commented on GitHub (Jan 20, 2025):

I assume something drops fwmark'd packets, nothing we can do about.
NB_SKIP_SOCKET_MARK=true should be sufficient, though.

@lixmal commented on GitHub (Jan 20, 2025): I assume something drops fwmark'd packets, nothing we can do about. `NB_SKIP_SOCKET_MARK=true` should be sufficient, though.
Author
Owner

@hugoj-goncalves commented on GitHub (Jan 20, 2025):

it does start with NB_SKIP_SOCKET_MARK=true

would it be usable this way? I have never heard about it before, but at a quick glance it should be responsible for adjusting the traffic to the correct peers I guess.

Edit: looks like it won't work as a routing peer without it. ;/

@hugoj-goncalves commented on GitHub (Jan 20, 2025): it does start with `NB_SKIP_SOCKET_MARK=true` would it be usable this way? I have never heard about it before, but at a quick glance it should be responsible for adjusting the traffic to the correct peers I guess. Edit: looks like it won't work as a **routing peer** without it. ;/
Author
Owner

@nazarewk commented on GitHub (Apr 28, 2025):

Hello @hugoj-goncalves,

We're currently reviewing our open issues and would like to verify if this problem still exists in the latest NetBird version.

Could you please confirm if the issue is still there?

We may close this issue temporarily if we don't hear back from you within 2 weeks, but feel free to reopen it with updated information.

Thanks for your contribution to improving the project!

@nazarewk commented on GitHub (Apr 28, 2025): Hello @hugoj-goncalves, We're currently reviewing our open issues and would like to verify if this problem still exists in the [latest NetBird version](https://github.com/netbirdio/netbird/releases). Could you please confirm if the issue is still there? We may close this issue temporarily if we don't hear back from you within **2 weeks**, but feel free to reopen it with updated information. Thanks for your contribution to improving the project!
Author
Owner

@hugoj-goncalves commented on GitHub (Apr 29, 2025):

Using version 0.43.0
It didn't work as a Network Routing Peer.
Fails to start without NB_SKIP_SOCKET_MARK=true.

root@localhost:/home/android# netbird up -F -l debug
2025-04-29T09:44:12-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-04-29T09:44:12-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:12-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-04-29T09:44:14-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-04-29T09:44:14-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:14-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-04-29T09:44:15-03:00 INFO client/internal/connect.go:122: starting NetBird client version 0.43.0 on linux/arm
2025-04-29T09:44:15-03:00 DEBG util/net/dialer_dial.go:52: Dialing udp 127.0.0.1:9
2025-04-29T09:44:15-03:00 INFO util/net/env_linux.go:70: system supports advanced routing
2025-04-29T09:44:15-03:00 DEBG client/internal/connect.go:178: connecting to the Management service api.netbird.io:443
2025-04-29T09:44:15-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:15-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:15-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:15 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
2025-04-29T09:44:16-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:16-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:16-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:16 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
^C2025-04-29T09:44:18-03:00 INFO client/cmd/root.go:197: shutdown signal received
2025-04-29T09:44:18-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:18-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:18-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:18 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
2025-04-29T09:44:20-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:20-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:20-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:20 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
^C2025-04-29T09:44:24-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:24-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:24-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:24 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
2025-04-29T09:44:30-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:31-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:31-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:31 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
2025-04-29T09:44:40-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:44:40-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable
2025-04-29T09:44:40-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:40 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable"
2025-04-29T09:44:45-03:00 INFO util/grpc/dialer.go:89: DialContext error: context deadline exceeded
2025-04-29T09:44:45-03:00 INFO management/client/grpc.go:57: createConnection error: context deadline exceeded
2025-04-29T09:44:45-03:00 ERRO management/client/grpc.go:65: failed creating connection to Management Service: context canceled
root@localhost:/home/android# NB_SKIP_SOCKET_MARK=true netbird up -F -l debug
2025-04-29T09:39:57-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-04-29T09:39:57-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:39:58-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-04-29T09:39:59-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443
2025-04-29T09:39:59-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:39:59-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443
2025-04-29T09:40:00-03:00 INFO client/internal/connect.go:122: starting NetBird client version 0.43.0 on linux/arm
2025-04-29T09:40:00-03:00 INFO util/net/env_linux.go:61: advanced routing has been requested to be disabled
2025-04-29T09:40:00-03:00 DEBG client/internal/connect.go:178: connecting to the Management service api.netbird.io:443
2025-04-29T09:40:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443
2025-04-29T09:40:00-03:00 DEBG client/internal/connect.go:186: connected to the Management service api.netbird.io:443
2025-04-29T09:40:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443
2025-04-29T09:40:01-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443
2025-04-29T09:40:01-03:00 INFO client/internal/connect.go:255: connecting to the Relay service(s): rels://relay.netbird.io:443
2025-04-29T09:40:01-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers
2025-04-29T09:40:01-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443]
2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:72: try to connecting to relay server: rels://relay.netbird.io:443
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/client.go:164: create new relay connection: local peerID: JcbrIqCAd6YkRR5Cr41B7gxLpC4zZDbZ6YJ5uQEOETY=, local peer hashedID: sha-Sln5J8e7Q/QYH3ur/A1dytUvcWGkCWDkZ+H9rRGhi4M=
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/client.go:170: connecting to relay server
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:64: dialing Relay server via WS
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:64: dialing Relay server via quic
2025-04-29T09:40:01-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp relay.netbird.io:443
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:89: successfully dialed via: WS
2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:75: connection attempt aborted via: quic
2025-04-29T09:40:01-03:00 INFO [relay: rels://streamline-sa-east-1a.relay.netbird.io:443] relay/client/client.go:186: relay connection established
2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:90: connected to Relay server: rels://relay.netbird.io:443
2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:64: chosen home Relay server: rels://relay.netbird.io:443
2025-04-29T09:40:01-03:00 DEBG client/iface/wgproxy/ebpf/proxy.go:47: instantiate ebpf proxy
2025-04-29T09:40:01-03:00 DEBG client/internal/ebpf/ebpf/wg_proxy_linux.go:11: load ebpf WG proxy
2025-04-29T09:40:01-03:00 INFO client/iface/wgproxy/factory_kernel.go:25: WireGuard Proxy Factory will produce UDP proxy
2025-04-29T09:40:01-03:00 WARN client/iface/wgproxy/factory_kernel.go:26: failed to initialize ebpf proxy, fallback to user space proxy: field NbXdpProg: program nb_xdp_prog: map .rodata: map create: read- and write-only maps not supported (requires >= v5.2)
2025-04-29T09:40:01-03:00 DEBG client/internal/dns/service_listener.go:108: registering dns handler for pattern: .
2025-04-29T09:40:01-03:00 INFO client/internal/routemanager/systemops/systemops_linux.go:77: Using legacy routing setup
2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:409: Route for 0.0.0.0: interface &{3 1500 dummy0 56:4d:4b:40:2c:93 up|broadcast|running} nexthop <nil>, preferred source <nil>
2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:409: Route for ::: interface &{3 1500 dummy0 56:4d:4b:40:2c:93 up|broadcast|running} nexthop <nil>, preferred source fe80::544d:4bff:fe40:2c93
2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:418: No next hop found for IP ::, using preferred source fe80::544d:4bff:fe40:2c93
@hugoj-goncalves commented on GitHub (Apr 29, 2025): Using version 0.43.0 It didn't work as a Network Routing Peer. Fails to start without `NB_SKIP_SOCKET_MARK=true`. ```bash root@localhost:/home/android# netbird up -F -l debug 2025-04-29T09:44:12-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-04-29T09:44:12-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:12-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-04-29T09:44:14-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-04-29T09:44:14-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:14-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-04-29T09:44:15-03:00 INFO client/internal/connect.go:122: starting NetBird client version 0.43.0 on linux/arm 2025-04-29T09:44:15-03:00 DEBG util/net/dialer_dial.go:52: Dialing udp 127.0.0.1:9 2025-04-29T09:44:15-03:00 INFO util/net/env_linux.go:70: system supports advanced routing 2025-04-29T09:44:15-03:00 DEBG client/internal/connect.go:178: connecting to the Management service api.netbird.io:443 2025-04-29T09:44:15-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:15-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:15-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:15 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" 2025-04-29T09:44:16-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:16-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:16-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:16 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" ^C2025-04-29T09:44:18-03:00 INFO client/cmd/root.go:197: shutdown signal received 2025-04-29T09:44:18-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:18-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:18-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:18 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" 2025-04-29T09:44:20-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:20-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:20-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:20 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" ^C2025-04-29T09:44:24-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:24-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:24-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:24 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" 2025-04-29T09:44:30-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:31-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:31-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:31 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" 2025-04-29T09:44:40-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:44:40-03:00 ERRO util/grpc/dialer.go:45: Failed to dial: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable 2025-04-29T09:44:40-03:00 INFO ./caller_not_available:0: 2025/04/29 09:44:40 WARNING: [core] [Channel #7 SubChannel #8]grpc: addrConn.createTransport failed to connect to {Addr: "api.netbird.io:443", ServerName: "api.netbird.io:443", }. Err: connection error: desc = "transport: Error while dialing: nbnet.NewDialer().DialContext: d.Dialer.DialContext: dial tcp 35.186.199.111:443: connect: network is unreachable" 2025-04-29T09:44:45-03:00 INFO util/grpc/dialer.go:89: DialContext error: context deadline exceeded 2025-04-29T09:44:45-03:00 INFO management/client/grpc.go:57: createConnection error: context deadline exceeded 2025-04-29T09:44:45-03:00 ERRO management/client/grpc.go:65: failed creating connection to Management Service: context canceled ``` ```bash root@localhost:/home/android# NB_SKIP_SOCKET_MARK=true netbird up -F -l debug 2025-04-29T09:39:57-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-04-29T09:39:57-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:39:58-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-04-29T09:39:59-03:00 DEBG client/internal/login.go:94: connecting to the Management service https://api.netbird.io:443 2025-04-29T09:39:59-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:39:59-03:00 DEBG client/internal/login.go:64: connected to the Management service https://api.netbird.io:443 2025-04-29T09:40:00-03:00 INFO client/internal/connect.go:122: starting NetBird client version 0.43.0 on linux/arm 2025-04-29T09:40:00-03:00 INFO util/net/env_linux.go:61: advanced routing has been requested to be disabled 2025-04-29T09:40:00-03:00 DEBG client/internal/connect.go:178: connecting to the Management service api.netbird.io:443 2025-04-29T09:40:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp api.netbird.io:443 2025-04-29T09:40:00-03:00 DEBG client/internal/connect.go:186: connected to the Management service api.netbird.io:443 2025-04-29T09:40:00-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp signal.netbird.io:443 2025-04-29T09:40:01-03:00 DEBG signal/client/grpc.go:83: connected to Signal Service: signal.netbird.io:443 2025-04-29T09:40:01-03:00 INFO client/internal/connect.go:255: connecting to the Relay service(s): rels://relay.netbird.io:443 2025-04-29T09:40:01-03:00 DEBG relay/client/manager.go:109: starting relay client manager with [rels://relay.netbird.io:443] relay servers 2025-04-29T09:40:01-03:00 DEBG relay/client/picker.go:45: pick server from list: [rels://relay.netbird.io:443] 2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:72: try to connecting to relay server: rels://relay.netbird.io:443 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/client.go:164: create new relay connection: local peerID: JcbrIqCAd6YkRR5Cr41B7gxLpC4zZDbZ6YJ5uQEOETY=, local peer hashedID: sha-Sln5J8e7Q/QYH3ur/A1dytUvcWGkCWDkZ+H9rRGhi4M= 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/client.go:170: connecting to relay server 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:64: dialing Relay server via WS 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:64: dialing Relay server via quic 2025-04-29T09:40:01-03:00 DEBG util/net/dialer_dial.go:52: Dialing tcp relay.netbird.io:443 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:89: successfully dialed via: WS 2025-04-29T09:40:01-03:00 INFO [relay: rels://relay.netbird.io:443] relay/client/dialer/race_dialer.go:75: connection attempt aborted via: quic 2025-04-29T09:40:01-03:00 INFO [relay: rels://streamline-sa-east-1a.relay.netbird.io:443] relay/client/client.go:186: relay connection established 2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:90: connected to Relay server: rels://relay.netbird.io:443 2025-04-29T09:40:01-03:00 INFO relay/client/picker.go:64: chosen home Relay server: rels://relay.netbird.io:443 2025-04-29T09:40:01-03:00 DEBG client/iface/wgproxy/ebpf/proxy.go:47: instantiate ebpf proxy 2025-04-29T09:40:01-03:00 DEBG client/internal/ebpf/ebpf/wg_proxy_linux.go:11: load ebpf WG proxy 2025-04-29T09:40:01-03:00 INFO client/iface/wgproxy/factory_kernel.go:25: WireGuard Proxy Factory will produce UDP proxy 2025-04-29T09:40:01-03:00 WARN client/iface/wgproxy/factory_kernel.go:26: failed to initialize ebpf proxy, fallback to user space proxy: field NbXdpProg: program nb_xdp_prog: map .rodata: map create: read- and write-only maps not supported (requires >= v5.2) 2025-04-29T09:40:01-03:00 DEBG client/internal/dns/service_listener.go:108: registering dns handler for pattern: . 2025-04-29T09:40:01-03:00 INFO client/internal/routemanager/systemops/systemops_linux.go:77: Using legacy routing setup 2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:409: Route for 0.0.0.0: interface &{3 1500 dummy0 56:4d:4b:40:2c:93 up|broadcast|running} nexthop <nil>, preferred source <nil> 2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:409: Route for ::: interface &{3 1500 dummy0 56:4d:4b:40:2c:93 up|broadcast|running} nexthop <nil>, preferred source fe80::544d:4bff:fe40:2c93 2025-04-29T09:40:01-03:00 DEBG client/internal/routemanager/systemops/systemops_generic.go:418: No next hop found for IP ::, using preferred source fe80::544d:4bff:fe40:2c93 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1569