[GH-ISSUE #1512] Andriod phone: connected to 0/5 peers, no internet #2537

Closed
opened 2026-08-05 00:47:39 -04:00 by saavagebueno · 19 comments
Owner

Originally created by @europacafe on GitHub (Jan 31, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1512

Phone: Xiaomi Mi10T Pro, Android 12
Netbird app: v.0.24.4, Netbird cloud
When I initially added my phone to a new peer, everything was working fine, but later it no longer saw other peers (Windows, iPad, Unraid, Debian). The app displayed connected 0/5 peers. Tried disconnecting and connecting several times to no avail. The only solution is to create a new peer again (by changing server--->use netbird server), then it started working again for a while before no peer connected.

I use it at home and tried it with and without wifi connection.

NetBird status -d output: (n/a)

image

Originally created by @europacafe on GitHub (Jan 31, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1512 Phone: Xiaomi Mi10T Pro, Android 12 Netbird app: v.0.24.4, Netbird cloud When I initially added my phone to a new peer, everything was working fine, but later it no longer saw other peers (Windows, iPad, Unraid, Debian). The app displayed connected 0/5 peers. Tried disconnecting and connecting several times to no avail. The only solution is to create a new peer again (by changing server--->use netbird server), then it started working again for a while before no peer connected. I use it at home and tried it with and without wifi connection. **NetBird status -d output:** (n/a) ![image](https://github.com/netbirdio/netbird/assets/51871976/4fdb6828-2099-4851-9d83-2b713e6f2b72)
saavagebueno added the clientAndroidtriage labels 2026-08-05 00:47:39 -04:00
Author
Owner

@Luxosity commented on GitHub (Mar 26, 2024):

Phone: Google Pixel 6a, Android 14
Netbird Android app: v.0.0.20, Netbird Agent: 0.25.6, Netbird Selfhosted

Having the same issue. Never worked for me. Reinstalled app and have the same issue. Shows its connected in the Admin portal. It also shows there is an update to 0.26.3 but unsure how to update the agent for the android app since 0.0.20 is the latest.

<!-- gh-comment-id:2020798791 --> @Luxosity commented on GitHub (Mar 26, 2024): Phone: Google Pixel 6a, Android 14 Netbird Android app: v.0.0.20, Netbird Agent: 0.25.6, Netbird Selfhosted Having the same issue. Never worked for me. Reinstalled app and have the same issue. Shows its connected in the Admin portal. It also shows there is an update to 0.26.3 but unsure how to update the agent for the android app since 0.0.20 is the latest.
Author
Owner

@ptpu commented on GitHub (Apr 3, 2024):

Having the same issue. Never worked for me. Reinstalled app and have the same issue. Shows its connected in the Admin portal

<!-- gh-comment-id:2035425266 --> @ptpu commented on GitHub (Apr 3, 2024): Having the same issue. Never worked for me. Reinstalled app and have the same issue. Shows its connected in the Admin portal
Author
Owner

@jumski commented on GitHub (Apr 8, 2024):

I have the same issue. Pixel 6, grapheneos. Disabled battery optimizations

<!-- gh-comment-id:2042127831 --> @jumski commented on GitHub (Apr 8, 2024): I have the same issue. Pixel 6, grapheneos. Disabled battery optimizations
Author
Owner

@pappz commented on GitHub (Apr 9, 2024):

Hello!
Are you using any policy or route settings? Could you send me logs from Android device? Here is the guide on how can you collect it.

<!-- gh-comment-id:2044462088 --> @pappz commented on GitHub (Apr 9, 2024): Hello! Are you using any policy or route settings? Could you send me logs from Android device? [Here](https://docs.netbird.io/how-to/troubleshooting-client#on-android) is the guide on how can you collect it.
Author
Owner

@jumski commented on GitHub (Apr 11, 2024):

Hey @pappz .

I do not use any policies but i have a route defined.
I haven't added any devices to its group (my omission) so it should not be in effect right?

Logs from my phone (I redacted peer IDs, probably over cautious).

04-11 10:40:04.214 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A>
04-11 10:40:04.244 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:04.244 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:04.245 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:04.245 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:40:04.391 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation
04-11 10:40:05.174 E/GoLog   ( 2792): [TRAC] [question: {latency.discord.media. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:05.213 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 36.809977ms to query the upstream 192.168.1.100:53
04-11 10:40:13.995 E/GoLog   ( 2792): [TRAC] [question: {www.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:14.006 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 10.478353ms to query the upstream 192.168.1.100:53
04-11 10:40:14.943 E/GoLog   ( 2792): [TRAC] [question: {footprints-pa.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:15.003 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 58.430501ms to query the upstream 192.168.1.100:53
04-11 10:40:17.004 E/GoLog   ( 2792): [TRAC] [question: {firebaselogging.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:17.012 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 6.917806ms to query the upstream 192.168.1.100:53
04-11 10:40:20.974 E/GoLog   ( 2792): [TRAC] [question: {play.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:20.986 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 11.559367ms to query the upstream 192.168.1.100:53
04-11 10:40:21.413 E/GoLog   ( 2792): [TRAC] [question: {androidpay-users-pa.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:40:21.492 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 79.2323ms to query the upstream 192.168.1.100:53
04-11 10:40:25.334 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C>
04-11 10:40:25.353 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0
04-11 10:40:25.361 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed
04-11 10:40:25.366 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C>
04-11 10:40:25.380 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s
04-11 10:40:25.987 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C>
04-11 10:40:26.006 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:26.007 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:26.007 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:26.007 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:40:26.053 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation
04-11 10:40:32.682 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B>
04-11 10:40:32.682 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0
04-11 10:40:32.682 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed
04-11 10:40:32.684 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B>
04-11 10:40:32.684 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s
04-11 10:40:33.698 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B>
04-11 10:40:33.710 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:33.710 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:33.710 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:33.710 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:40:33.755 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation
04-11 10:40:45.644 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A>
04-11 10:40:45.644 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0
04-11 10:40:45.646 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed
04-11 10:40:45.647 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A>
04-11 10:40:45.648 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s
04-11 10:40:47.093 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A>
04-11 10:40:47.133 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:47.135 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:47.135 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:40:47.135 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:40:47.185 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation
04-11 10:41:07.230 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B>
04-11 10:41:07.230 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0
04-11 10:41:07.230 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed
04-11 10:41:07.232 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B>
04-11 10:41:07.232 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s
04-11 10:41:08.772 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C>
04-11 10:41:08.773 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0
04-11 10:41:08.773 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed
04-11 10:41:08.775 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C>
04-11 10:41:08.775 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s
04-11 10:41:09.006 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B>
04-11 10:41:09.016 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:09.016 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:09.016 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:09.016 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:41:09.059 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation
04-11 10:41:10.635 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C>
04-11 10:41:10.668 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:10.669 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:10.670 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:41:10.759 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation
04-11 10:41:20.059 E/GoLog   ( 2792): [TRAC] [question: {g.whatsapp.net. 1 1}] client/internal/dns/upstream.go:73 received an upstream question
04-11 10:41:20.069 E/GoLog   ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 9.297038ms to query the upstream 192.168.1.100:53
04-11 10:41:28.441 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A>
04-11 10:41:28.441 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0
04-11 10:41:28.441 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A>
04-11 10:41:28.441 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s
04-11 10:41:28.441 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed
04-11 10:41:30.202 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A>
04-11 10:41:30.231 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:30.231 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:30.232 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:30.232 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:41:30.348 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation
04-11 10:41:42.536 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B>
04-11 10:41:42.536 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0
04-11 10:41:42.537 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed
04-11 10:41:42.539 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B>
04-11 10:41:42.542 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s
04-11 10:41:44.329 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B>
04-11 10:41:44.372 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:44.373 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:44.373 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:44.373 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:41:44.423 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation
04-11 10:41:53.485 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C>
04-11 10:41:53.486 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0
04-11 10:41:53.486 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed
04-11 10:41:53.486 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C>
04-11 10:41:53.486 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s
04-11 10:41:54.086 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C>
04-11 10:41:54.108 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:54.109 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:54.110 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:41:54.110 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:41:54.204 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation
04-11 10:42:11.602 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A>
04-11 10:42:11.602 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0
04-11 10:42:11.602 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed
04-11 10:42:11.604 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A>
04-11 10:42:11.605 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s
04-11 10:42:13.106 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A>
04-11 10:42:13.125 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:13.125 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:13.125 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:13.125 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:42:13.166 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation
04-11 10:42:17.900 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B>
04-11 10:42:17.901 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0
04-11 10:42:17.902 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed
04-11 10:42:17.903 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B>
04-11 10:42:17.904 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s
04-11 10:42:19.880 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B>
04-11 10:42:19.883 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:19.884 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:19.884 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:42:19.919 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation
04-11 10:42:36.927 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C>
04-11 10:42:36.927 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0
04-11 10:42:36.927 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C>
04-11 10:42:36.927 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s
04-11 10:42:36.928 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed
04-11 10:42:37.738 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C>
04-11 10:42:37.756 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:37.756 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:37.756 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:37.756 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:42:37.799 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation
04-11 10:42:53.398 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B>
04-11 10:42:53.398 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0
04-11 10:42:53.398 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed
04-11 10:42:53.400 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B>
04-11 10:42:53.400 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s
04-11 10:42:54.422 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A>
04-11 10:42:54.422 E/GoLog   ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0
04-11 10:42:54.422 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed
04-11 10:42:54.423 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A>
04-11 10:42:54.424 E/GoLog   ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s
04-11 10:42:54.840 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B>
04-11 10:42:54.870 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:54.871 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:54.872 E/GoLog   ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied
04-11 10:42:54.872 E/GoLog   ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed
04-11 10:42:54.924 E/GoLog   ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation
04-

<!-- gh-comment-id:2049241840 --> @jumski commented on GitHub (Apr 11, 2024): Hey @pappz . I do not use any policies but i have a route defined. I haven't added any devices to its group (my omission) so it should not be in effect right? Logs from my phone (I redacted peer IDs, probably over cautious). ``` 04-11 10:40:04.214 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A> 04-11 10:40:04.244 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:04.244 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:04.245 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:04.245 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:40:04.391 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation 04-11 10:40:05.174 E/GoLog ( 2792): [TRAC] [question: {latency.discord.media. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:05.213 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 36.809977ms to query the upstream 192.168.1.100:53 04-11 10:40:13.995 E/GoLog ( 2792): [TRAC] [question: {www.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:14.006 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 10.478353ms to query the upstream 192.168.1.100:53 04-11 10:40:14.943 E/GoLog ( 2792): [TRAC] [question: {footprints-pa.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:15.003 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 58.430501ms to query the upstream 192.168.1.100:53 04-11 10:40:17.004 E/GoLog ( 2792): [TRAC] [question: {firebaselogging.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:17.012 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 6.917806ms to query the upstream 192.168.1.100:53 04-11 10:40:20.974 E/GoLog ( 2792): [TRAC] [question: {play.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:20.986 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 11.559367ms to query the upstream 192.168.1.100:53 04-11 10:40:21.413 E/GoLog ( 2792): [TRAC] [question: {androidpay-users-pa.googleapis.com. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:40:21.492 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 79.2323ms to query the upstream 192.168.1.100:53 04-11 10:40:25.334 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C> 04-11 10:40:25.353 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0 04-11 10:40:25.361 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed 04-11 10:40:25.366 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C> 04-11 10:40:25.380 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s 04-11 10:40:25.987 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C> 04-11 10:40:26.006 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:26.007 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:26.007 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:26.007 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:40:26.053 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation 04-11 10:40:32.682 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B> 04-11 10:40:32.682 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0 04-11 10:40:32.682 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed 04-11 10:40:32.684 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B> 04-11 10:40:32.684 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s 04-11 10:40:33.698 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B> 04-11 10:40:33.710 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:33.710 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:33.710 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:33.710 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:40:33.755 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation 04-11 10:40:45.644 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A> 04-11 10:40:45.644 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0 04-11 10:40:45.646 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed 04-11 10:40:45.647 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A> 04-11 10:40:45.648 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s 04-11 10:40:47.093 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A> 04-11 10:40:47.133 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:47.135 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:47.135 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:40:47.135 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:40:47.185 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation 04-11 10:41:07.230 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B> 04-11 10:41:07.230 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0 04-11 10:41:07.230 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed 04-11 10:41:07.232 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B> 04-11 10:41:07.232 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s 04-11 10:41:08.772 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C> 04-11 10:41:08.773 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0 04-11 10:41:08.773 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed 04-11 10:41:08.775 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C> 04-11 10:41:08.775 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s 04-11 10:41:09.006 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B> 04-11 10:41:09.016 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:09.016 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:09.016 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:09.016 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:41:09.059 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation 04-11 10:41:10.635 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C> 04-11 10:41:10.668 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:10.669 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:10.670 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:41:10.759 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation 04-11 10:41:20.059 E/GoLog ( 2792): [TRAC] [question: {g.whatsapp.net. 1 1}] client/internal/dns/upstream.go:73 received an upstream question 04-11 10:41:20.069 E/GoLog ( 2792): [TRAC] client/internal/dns/upstream.go:116 took 9.297038ms to query the upstream 192.168.1.100:53 04-11 10:41:28.441 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A> 04-11 10:41:28.441 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0 04-11 10:41:28.441 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A> 04-11 10:41:28.441 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s 04-11 10:41:28.441 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed 04-11 10:41:30.202 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A> 04-11 10:41:30.231 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:30.231 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:30.232 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:30.232 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:41:30.348 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation 04-11 10:41:42.536 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B> 04-11 10:41:42.536 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0 04-11 10:41:42.537 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed 04-11 10:41:42.539 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B> 04-11 10:41:42.542 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s 04-11 10:41:44.329 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B> 04-11 10:41:44.372 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:44.373 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:44.373 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:44.373 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:41:44.423 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation 04-11 10:41:53.485 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C> 04-11 10:41:53.486 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0 04-11 10:41:53.486 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed 04-11 10:41:53.486 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C> 04-11 10:41:53.486 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s 04-11 10:41:54.086 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C> 04-11 10:41:54.108 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:54.109 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:54.110 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:41:54.110 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:41:54.204 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation 04-11 10:42:11.602 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A> 04-11 10:42:11.602 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0 04-11 10:42:11.602 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed 04-11 10:42:11.604 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A> 04-11 10:42:11.605 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s 04-11 10:42:13.106 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_A> 04-11 10:42:13.125 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:13.125 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:13.125 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:13.125 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:42:13.166 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_A>, waiting for the confirmation 04-11 10:42:17.900 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B> 04-11 10:42:17.901 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0 04-11 10:42:17.902 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed 04-11 10:42:17.903 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B> 04-11 10:42:17.904 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s 04-11 10:42:19.880 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B> 04-11 10:42:19.883 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:19.884 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:19.884 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:42:19.919 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation 04-11 10:42:36.927 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_C> 04-11 10:42:36.927 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_C> from interface tun0 04-11 10:42:36.927 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_C> 04-11 10:42:36.927 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_C> failed: connection to peer <PEER_C> timed out after 42.717s 04-11 10:42:36.928 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_C> ICE ConnectionState has changed to Closed 04-11 10:42:37.738 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_C> 04-11 10:42:37.756 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:37.756 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:37.756 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:37.756 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:42:37.799 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_C>, waiting for the confirmation 04-11 10:42:53.398 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_B> 04-11 10:42:53.398 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_B> from interface tun0 04-11 10:42:53.398 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_B> ICE ConnectionState has changed to Closed 04-11 10:42:53.400 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_B> 04-11 10:42:53.400 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_B> failed: connection to peer <PEER_B> timed out after 33.474s 04-11 10:42:54.422 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:463 trying to cleanup <PEER_A> 04-11 10:42:54.422 E/GoLog ( 2792): [DEBG] iface/iface.go:88 Removing peer <PEER_A> from interface tun0 04-11 10:42:54.422 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:571 peer <PEER_A> ICE ConnectionState has changed to Closed 04-11 10:42:54.423 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:509 cleaned up connection to peer <PEER_A> 04-11 10:42:54.424 E/GoLog ( 2792): [DEBG] client/internal/engine.go:831 connection to peer <PEER_A> failed: connection to peer <PEER_A> timed out after 41.25s 04-11 10:42:54.840 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:254 trying to connect to peer <PEER_B> 04-11 10:42:54.870 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:54.871 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:54.872 E/GoLog ( 2792): [DEBG] client/internal/stdnet/filter.go:30 trying to create a wgctrl client failed with: socket: permission denied 04-11 10:42:54.872 E/GoLog ( 2792): [TRAC] client/internal/stdnet/filter.go:23 ignoring interface tun0 - it is not allowed 04-11 10:42:54.924 E/GoLog ( 2792): [DEBG] client/internal/peer/conn.go:285 connection offer sent to peer <PEER_B>, waiting for the confirmation 04- ```
Author
Owner

@jumski commented on GitHub (Apr 20, 2024):

@pappz any findings? can i contribute somehow? I can dedicate some of my time into this issue if given some instructions where to look or what to check - its a dealbreaker for me but would really like not to switch off of netbird

<!-- gh-comment-id:2067613432 --> @jumski commented on GitHub (Apr 20, 2024): @pappz any findings? can i contribute somehow? I can dedicate some of my time into this issue if given some instructions where to look or what to check - its a dealbreaker for me but would really like not to switch off of netbird
Author
Owner

@jumski commented on GitHub (Apr 30, 2024):

after last update netbird is still disconnecting but is no longer causing loss of internet access on my phone
cc @pappz

<!-- gh-comment-id:2086058994 --> @jumski commented on GitHub (Apr 30, 2024): after last update netbird is still disconnecting but is no longer causing loss of internet access on my phone cc @pappz
Author
Owner

@adlion commented on GitHub (Jun 10, 2024):

I have same issue

<!-- gh-comment-id:2159135163 --> @adlion commented on GitHub (Jun 10, 2024): I have same issue
Author
Owner

@mlsmaycon commented on GitHub (Jun 10, 2024):

Hello @jumski @adlion can you please enable trace logs, reconnect and then share the logs with us for analysis?

To enable trace logs, you can go to the Advanced menu and ticky the enable trace log box:
Advanced menu

<!-- gh-comment-id:2159157631 --> @mlsmaycon commented on GitHub (Jun 10, 2024): Hello @jumski @adlion can you please enable trace logs, reconnect and then share the logs with us for analysis? To enable trace logs, you can go to the Advanced menu and ticky the enable trace log box: <img src="https://github.com/netbirdio/netbird/assets/7747744/32f0106a-fdf7-46f4-883e-3d7de43a58c5" alt="Advanced menu" width="200"/>
Author
Owner

@j007bond007 commented on GitHub (Jun 30, 2024):

I'm also getting this - I think it's related to being on the same network (aka the wifi) where the server is - if I disconnect from wifi and use mobile data, my peers connect. I see the same entries in the log with the socket permission denied.

<!-- gh-comment-id:2198656859 --> @j007bond007 commented on GitHub (Jun 30, 2024): I'm also getting this - I think it's related to being on the same network (aka the wifi) where the server is - if I disconnect from wifi and use mobile data, my peers connect. I see the same entries in the log with the socket permission denied.
Author
Owner

@benfuu commented on GitHub (Jul 25, 2024):

Same here, no peers can be connected to when the device is inside the same network as the peer. Connecting via a separate network/mobile data works.

<!-- gh-comment-id:2251461203 --> @benfuu commented on GitHub (Jul 25, 2024): Same here, no peers can be connected to when the device is inside the same network as the peer. Connecting via a separate network/mobile data works.
Author
Owner

@j007bond007 commented on GitHub (Oct 28, 2024):

@mlsmaycon I started getting this again on Android (Pixel 8 Pro - latest updates) and I turned on Trace logs, here's the relevant parts:
10-28 10:46:52.489 1957 2054 E GoLog : [DEBG] iface/tun_android.go:66 attaching to interface tun0 10-28 10:46:52.491 1957 2054 E GoLog : [DEBG] iface/wg_configurer_usp.go:39 adding Wireguard private key 10-28 10:46:52.491 1957 2363 E GoLog : [DEBG] iface/tun_android.go:92 device is ready to use: tun0 10-28 10:46:52.491 1957 2363 E GoLog : [DEBG] client/internal/dns/service_memory.go:51 dns service listening on: x.x.255.254 10-28 10:46:52.492 1957 2362 E GoLog : [DEBG] signal/client/grpc.go:137 signal connection state READY 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.579 1957 2362 E GoLog : [TRAC] [question: {mtalk.google.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:52.580 1957 2362 E GoLog : [TRAC] [question: {mtalk.google.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:52.591 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.612 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 32.723674ms to query the upstream x.x.255.254:53 10-28 10:46:52.620 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 37.057414ms to query the upstream x.x.255.254:53 10-28 10:46:52.939 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:53.540 1957 2051 E GoLog : [TRAC] [question: {chat-e2ee-mini.facebook.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:53.540 1957 2051 E GoLog : [TRAC] [question: {chat-e2ee-mini.facebook.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:53.645 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 104.215414ms to query the upstream x.x.255.254:53 10-28 10:46:53.646 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 104.213541ms to query the upstream x.x.255.254:53 10-28 10:46:56.298 1957 2051 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:58.529 1957 2067 E GoLog : [TRAC] [question: {alt4-mtalk.google.com.cl.nb.domain.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:58.531 1957 2067 E GoLog : [TRAC] [question: {alt4-mtalk.google.com.cl.nb.domain.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:58.646 1957 2067 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 114.360352ms to query the upstream x.x.255.254:53 10-28 10:46:58.647 1957 2067 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 112.296794ms to query the upstream x.x.255.254:53 10-28 10:47:03.210 1957 2067 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:47:16.523 1957 2067 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:47:18.331 1957 2067 E GoLog : [INFO] signal/client/grpc.go:158 connected to the Signal Service stream 10-28 10:47:18.331 1957 2067 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: ----5C1skjsyi1JFX+e4g8a90g2hT+HGtkh5i3iE7gk=] 10-28 10:47:18.343 1957 2051 E GoLog : [DEBG] client/internal/engine.go:682 connecting to Management Service updates stream 10-28 10:47:18.343 1957 2051 E GoLog : [INFO] client/internal/engine.go:1469 Network monitor is disabled, not starting

and also where it tries to connect to peers:
10-28 10:47:18.504 1957 2054 E GoLog : [INFO] client/internal/acl/manager.go:52 ACL rules processed in: 103.108µs, total rules count: 2 10-28 10:47:19.273 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer APPFQurhVTr7+dqzYJOfc48rkIAycXQ+rfu5CMedmS4= 10-28 10:47:19.278 1957 1957 W Thread-10: type=1400 audit(0.0:203238): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.286 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.286 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.286 1957 2054 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.282 1957 1957 W Thread-10: type=1400 audit(0.0:203239): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.368 1957 2067 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= 10-28 10:47:19.366 1957 1957 W Thread-7: type=1400 audit(0.0:203240): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.370 1957 1957 W Thread-7: type=1400 audit(0.0:203241): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.374 1957 2067 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.374 1957 2067 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.374 1957 2067 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.407 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:288 connection offer sent to peer APPFQurhVTr7+dqzYJOfc48rkIAycXQ+rfu5CMedmS4=, waiting for the confirmation 10-28 10:47:19.413 1957 2363 E GoLog : [DEBG] client/internal/peer/conn.go:288 connection offer sent to peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=, waiting for the confirmation 10-28 10:47:19.422 1957 2067 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=] 10-28 10:47:19.423 1957 2067 E GoLog : [DEBG] client/internal/peer/conn.go:741 OnRemoteAnswer from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= on status Disconnected 10-28 10:47:19.424 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:309 received connection confirmation from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= running version 0.30.3 and with remote WireGuard listen port 51820 10-28 10:47:19.418 1957 1957 W Thread-8: type=1400 audit(0.0:203242): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:639 peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= ICE ConnectionState has changed to Checking 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:603 discovered local candidate udp4 host 10.221.109.136:51820 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.427 1957 2363 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=] 10-28 10:47:19.427 1957 2363 E GoLog : [DEBG] client/internal/peer/conn.go:755 OnRemoteCandidate from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= -> udp4 host 10.20.0.10:51820 10-28 10:47:19.428 1957 2363 E GoLog : [DEBG] iface/bind/udp_mux.go:346 ICE: registered 10.20.0.10:51820 for TNSKsNFzrOxslcCp 10-28 10:47:19.428 1957 2363 E GoLog : [TRAC] [question: {nb.domain.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:47:19.429 1957 2363 E GoLog : [TRAC] [question: {nb.domain.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:47:19.492 1957 2105 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 61.334798ms to query the upstream 64.71.255.254:53 10-28 10:47:19.497 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 66.900675ms to query the upstream 64.71.255.254:53 10-28 10:47:19.501 1957 2362 E GoLog : [DEBG] util/net/listener_nonios.go:120 Listener resolved IP for x.x.221.118:3478: x.x.221.118 10-28 10:47:19.501 1957 2362 E GoLog : [TRAC] client/internal/dns/local.go:25 received question: dns.Question{Name:"nb.domain.com.cl.nb.domain.com.", Qtype:0x1c, Qclass:0x1} 10-28 10:47:19.711 1957 2362 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer lvXne9UznY2gBm6c0CMEbyaXUtQurHMqfP+gf4bCcGM= 10-28 10:47:19.718 1957 2105 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer RIPD3675Tb2DgGJOfnkFjtZ/tAViBe9Z+FpSOQJJRCA= 10-28 10:47:19.738 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.739 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.739 1957 2105 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.748 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.748 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.749 1957 2105 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed

Does this help narrow it down? Any other logs you need?

<!-- gh-comment-id:2441846226 --> @j007bond007 commented on GitHub (Oct 28, 2024): @mlsmaycon I started getting this again on Android (Pixel 8 Pro - latest updates) and I turned on Trace logs, here's the relevant parts: `10-28 10:46:52.489 1957 2054 E GoLog : [DEBG] iface/tun_android.go:66 attaching to interface tun0 10-28 10:46:52.491 1957 2054 E GoLog : [DEBG] iface/wg_configurer_usp.go:39 adding Wireguard private key 10-28 10:46:52.491 1957 2363 E GoLog : [DEBG] iface/tun_android.go:92 device is ready to use: tun0 10-28 10:46:52.491 1957 2363 E GoLog : [DEBG] client/internal/dns/service_memory.go:51 dns service listening on: x.x.255.254 10-28 10:46:52.492 1957 2362 E GoLog : [DEBG] signal/client/grpc.go:137 signal connection state READY 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.514 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.579 1957 2362 E GoLog : [TRAC] [question: {mtalk.google.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:52.580 1957 2362 E GoLog : [TRAC] [question: {mtalk.google.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:52.591 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:52.612 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 32.723674ms to query the upstream x.x.255.254:53 10-28 10:46:52.620 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 37.057414ms to query the upstream x.x.255.254:53 10-28 10:46:52.939 1957 2362 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:53.540 1957 2051 E GoLog : [TRAC] [question: {chat-e2ee-mini.facebook.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:53.540 1957 2051 E GoLog : [TRAC] [question: {chat-e2ee-mini.facebook.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:53.645 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 104.215414ms to query the upstream x.x.255.254:53 10-28 10:46:53.646 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 104.213541ms to query the upstream x.x.255.254:53 10-28 10:46:56.298 1957 2051 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:46:58.529 1957 2067 E GoLog : [TRAC] [question: {alt4-mtalk.google.com.cl.nb.domain.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:58.531 1957 2067 E GoLog : [TRAC] [question: {alt4-mtalk.google.com.cl.nb.domain.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:46:58.646 1957 2067 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 114.360352ms to query the upstream x.x.255.254:53 10-28 10:46:58.647 1957 2067 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 112.296794ms to query the upstream x.x.255.254:53 10-28 10:47:03.210 1957 2067 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:47:16.523 1957 2067 E GoLog : [TRAC] client/firewall/uspfilter/uspfilter.go:240 couldn't decode layer, err: Invalid (too small) IP header length (0 < 5) 10-28 10:47:18.331 1957 2067 E GoLog : [INFO] signal/client/grpc.go:158 connected to the Signal Service stream 10-28 10:47:18.331 1957 2067 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: ----5C1skjsyi1JFX+e4g8a90g2hT+HGtkh5i3iE7gk=] 10-28 10:47:18.343 1957 2051 E GoLog : [DEBG] client/internal/engine.go:682 connecting to Management Service updates stream 10-28 10:47:18.343 1957 2051 E GoLog : [INFO] client/internal/engine.go:1469 Network monitor is disabled, not starting` and also where it tries to connect to peers: `10-28 10:47:18.504 1957 2054 E GoLog : [INFO] client/internal/acl/manager.go:52 ACL rules processed in: 103.108µs, total rules count: 2 10-28 10:47:19.273 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer APPFQurhVTr7+dqzYJOfc48rkIAycXQ+rfu5CMedmS4= 10-28 10:47:19.278 1957 1957 W Thread-10: type=1400 audit(0.0:203238): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.286 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.286 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.286 1957 2054 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.282 1957 1957 W Thread-10: type=1400 audit(0.0:203239): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.368 1957 2067 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= 10-28 10:47:19.366 1957 1957 W Thread-7: type=1400 audit(0.0:203240): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.370 1957 1957 W Thread-7: type=1400 audit(0.0:203241): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.374 1957 2067 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.374 1957 2067 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.374 1957 2067 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.407 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:288 connection offer sent to peer APPFQurhVTr7+dqzYJOfc48rkIAycXQ+rfu5CMedmS4=, waiting for the confirmation 10-28 10:47:19.413 1957 2363 E GoLog : [DEBG] client/internal/peer/conn.go:288 connection offer sent to peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=, waiting for the confirmation 10-28 10:47:19.422 1957 2067 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=] 10-28 10:47:19.423 1957 2067 E GoLog : [DEBG] client/internal/peer/conn.go:741 OnRemoteAnswer from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= on status Disconnected 10-28 10:47:19.424 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:309 received connection confirmation from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= running version 0.30.3 and with remote WireGuard listen port 51820 10-28 10:47:19.418 1957 1957 W Thread-8: type=1400 audit(0.0:203242): avc: denied { create } for scontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tcontext=u:r:untrusted_app_32:s0:c66,c257,c512,c768 tclass=netlink_generic_socket permissive=0 app=io.netbird.client 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:639 peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= ICE ConnectionState has changed to Checking 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/peer/conn.go:603 discovered local candidate udp4 host 10.221.109.136:51820 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.425 1957 2054 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.427 1957 2363 E GoLog : [TRAC] signal/client/grpc.go:400 received a new message from Peer [fingerprint: Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4=] 10-28 10:47:19.427 1957 2363 E GoLog : [DEBG] client/internal/peer/conn.go:755 OnRemoteCandidate from peer Q9TQWlNnUooY84FWuGREDlX//hg+al6gURRjlHn+rD4= -> udp4 host 10.20.0.10:51820 10-28 10:47:19.428 1957 2363 E GoLog : [DEBG] iface/bind/udp_mux.go:346 ICE: registered 10.20.0.10:51820 for TNSKsNFzrOxslcCp 10-28 10:47:19.428 1957 2363 E GoLog : [TRAC] [question: {nb.domain.com. 28 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:47:19.429 1957 2363 E GoLog : [TRAC] [question: {nb.domain.com. 1 1}] client/internal/dns/upstream.go:80 received an upstream question 10-28 10:47:19.492 1957 2105 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 61.334798ms to query the upstream 64.71.255.254:53 10-28 10:47:19.497 1957 2362 E GoLog : [TRAC] client/internal/dns/upstream.go:122 took 66.900675ms to query the upstream 64.71.255.254:53 10-28 10:47:19.501 1957 2362 E GoLog : [DEBG] util/net/listener_nonios.go:120 Listener resolved IP for x.x.221.118:3478: x.x.221.118 10-28 10:47:19.501 1957 2362 E GoLog : [TRAC] client/internal/dns/local.go:25 received question: dns.Question{Name:"nb.domain.com.cl.nb.domain.com.", Qtype:0x1c, Qclass:0x1} 10-28 10:47:19.711 1957 2362 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer lvXne9UznY2gBm6c0CMEbyaXUtQurHMqfP+gf4bCcGM= 10-28 10:47:19.718 1957 2105 E GoLog : [DEBG] client/internal/peer/conn.go:256 trying to connect to peer RIPD3675Tb2DgGJOfnkFjtZ/tAViBe9Z+FpSOQJJRCA= 10-28 10:47:19.738 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.739 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.739 1957 2105 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed 10-28 10:47:19.748 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.748 1957 2105 E GoLog : [DEBG] client/internal/stdnet/filter.go:31 trying to create a wgctrl client failed with: socket: permission denied 10-28 10:47:19.749 1957 2105 E GoLog : [TRAC] client/internal/stdnet/filter.go:24 ignoring interface tun0 - it is not allowed` Does this help narrow it down? Any other logs you need?
Author
Owner

@j007bond007 commented on GitHub (Oct 28, 2024):

Also... I wonder if it's to do with not having the "have full network access" permission in Android - it mentions that permission is needed to create sockets. It looks like all Netbird has access to now is notifications.... I think it lost its permissions (Android auto removes them over time) and never tried to "Request" them again.

<!-- gh-comment-id:2441860976 --> @j007bond007 commented on GitHub (Oct 28, 2024): Also... I wonder if it's to do with not having the "have full network access" permission in Android - it mentions that permission is needed to create sockets. It looks like all Netbird has access to now is notifications.... I think it lost its permissions (Android auto removes them over time) and never tried to "Request" them again.
Author
Owner

@Sympatron commented on GitHub (Oct 31, 2024):

I had the same problem and it was resolved by opening the STUN/TURN port 3478 in the firewall on the netbird server.

<!-- gh-comment-id:2450209027 --> @Sympatron commented on GitHub (Oct 31, 2024): I had the same problem and it was resolved by opening the STUN/TURN port 3478 in the firewall on the netbird server.
Author
Owner

@YapWC commented on GitHub (Apr 5, 2025):

I can confirm that on iOS the problem does not exist. It only happens on Android, I was able to connect to peers but when it is connected to peers, then the internet access is gone can't surf the website or anything except connecting to the peers.

This is so weird and it seems like with the latest version still this problem still exists.

<!-- gh-comment-id:2780581969 --> @YapWC commented on GitHub (Apr 5, 2025): I can confirm that on iOS the problem does not exist. It only happens on Android, I was able to connect to peers but when it is connected to peers, then the internet access is gone can't surf the website or anything except connecting to the peers. This is so weird and it seems like with the latest version still this problem still exists.
Author
Owner

@SoFMeRight commented on GitHub (Apr 15, 2025):

I can confirm that on iOS the problem does not exist. It only happens on Android, I was able to connect to peers but when it is connected to peers, then the internet access is gone can't surf the website or anything except connecting to the peers.

This is so weird and it seems like with the latest version still this problem still exists.

I can confirm I have the same persisting issue. Oddly enough it sometimes works. But is intermittent.

<!-- gh-comment-id:2803781863 --> @SoFMeRight commented on GitHub (Apr 15, 2025): > I can confirm that on iOS the problem does not exist. It only happens on Android, I was able to connect to peers but when it is connected to peers, then the internet access is gone can't surf the website or anything except connecting to the peers. > > This is so weird and it seems like with the latest version still this problem still exists. I can confirm I have the same persisting issue. Oddly enough it sometimes works. But is intermittent.
Author
Owner

@animefreak93 commented on GitHub (Jun 11, 2025):

I had the same problem and it was resolved by opening the STUN/TURN port 3478 in the firewall on the netbird server.

Thanks.. I already open UDP port 3478 on my netbird server as per documentation.. After open TCP 3478 and restart netbird I now connected to peers as Intended.. there some fault on the documentation or idk

<!-- gh-comment-id:2962051899 --> @animefreak93 commented on GitHub (Jun 11, 2025): > I had the same problem and it was resolved by opening the STUN/TURN port 3478 in the firewall on the netbird server. Thanks.. I already open UDP port 3478 on my netbird server as per documentation.. After open TCP 3478 and restart netbird I now connected to peers as Intended.. there some fault on the documentation or idk
Author
Owner

@davidsmith91 commented on GitHub (Oct 19, 2025):

I think it could be related to https://github.com/netbirdio/netbird/issues/4341
The issue seems to happen on Xiaomi and GrapheneOS ROMs.. or at least Pixel phones

<!-- gh-comment-id:3419552637 --> @davidsmith91 commented on GitHub (Oct 19, 2025): I think it could be related to https://github.com/netbirdio/netbird/issues/4341 The issue seems to happen on Xiaomi and GrapheneOS ROMs.. or at least Pixel phones
Author
Owner

@PizzaLovingNerd commented on GitHub (May 30, 2026):

Hello, I am closing this issue as this is a stale issue and the Android client has been rewritten since this issue was opened. If you are having this on the latest version of the NetBird app for Android, please reopen this issue. Cheers!

<!-- gh-comment-id:4585421843 --> @PizzaLovingNerd commented on GitHub (May 30, 2026): Hello, I am closing this issue as this is a stale issue and the Android client has been rewritten since this issue was opened. If you are having this on the latest version of the NetBird app for Android, please reopen this issue. Cheers!
Sign in to join this conversation.
No Label Android client triage
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2537