Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Andriod phone: connected to 0/5 peers, no internet #1512

Open
europacafe opened this issue Jan 31, 2024 · 10 comments
Open

Andriod phone: connected to 0/5 peers, no internet #1512

europacafe opened this issue Jan 31, 2024 · 10 comments

Comments

@europacafe
Copy link

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

@Luxosity
Copy link

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.

@ptpu
Copy link

ptpu commented 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

@jumski
Copy link

jumski commented Apr 8, 2024

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

@pappz
Copy link
Contributor

pappz commented 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.

@jumski
Copy link

jumski commented 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-

@jumski
Copy link

jumski commented 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

@jumski
Copy link

jumski commented Apr 30, 2024

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

@adlion
Copy link

adlion commented Jun 10, 2024

I have same issue

@mlsmaycon
Copy link
Collaborator

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

@j007bond007
Copy link

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.

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

No branches or pull requests

9 participants