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
iPhone - internet break after leave wi-fi range #8022
I have been observing the same problem on my iPhone 11 Pro / iOS 16.4.1 (a) with Tailscale 1.40.0
⁃ When my Tailscale VPN is UP and I am using an an exit node, I lose Internet connectivity when I get out of the range of my Wi-Fi network and switch to LTE. The "VPN" status icon on the top left stays up, tho.
⁃ Starting the Tailscale app, stopping the VPN connection and restarting it fixes the problem.
⁃ Switching "Use exit node" to none, and back to the same exit node that was used fixes the problem
⁃ Switching "Use exit node" to another exit node _doesn't_ fix the problem
⁃ Simply waiting (I tried to wait for about 15 minutes) _doesn't_ fix the problem
⁃ The reverse, going from LTE to Wi-Fi doesn't cause the same problem
⁃ I only observe that problem when an exit node is enabled
Same problem on TestFlight version 1.41.12
Rolling back to TestFlight version 1.39.146 fixes the issue on my device
I use CarPlay in iPhone. What is does is connecting to the car using wi-fi. It made me already issues with different apps, because this wi-fi doesn't prove Internet, but apps use this wi-fi by not "understanding" this is is wi-fi without internet for CarPlay purpose.
So the hypothesis is when I drive a car and my iPhone connect to CarPlay (so to wi-fi too), then Tailscale after some time lost authentication and doesn't refresh it after stop driving.
The solution here is Tailscale should never use CarPlay wi-fi. It should use standard Cellular Data during this time. I guess there is some solution in iPhone to use wi-fi which is real wi-fi and not wi-fi which is used for CarPlay.
Now I am trying exit node and it work, until it doesn't. The same for laptop and iphone. I can load in my laptop half of the intertnet in chrome but I can' other half. Depends on website. I am sitting in the hotel (this time no car), route traffic from my home network and it just doesn't work as expected.
It correctly redirect traffic, because IP is from my home network. But just I can't use half of the internet and I can other half. The same website constantly work or doesn't.
Here is the most confusing thing. In notebook and iPhone other websites work and other don't. Constantly the same. I don't know WTF but tailscale is totally not usable. Even if I turn off and on tailscale the issue is the same, the same websites. Nothing change.
I get this same issue as of recent. My iPhone loses connectivity often as I'm switching between wifi/cellular/none while walking and it's incredibly annoying. Reverted back to 1.39.146 and will have to see if that fixes it. Using iOS 16.5 (20F65)
Edit: can confirm this issue isn't existent on 1.39.146
Edit 2: exit node functionality is flawless on 1.39.146. Switching between 3 wifi networks, cellular, no signal without issue. The latest version is horribly fragile and for me breaks every time a network change happens.
I signed in to comment on this because I had the same thing happen to me with the 1.40.0 update on iOS and it is driving me insane. The issue still persists with the newest update 1.42.0. I have been in a 14 email conversation with a support engineer from Tailscale. I submitted bug reports from the Tailscale client and sysdiagnose from iOS and was told the results from those have been inconclusive.
Edit: I don't have CarPlay. This is not a CarPlay issue.
I have been observing the same problem on my iPhone 11 Pro / iOS 16.4.1 (a) with Tailscale 1.40.0
⁃ When my Tailscale VPN is UP and I am using an an exit node, I lose Internet connectivity when I get out of the range of my Wi-Fi network and switch to LTE. The "VPN" status icon on the top left stays up, tho.
⁃ Starting the Tailscale app, stopping the VPN connection and restarting it fixes the problem.
⁃ Switching "Use exit node" to none, and back to the same exit node that was used fixes the problem
⁃ Switching "Use exit node" to another exit node _doesn't_ fix the problem
⁃ Simply waiting (I tried to wait for about 15 minutes) _doesn't_ fix the problem
⁃ The reverse, going from LTE to Wi-Fi doesn't cause the same problem
⁃ I only observe that problem when an exit node is enabled
Same problem on TestFlight version 1.41.12
Rolling back to TestFlight version 1.39.146 fixes the issue on my device
This is exactly what is happening to me it is enraging especially because the whole point of having devices on tailscale is for them to always be connected.
I have been observing the same problem on my iPhone 11 Pro / iOS 16.4.1 (a) with Tailscale 1.40.0
⁃ When my Tailscale VPN is UP and I am using an an exit node, I lose Internet connectivity when I get out of the range of my Wi-Fi network and switch to LTE. The "VPN" status icon on the top left stays up, tho.
⁃ Starting the Tailscale app, stopping the VPN connection and restarting it fixes the problem.
⁃ Switching "Use exit node" to none, and back to the same exit node that was used fixes the problem
⁃ Switching "Use exit node" to another exit node _doesn't_ fix the problem
⁃ Simply waiting (I tried to wait for about 15 minutes) _doesn't_ fix the problem
⁃ The reverse, going from LTE to Wi-Fi doesn't cause the same problem
⁃ I only observe that problem when an exit node is enabled
Same problem on TestFlight version 1.41.12
Rolling back to TestFlight version 1.39.146 fixes the issue on my device
This is exactly what is happening to me it is enraging especially because the whole point of having devices on tailscale is for them to always be connected.
Could you specify the model of the device you are using and it's OS version?
Also, if you are still in contact with a support engineer, could you point him to this page? I am not sure it is on their radar. And knowing that multiple users are experiencing the same issue generally help to increase the priority of an issue...
I have been observing the same problem on my iPhone 11 Pro / iOS 16.4.1 (a) with Tailscale 1.40.0
⁃ When my Tailscale VPN is UP and I am using an an exit node, I lose Internet connectivity when I get out of the range of my Wi-Fi network and switch to LTE. The "VPN" status icon on the top left stays up, tho.
⁃ Starting the Tailscale app, stopping the VPN connection and restarting it fixes the problem.
⁃ Switching "Use exit node" to none, and back to the same exit node that was used fixes the problem
⁃ Switching "Use exit node" to another exit node _doesn't_ fix the problem
⁃ Simply waiting (I tried to wait for about 15 minutes) _doesn't_ fix the problem
⁃ The reverse, going from LTE to Wi-Fi doesn't cause the same problem
⁃ I only observe that problem when an exit node is enabled
Same problem on TestFlight version 1.41.12
Rolling back to TestFlight version 1.39.146 fixes the issue on my device
This is exactly what is happening to me it is enraging especially because the whole point of having devices on tailscale is for them to always be connected.
Could you specify the model of the device you are using and it's OS version?
Also, if you are still in contact with a support engineer, could you point him to this page? I am not sure it is on their radar. And knowing that multiple users are experiencing the same issue generally help to increase the priority of an issue...
I am running an iPhone 11 Pro Max NWGK22LL/A on iOS 16.5 (20F66) Tailscale client 1.42.0
Every time I disconnect and reconnect to wifi or cell network, I have to turn Tailscale off in the client and back on again to have any internet to my phone. This is an issue that cropped up first in 1.40.0 of the client. 1.42.0 has not fixed this issue. I just sent the link of this issue to the support engineer. I feel like another bug report should be opened for this and have this consolidated because the network issue when going out of range of wifi or reconnecting to wifi is not just a CarPlay specific issue.
@r3n3x appreciate you sending the bug report ID, there appears to be something off with DNS over HTTPS during the timeframe you indicated. We're looking into it.
@agottardo In the Tailscale admin console, I see that I have "Cloudflare Public DNS" configured as my Nameservers, with "Override Local DNS" enabled. I am not using the "NextDNS (DoH)" servers.
Experienced the problem a few minutes ago. Like before, disabling the use of my exit node for a few seconds and reenabling it got me back network connectivity.
@r3n3x no, this is not caused by an iOS update and we encourage you to always use the latest iOS version available. Tailscale engineers run on the iOS beta to identify issues caused by upcoming updates. Generally speaking, there are tens of dozens of different reasons why network transitions will break a VPN on iOS. Any VPN client doing more than a bare minimum implementation using the public Apple APIs is bound to break when moving between networks. We got several of these things wrong in the past, and oh well, other VPNs are bound to experience the same.
We are investigating the issue reported by you and @FinalPoint. Your bug report IDs indicate it is specifically caused by using DNS over HTTPS, and the forwarder attempting to re-use a connection that was broken by a network transition. For now as a temporary workaround, you'll likely see a benefit from disabling "Use Tailscale DNS Settings" in the app (yes I know, you'll lose the ability to access resources using their name...). We likely won't land a fix in time for this in v1.68. Stay on TestFlight so you can get a fix when we ship it.
@agottardo, is your recommendation to disable "Use Tailscale DNS Settings" also for me? As I understand it, I do use "Tailscale DNS Settings", but I am using a "traditional" plain text / udp DNS, and not DoH.
Also wondering: is there another bug to track this issue? If not, should this one still be marked as "closed"?
I'll be locking this as the original issue has been addressed, and I don't want to keep re-use this issue # to track a different problem (it is confusing for us to make sense of what has been fixed and what hasn't).
Activity
FinalPoint commentedon May 5, 2023
I have been observing the same problem on my iPhone 11 Pro / iOS 16.4.1 (a) with Tailscale 1.40.0
Same problem on TestFlight version 1.41.12
Rolling back to TestFlight version 1.39.146 fixes the issue on my device
kwladyka commentedon May 9, 2023
I have a hypothesis but I have to prove it:
I use
CarPlayin iPhone. What is does is connecting to the car using wi-fi. It made me already issues with different apps, because this wi-fi doesn't prove Internet, but apps use this wi-fi by not "understanding" this is is wi-fi without internet for CarPlay purpose.So the hypothesis is when I drive a car and my iPhone connect to CarPlay (so to wi-fi too), then Tailscale after some time lost authentication and doesn't refresh it after stop driving.
The solution here is Tailscale should never use CarPlay wi-fi. It should use standard Cellular Data during this time. I guess there is some solution in iPhone to use wi-fi which is real wi-fi and not wi-fi which is used for CarPlay.
kwladyka commentedon May 10, 2023
I added a bug id and edited first message to describe what I have discovered.
kwladyka commentedon May 12, 2023
Ok this is even more crazy.
Now I am trying
exit nodeand it work, until it doesn't. The same for laptop and iphone. I can load in my laptop half of the intertnet in chrome but I can' other half. Depends on website. I am sitting in the hotel (this time no car), route traffic from my home network and it just doesn't work as expected.It correctly redirect traffic, because IP is from my home network. But just I can't use half of the internet and I can other half. The same website constantly work or doesn't.
Here is the most confusing thing. In notebook and iPhone other websites work and other don't. Constantly the same. I don't know WTF but tailscale is totally not usable. Even if I turn off and on tailscale the issue is the same, the same websites. Nothing change.
Zk2u commentedon May 17, 2023
I get this same issue as of recent. My iPhone loses connectivity often as I'm switching between wifi/cellular/none while walking and it's incredibly annoying. Reverted back to 1.39.146 and will have to see if that fixes it. Using iOS 16.5 (20F65)
Edit: can confirm this issue isn't existent on 1.39.146
Edit 2: exit node functionality is flawless on 1.39.146. Switching between 3 wifi networks, cellular, no signal without issue. The latest version is horribly fragile and for me breaks every time a network change happens.
FinalPoint commentedon May 21, 2023
Just tested TestFlight version 1.41.69: I still experience the exact same issue.
FinalPoint commentedon May 30, 2023
Same issue with 1.42.0.
sethwm2 commentedon May 30, 2023
I signed in to comment on this because I had the same thing happen to me with the 1.40.0 update on iOS and it is driving me insane. The issue still persists with the newest update 1.42.0. I have been in a 14 email conversation with a support engineer from Tailscale. I submitted bug reports from the Tailscale client and sysdiagnose from iOS and was told the results from those have been inconclusive.
Edit: I don't have CarPlay. This is not a CarPlay issue.
sethwm2 commentedon May 30, 2023
This is exactly what is happening to me it is enraging especially because the whole point of having devices on tailscale is for them to always be connected.
FinalPoint commentedon May 30, 2023
Could you specify the model of the device you are using and it's OS version?
Also, if you are still in contact with a support engineer, could you point him to this page? I am not sure it is on their radar. And knowing that multiple users are experiencing the same issue generally help to increase the priority of an issue...
sethwm2 commentedon May 30, 2023
I am running an iPhone 11 Pro Max NWGK22LL/A on iOS 16.5 (20F66) Tailscale client 1.42.0
Every time I disconnect and reconnect to wifi or cell network, I have to turn Tailscale off in the client and back on again to have any internet to my phone. This is an issue that cropped up first in 1.40.0 of the client. 1.42.0 has not fixed this issue. I just sent the link of this issue to the support engineer. I feel like another bug report should be opened for this and have this consolidated because the network issue when going out of range of wifi or reconnecting to wifi is not just a CarPlay specific issue.
Zk2u commentedon May 30, 2023
Yeah, I don't use CarPlay and I still get the same issue.
iPhone 13 Pro Max MLL03LL/A, iOS 16.5 (20F66), TS 1.42.0
62 remaining items
agottardo commentedon May 31, 2024
@r3n3x can I get a bug report ID from your device?
r3n3x commentedon May 31, 2024
BUG-682b4aec417fec210550c7b72646446cf88eeffa828e5673a94cd6766fcd0eae-20240531022730Z-0c78c2466a426c88
agottardo commentedon May 31, 2024
Thank you!
agottardo commentedon May 31, 2024
@r3n3x appreciate you sending the bug report ID, there appears to be something off with DNS over HTTPS during the timeframe you indicated. We're looking into it.
r3n3x commentedon May 31, 2024
Thanks.
Yes, I had configured to use my NextDNS (DoH) profile with Tailscale&Mullvad.
Perhaps @FinalPoint uses NextDNS or other custom DNS, too?
FinalPoint commentedon May 31, 2024
Interesting.
Yes, I have a DoH configuration profile installed on my iPhone. It's pointing to a (publicly accessible) server I manage myself.
agottardo commentedon May 31, 2024
@FinalPoint Do you have DoH configured in the Tailscale admin console, and is Override Local DNS enabled?
FinalPoint commentedon May 31, 2024
@agottardo In the Tailscale admin console, I see that I have "Cloudflare Public DNS" configured as my Nameservers, with "Override Local DNS" enabled. I am not using the "NextDNS (DoH)" servers.
FinalPoint commentedon Jun 2, 2024
Experienced the problem a few minutes ago. Like before, disabling the use of my exit node for a few seconds and reenabling it got me back network connectivity.
@agottardo : BUG-b64e902406c500582fcd230df9d19fb2e34b9d872664e2c3622c3c8306fecfd7-20240602104734Z-690b0b8ca9f418f4
Thanks!
r3n3x commentedon Jun 4, 2024
https://www.reddit.com/r/ProtonVPN/s/EjOaaDxZvS
ProtonVPN app users experience a similar behavior. Is it perhaps a iOS update related matter for Wireguard VPNs?
agottardo commentedon Jun 4, 2024
@r3n3x no, this is not caused by an iOS update and we encourage you to always use the latest iOS version available. Tailscale engineers run on the iOS beta to identify issues caused by upcoming updates. Generally speaking, there are tens of dozens of different reasons why network transitions will break a VPN on iOS. Any VPN client doing more than a bare minimum implementation using the public Apple APIs is bound to break when moving between networks. We got several of these things wrong in the past, and oh well, other VPNs are bound to experience the same.
We are investigating the issue reported by you and @FinalPoint. Your bug report IDs indicate it is specifically caused by using DNS over HTTPS, and the forwarder attempting to re-use a connection that was broken by a network transition. For now as a temporary workaround, you'll likely see a benefit from disabling "Use Tailscale DNS Settings" in the app (yes I know, you'll lose the ability to access resources using their name...). We likely won't land a fix in time for this in v1.68. Stay on TestFlight so you can get a fix when we ship it.
FinalPoint commentedon Jun 4, 2024
@agottardo, is your recommendation to disable "Use Tailscale DNS Settings" also for me? As I understand it, I do use "Tailscale DNS Settings", but I am using a "traditional" plain text / udp DNS, and not DoH.
Also wondering: is there another bug to track this issue? If not, should this one still be marked as "closed"?
agottardo commentedon Jun 5, 2024
@FinalPoint I opened #12352 to track this for you and @r3n3x. You can track progress there.
agottardo commentedon Jun 5, 2024
I'll be locking this as the original issue has been addressed, and I don't want to keep re-use this issue # to track a different problem (it is confusing for us to make sense of what has been fixed and what hasn't).