-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Android 14 App doesn't connect to the peers #1347
Comments
Hello @nils1323, we are fixing an issue with IPv6 DNS addresses, can you confirm if your devices are using IPv6? |
The network, the devices are in, is ipv4 only. There is a local (fe prefix) ipv6 address in the network configuration settings of the phones. |
Hello @mlsmaycon , I have the same problem too,According to the #798 (comment) , I tested my TURN configuration, I think that it is affected by ipv6. |
self host server: netbird-mgmt version 0.24.4 |
I have the same problem on my Android phone (Android 13), what i did notice is that it only happens when I add a route, without any routes all peers can see all peers, when I add a route, the Linux nodes can see one another but the Android app sees no other peers. I then remove the route and reconnect the android app i can see all the peers again. If i run the exact same peers on netbird.io I have no such problem, with and without routes all peers can see all peers Self Hosted: docker image 0.25.1 |
Same issue here, |
I have a update perhaps related to other issues here adding to turnserver.conf:
make it possible to use netbird over ipv6. |
Having same issue but with DNS (routes seem fine). Removing DNS servers causes peers to connect again. |
Same problem here, IPv4 only home network, I could see the peers connected on the android app. But I couldn't see them after I switch to mobile network which has IPv6 enabled. I tried to disabled IPv6 by editing the APN setting but it doesn't allow me to do that like the online tutorials. If you can edit your mobile network APN settings, you can try that and see if it works after disabling IPv6. Right now I just have to wait for the new version to fix this problem. |
@let-lc @thefiredragon @DENightOne @nilshee Hey guys, see #1453 (comment) add It works for me, I think you can also try it? |
Sadly this doesn't work for me. I tried on my iOS device and faced the same problems. I also found another problem when I was doing some tests, not related to IPv6, but DNS. Both my iOS and Android devices, I added a LAN pi-hole DNS server to the WiFi setting. This doesn't cause any problem on my iOS device, but on Android, 0 of n peers connected problem happens again. If I connect my Android to another SSID of the same router with auto DHCP (no static IP, no custom DNS), I could see the peers connected now. I'm not a network expert, so I don't know why this is happening. Just sharing my finding. |
Got a similar issue, I have a small homelab with a k8s cluster and an Adguard Home instance running. No problem so far with linux or windows clients on netbird, but on my android phone i can see 0 of n Peers connected. Disabling custom DNS in netbird solves the issue, but no custom dns anymore, which is annoying The DNS Server is on a VM (192.168.1.104) in my local network but it doesnt have netbird installed so I used routing to expose 192.168.1.0/24 through another machine with netbird installed, I don't know if it could be the issue. I plan on installing netbird on the adguard machine and using it as a dns server with it's netbird ip, don't know if it's possible though. EDIT : |
I've a similar setup to @DidZ0 (self hosted Netbird, with adguard DNS server via custom route) and indeed the peers are not connecting. I'm just speculating, but can it be a chicken/egg problem where the app is trying to resolve the NetBird domain with the provided DNS server? |
I've found that my version of this issue "Android client not connecting with peers" is related to only specific kind of routes: As soon as you add a public host route (151.23.52.1/32 for example) the client won't connect anymore, remove that "faulty" route and it will eventually be able to connect, ping peers and use private routes with no issues. Is it possible that this is an Android-specific routing permissions related thing? |
Can confirm @penzoiders findings. After removing all public networks it works for the private ones just fine |
I have the same problem. |
Phone: Google Pixel 6a, Android 14 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. |
I can confirm the issue described by DidZ0 and MatteoPaier with a DNS Server in a local network. Is there anything we can provide to help fixing this? |
Seems like I was able to fix my issue by adding a 2nd public nameserver only for "stun.netbird.io" & "turn.netbird.io". In the logs I saw the client failed to resolve those dns entries when establishing a connection to the peer running in my DNS network. |
+1 |
Seems to be working now |
Still running into this issue - android device is not connecting to peers. Android 13 |
Which versions are you running for the other components? |
Clean install. Android 13, Galaxy Tab 6 Lite. Netbird selfhosted. All other peers including an Oppo Find X5 Pro with Android 14 connect fine.
But @Pumba98 is right. I had my NextDNS Public DNS Resolvers and my Fritzbox Router IP for internal DNS stuff additionally configured in control panel. As soon as I deleted the Fritzbox DNS for Home LAN, the Galaxy Tab began to connect to the other peers. Weird that I have another Android device which worked also with Fritzbox DNS activated. |
Hey can i help me please ? xD When i connect with netbird from my android phone it's not working with mobile internet. Mobile Internet is only public V6 address and private V4 address. Homelab Internet is Dual Stack so a Public V4 and V6 address. VPS Internet is Dual Stack so a Public V4 and V6 address. I love netbird it's perfect because i can all self hosting. |
Same issue, works over WiFi but not mobile internet on Android app. |
When I was first setting up the android client, I had entered a shared key, thinking that the shared key is the same as the setup key. My android was not working because of the shared key. Once, I removed the shared key, it started working. |
Describe the problem
The playstore version of the netbird app won't connect to the peers. The connection and login to the management server works without a problem.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Connect to the peers.
NetBird status -d output:
Android app
Screenshots
The text was updated successfully, but these errors were encountered: