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
macOS (App Store, IPNExtension): direct UDP still never re-established after network change on 1.104.5 (follow-up to #22082) #22259
Follow-up to #22082, which was closed with the statement that 1.104.5 fixes the problem (#22082 (comment)). It does not.
Re-tested on 1.104.5 (2026-11-07) with tailscale ping against two peers. Same result for both; output below for one of them. After a network change the connection falls back to DERP and direct UDP is never re-established, not even after switching back to the original Wi-Fi where it worked a few minutes earlier. Only quitting and relaunching the Tailscale app restores the direct connection.
Expected: after the network change (at the latest after switching back), a direct connection is re-established, as it is immediately after an app relaunch.
1. Wi-Fi (home), initial state: direct
$ tailscale ping muc-xxx
pong from jeff (xxx.xxx.xxx.xxx) via xx.xx.xx.xx:41641 in 29ms
2. Switched to mobile hotspot: DERP only
$ tailscale ping muc-xxx
pong from jeff (xxx.xxx.xxx.xxx) via DERP(fra) in 29ms
[... 8 more pongs via DERP(fra) ...]
pong from jeff (xxx.xxx.xxx.xxx) via DERP(fra) in 45ms
2026/11/07 12:59:36 direct connection not established
3. Switched back to the same home Wi-Fi: still DERP only
$ tailscale ping muc-xxx
pong from jeff (xxx.xxx.xxx.xxx) via DERP(fra) in 29ms
[... 8 more pongs via DERP(fra) ...]
pong from jeff (xxx.xxx.xxx.xxx) via DERP(fra) in 45ms
2026/11/07 13:03:36 direct connection not established
4. Quit Tailscale app completely and relaunch, same home Wi-Fi: direct immediately
$ tailscale ping muc-xxx
pong from jeff (xxx.xxx.xxx.xxx) via x.xx.xx.xx:41641 in 21ms
Step 3 shows this is not about the hotspot network itself. After the first network change, the client loses the ability to establish direct paths at all, until the process is restarted. This matches the analysis by @ViRb3 in #22082 (magicsock receive func exiting after a socket read error, related to #20616 / PR #21396). Detailed packet-level evidence (pongs arriving on en0 but never answered) is in #22082.
Please point me to the commit/PR that was expected to fix this in 1.104.5, so I can verify it is included in the App Store build.
Steps to reproduce
Mac on home Wi-Fi, tailscale ping <peer> → via <public-IP>:41641 (direct)
Switch Wi-Fi to a mobile hotspot
tailscale ping <peer> → only via DERP(fra), ends with direct connection not established
Switch back to the original home Wi-Fi
tailscale ping <peer> → still only via DERP(fra), ends with direct connection not established
Quit Tailscale app completely and relaunch
tailscale ping <peer> → direct again immediately
Reproduced on 1.104.5 against two different peers.
Are there any recent changes that introduced the issue?
Per the comment by @bcreane on #22082 , if you are still able to reproduce this issue, please post a fresh bug report ID on #19504, which is the open tracker.
As noted above - if you have reproduced the issue and have helpful output, we'd appreciate it if you'd comment with a fresh bug ID and the output on the tracking issue (#19504 ). This allows us to consolidate reports and more effectively diagnose any ongoing problem, and prevents delays due to issue duplication.
Thanks for your reply. Its working with your version 1.105.203 !!!! Yay!!! :)
# Wi-Fi
$ tailscale ping server-a
pong from server-a (100.64.0.10) via 203.0.113.20:41745 in 31ms
# Wi-Fi
$ tailscale ping host-b
pong from fw-edge (100.64.0.1) via 203.0.113.22:41641 in 26ms
# Switched to mobile hotspot (no Tailscale restart)
$ tailscale ping host-b
pong from fw-edge (100.64.0.1) via 203.0.113.22:41641 in 117ms
# Switched back to Wi-Fi (no Tailscale restart)
$ tailscale ping host-b
pong from fw-edge (100.64.0.1) via 203.0.113.22:41641 in 44ms
The root cause of this issue, even though there are different symptoms, is the same as #19504. All related updates will be consolidated on to #19504, so that we can track everything in one place. Thanks for your understanding.
Activity
croakerbcts commentedon Nov 9, 2026
Per the comment by @bcreane on #22082 , if you are still able to reproduce this issue, please post a fresh bug report ID on #19504, which is the open tracker.
Closing this as a duplicate of the tracker.
fberger2 commentedon Nov 9, 2026
WTF? I reproduced it AND i posted output. Why is this closed again.....guys...
Keep your bugs then....i´m out
croakerbcts commentedon Nov 9, 2026
As noted above - if you have reproduced the issue and have helpful output, we'd appreciate it if you'd comment with a fresh bug ID and the output on the tracking issue (#19504 ). This allows us to consolidate reports and more effectively diagnose any ongoing problem, and prevents delays due to issue duplication.
fberger2 commentedon Nov 9, 2026
This is no duplicate...this is the output after a new version came out and should be tested, but the issue was closed automatically meanwhile.
But as i said...im out. Good luck
ViRb3 commentedon Nov 9, 2026
@fberger2 not a Tailscale dev, but I've been following this issue closely. Can you please try the latest macOS unstable release https://pkgs.tailscale.com/unstable/Tailscale-1.105.203-macos.pkg? The root cause was only fixed partly in 1.104.5, and the other half of the fix was just merged in.
fberger2 commentedon Nov 9, 2026
Thanks for your reply. Its working with your version 1.105.203 !!!! Yay!!! :)
BUG-e553cb399e29d270c88a654b0682faa7a1c27a8d586ca770046e580b19f09221-20261109183643Z-f7c07bb6e0130779
BUG-e553cb399e29d270c88a654b0682faa7a1c27a8d586ca770046e580b19f09221-20261109183711Z-fe6fc3d935989e23
ViRb3 commentedon Nov 9, 2026
@croakerbcts fyi ^
sfllaw commentedon Nov 9, 2026
The root cause of this issue, even though there are different symptoms, is the same as #19504. All related updates will be consolidated on to #19504, so that we can track everything in one place. Thanks for your understanding.