You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android network stops working after going through subway #8312
This is an odd one, but I'm able to consistently reproduce it and it seems like tailscale is the cause.
I have a Pixel 7 phone with tailscale set as the vpn. I'm not using an exit node. When I go though the subway and loose cellular connection, internet won't work once my phone re-connects to the cell tower. It shows full bars but web pages don't load. Rebooting the phone fixes the problem.
The odd thing is this only happens if I have tailscale enabled. If I disconnect from tailscale, going through subway tunnels works fine - it reconnects once I'm out of the tunnel and I don't need to reboot the phone.
This also sometimes happens when moving from wifi to the mobile network - for example when leaving a building.
Steps to reproduce
Enable the tailscale vpn on android.
Verify that you can load web pages
Go somewhere without cell service - for example a subway or put your phone in a faraday cage
Observe that your phone has no cell signal.
Try to load a web page - observe that it fails.
Go back to somewhere where there is cell service.
Observe that your phone claims to be connected with full bars
Try to load a web page - observe that it fails
Disconnect from tailscale - web pages should work again. If not, rebooting the phone fixes the problem.
Are there any recent changes that introduced the issue?
I got a new phone 1-2 months ago and that's when I started seeing the issue.
I am also facing a similar issue on the Android client. I would like to add more info about this.
It appears that the Android client is not able to re-initiate an interrupted connection.
Example:
Start the Tailscale Android app and turn on the VPN.
Verify that the Tailscale app shows "Active" status and you are able to connect to clients and/or services in the Tailscale network.
Switch Wi-Fi networks or turn off Wi-Fi and then turn it back on again
Try to connect to clients and/or services in the Tailscale network, the connection will fail.
Check the Tailscale app, it will still show "Active"
Turn off the VPN in the app and then turn it on again
Now the Tailscale app will show the status "Starting..." and this never changes to "Active".
Turn off the VPN in the app and then close the app.
Open the app again and turn on the VPN.
Verify that the Tailscale app shows "Active" status and you are able to connect to clients and/or services in the Tailscale network.
Sometimes even on closing and reopening the app the connection still fails and you need to go to Android settings and force stop the Taiscale app and then try again.
Tested these app versions and both have the issue:
1.44.1-ta377e1363-g584245cc823
1.48.0-t77c732357-g388b71affe8 (latest at time of comment)
I have this same issue, GrapheneOS (Android 13) on a Pixel 6. It makes it hard to switch fully to Tailscale, and I still have to leave my Home Assistant and other services exposed to the open web until this can be fixed.
I've tried reproducing this with no luck so far. Next time this happens, can you generate a bugreport immediately after (or during) you lose network connection and copy those here?
Yes actually, right after I commented this I also sent in a support request via their page. This is the bug report string I was given from the Tailscale app:
I'll close this one as a duplicate of #8283. @taydy00 and I did some troubleshooting over email and for them, overriding their tailnet's local DNS settings seemed to help in the interim. We'll continue investigating on #8283.
I'm having this issue nowadays, but it happens for all my devices, not only android ones. I've configured a local DNS IP and marked to override it in Tailscale but nothing has changed. At the first time that I setup my local server, everything was working properly when I was accessing my local applications through another remote networks using Tailscale VPN.
Anyone could help me with this issue please?
Activity
RaheelJameel commentedon Aug 21, 2023
I am also facing a similar issue on the Android client. I would like to add more info about this.
It appears that the Android client is not able to re-initiate an interrupted connection.
Example:
Tested these app versions and both have the issue:
1.44.1-ta377e1363-g584245cc823
1.48.0-t77c732357-g388b71affe8 (latest at time of comment)
taydy00 commentedon Sep 5, 2023
I have this same issue, GrapheneOS (Android 13) on a Pixel 6. It makes it hard to switch fully to Tailscale, and I still have to leave my Home Assistant and other services exposed to the open web until this can be fixed.
kelivel commentedon Sep 5, 2023
I've tried reproducing this with no luck so far. Next time this happens, can you generate a bugreport immediately after (or during) you lose network connection and copy those here?
taydy00 commentedon Sep 5, 2023
Yes actually, right after I commented this I also sent in a support request via their page. This is the bug report string I was given from the Tailscale app:
BUG-6e4e8957a648ea1e17080b4a8bfa1a55a9ac003e7fa8f4cdb3dfd2c6d8bc7bce-20230905153534Z-35ca77c409770193kelivel commentedon Sep 7, 2023
I'll close this one as a duplicate of #8283. @taydy00 and I did some troubleshooting over email and for them, overriding their tailnet's local DNS settings seemed to help in the interim. We'll continue investigating on #8283.
lucaslgr commentedon May 5, 2024
I'm having this issue nowadays, but it happens for all my devices, not only android ones. I've configured a local DNS IP and marked to override it in Tailscale but nothing has changed. At the first time that I setup my local server, everything was working properly when I was accessing my local applications through another remote networks using Tailscale VPN.
Anyone could help me with this issue please?