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
iOS 1.104.5: MagicSock ReceiveIPv4 stops (magicsock-receive-func-error), all tailnet traffic stalls until VPN toggle #22217
On iOS, Tailscale stops passing traffic while still showing Connected, and the Warnings screen shows:
MagicSock Function Not Running
The MagicSock function ReceiveIPv4 is not running. You might experience connectivity issues.
Code: magicsock-receive-func-error
Magicsock Function Name: ReceiveIPv4
This looks like #21832 (ReceiveDERP, closed as fixed in 1.104.5) and like the open #22193. Here it is ReceiveIPv4, and it still happens on 1.104.5.
Trigger: it happens reliably within about a minute of sending a message in one app, Orca Mobile (0.0.63). That app talks to Orca (1.4.250) on a Mac mini over the tailnet, and the Mac streams the reply back. Plain SSH (Termius) on its own runs fine for long periods. Once the stall starts, every app over Tailscale stops at once, including SSH.
Recovery: toggling Tailscale off and on fixes it immediately. Sometimes it recovers without a toggle after I leave the app or lock the phone for a few minutes.
It happens on Wi-Fi and on cellular alike. It happened before and after updating to 1.104.5 on 2026-11-06.
Bug report IDs
Both were taken on the iPhone during a stall, before toggling:
BUG-55d8947219fdbd057c824d5ab4a7e0fbdecb65bcf29d177dbd5a43280ebbdeef-20261106154337Z-01c92a5b97e8fdf4 (the ReceiveIPv4 warning was showing)
Peer side (macOS 1.102.4, App Store), one stall on 2026-11-06 (UTC)
Time
Event
15:37:14
The phone is direct over LAN IPv4
15:37:24–15:37:42
magicsock: new contact: peer=[phone] cached=false via=derp every ~3 s, and no direct path returns
15:37:55
derp-11 does not know about peer [phone], removing route
15:37:56
New disco key for the phone (my toggle), then direct again at once
In other stalls, the Mac's transmit counter to the phone kept rising while it received nothing back, for 58 s and 83 s. TCP send queues toward the phone grew to about 64 KB and stayed there. Before a stall, the phone's direct path flips about every minute between LAN IPv4 and rotating global IPv6 addresses.
Steps to reproduce
Run an iPhone on Tailscale 1.104.5 and a Mac mini peer on the same tailnet.
Use Orca Mobile in the foreground and send a message; the Mac streams a reply.
Within about a minute, all traffic over Tailscale from the phone stops, and Warnings shows ReceiveIPv4 not running.
Are there any recent changes that introduced the issue?
No. It started this week and persists across the 1.104.5 update.
OS
iOS
Tailscale version
1.104.5 (iOS); 1.102.4 (macOS peer)
Reacted by palchrb, Sheil Naik, Simon Schoultz, Josh Brake, Alessandro Cattapan, Preet Patel, jfrcom, Bruno, Anh Do, Matthew Schleder and 14 more
Same issue here, with server-side evidence from the exit node.
Bug report ID: BUG-4fa9e1a5fb96a2642494360c8f2e58d53cabfad3a5cc12317f0c8fba57c1b7a0-20261116124231Z-c8bff0c773b81f58 (captured while broken, before toggling)
Tailscale iOS: 1.104.6 · iOS: 27.2 · iPhone 17 Pro Max
Setup: iPhone always on via VPN On Demand (Wi-Fi + cellular), "Allow Local Network Access"
on, using a Debian 12 LXC exit node (UDP port-forwarded) on the same home LAN. Happens on
home Wi-Fi. Outages on Nov 7, 8, 10, 15 and 16.
The exit node logs tailscale status and tailscale ping for the phone every minute:
Nov 15, 10:36 ET: path went from direct to DERP; pings timed out; exit node tx kept rising, rx froze. Phone shown offline from 10:37. LAN traffic on the phone also failed. Fixed by toggling.
Nov 16, 06:09 ET: path went from direct to DERP overnight. The exit node intermittently showed the phone as direct again (06:47, 07:16, 07:34), but connectivity on the phone never returned. The app showed the ReceiveIPv4 warning at about 07:25. While broken, tailscale ping from the exit node got replies via DERP, but almost no data passed (tx 100 / rx 148 bytes for the session).
Hit this on macOS 27.2.1, Tailscale 1.104.5 (App Store, 1.104.5-t788384763-gd9218e278), Headscale control server, iPhone Personal Hotspot uplink. Same version as #22217. Captured the exiting error:
15:24:54.397 Rebind; defIf="en0", ips=[fe80::ce3:…/64]
15:24:54.400 Receive func ReceiveIPv4 exiting with error: *net.OpError, read udp4 0.0.0.0:41641: recvfrom: can't assign requested address
...
17:20:09.661 Rebind; defIf="en0", ips=[172.20.10.2/28 fe80::…]
17:20:21.134 health(warnable=magicsock-receive-func-error): error: The MagicSock function ReceiveIPv4 is not running.
Trigger: the hotspot briefly drops the interface's IPv4 → recvfrom returns EADDRNOTAVAIL → the receive goroutine exits. Later Rebinds after IPv4 returns don't restart it; only a VPN toggle does. Afterwards all peer traffic falls back to DERP. This confirms the receive-side rebind/retry approach in #22084.
I see what looks like the same pattern with Orca Mobile, plus an A/B comparison that points to an offline paired host as the trigger. One difference: the warning I saw was MagicSock Function Not Running, not ReceiveIPv4.
Environment
iPhone, iOS 27.2.1
Tailscale iOS 1.104.7 (current stable), no exit node, "Use Tailscale DNS" on
Orca Mobile 0.0.65, paired with two hosts running Orca Desktop over the tailnet: a macOS host that is always on, and a secondary Windows desktop that is sometimes powered off
Seen on home Wi-Fi and on cellular 5G
Failing case: secondary host offline
Tailscale on, Windows desktop powered off, macOS host online.
Use Orca Mobile with the macOS host.
Connectivity over Tailscale keeps failing. Tailscale shows MagicSock Function Not Running.
On cellular, some public websites stop loading while Tailscale is on. They load immediately with Tailscale off.
Toggling Tailscale off and on recovers it, but the failure usually comes back 30–60 s later.
Control: secondary host online
With the Windows desktop powered on and nothing else changed, there were no failures in about 3 hours of use so far, on both Wi-Fi and 5G. This is an observed workaround.
Expected
An unreachable peer shouldn't break connectivity to healthy peers or DNS and internet access through the tunnel.
Possibly related #21773 describes a mechanism that fits: on iOS, packets staged for a peer that never completes a handshake can use up wireguard-go's 64-buffer pool and stall all peers and 100.100.100.100. With Tailscale DNS on, that would explain "dns-forward-failing" and public sites failing without an exit node. A receive goroutine blocked on that pool could also be reported as ReceiveIPv4 not running, which might connect it to this issue.
I haven't confirmed that Orca is retrying the offline host (it probably is because that's automatic), and I don't have captures, so this is just a correlation.
same pattern here with Orca Mobile, adding numbers from the peer side in case they help.
setup: iPhone on cellular (direct path over IPv6), talking to Orca desktop on a mac running tailscaled 1.104.7 in userspace-networking mode. it connects, works for a minute or two, then stalls. toggling tailscale on the phone brings it back briefly. same drops against a second mac on a different network. with tailscale off on the phone, Orca Mobile reconnects through its own relay fine.
mac-side log for the phone, one 24 min window (2026-11-23 06:10-06:34 UTC):
28 handshake initiations received from the phone, all answered
182 handshake initiations sent to the phone, 5 responses back
176x Handshake did not complete after 5 seconds, retrying
26x Retrying handshake because we stopped hearing back after 15 seconds
154x magicsock: new contact ... via=derp, direct path re-picked 13 times
39x CreateEndpoint error ... operation timed out on the phone's inbound TCP connections, so the SYN gets here and the handshake never completes
a healthy peer on the same mac in the same window: 10 handshakes, no retries or timeouts. so the mac keeps hearing the phone but almost nothing it sends gets acknowledged, which looks like the phone can send but not receive.
fwiw from a read of Orca's source (stablyai/orca), the mobile app re-probes the direct tailnet address every 15 s while it's on its relay, so new connections keep going into the tunnel during a stall.
caveats: i didn't catch the warnings screen during a stall, so can't say if it was ReceiveIPv4. no BUG id or iOS client version yet, and i haven't checked whether an offline host was paired on my side (re the A/B above).
I am experiencing a very similar intermittent connectivity issue.
Environment
Device: iPhone 14 Pro Max
OS: iOS 27
Tailscale version: 1.104.7
Exit node: ImmortalWrt 25.12.2 (x86_64 VM)
Home network: PPPoE with public IPv4 and native IPv6
DNS override: Disabled
Symptoms
After switching from Wi-Fi to 5G, Tailscale sometimes remains connected, but all internet connectivity stops when using the exit node. The iOS client reports a DNS connectivity error.
The issue is intermittent and cannot be reproduced on every network transition.
Toggling "Use Tailscale DNS" off and on, or disconnecting and reconnecting Tailscale, restores connectivity.
Diagnostics during the failure
Direct HTTPS access by IP fails.
DISCO ping from the exit node to the iPhone times out.
TSMP ping from the exit node to the iPhone times out.
The iPhone appears active through DERP (sfo).
TSMP ping from the same exit node to a Windows peer succeeds in 10 ms.
The exit node repeatedly logs:
magicsock: derp-2 does not know about peer [W/+uR], removing route
Activity
chriskayTO commentedon Nov 16, 2026
Same issue here, with server-side evidence from the exit node.
Bug report ID: BUG-4fa9e1a5fb96a2642494360c8f2e58d53cabfad3a5cc12317f0c8fba57c1b7a0-20261116124231Z-c8bff0c773b81f58 (captured while broken, before toggling)
Tailscale iOS: 1.104.6 · iOS: 27.2 · iPhone 17 Pro Max
Setup: iPhone always on via VPN On Demand (Wi-Fi + cellular), "Allow Local Network Access"
on, using a Debian 12 LXC exit node (UDP port-forwarded) on the same home LAN. Happens on
home Wi-Fi. Outages on Nov 7, 8, 10, 15 and 16.
The exit node logs
tailscale statusandtailscale pingfor the phone every minute:tailscale pingfrom the exit node got replies via DERP, but almost no data passed (tx 100 / rx 148 bytes for the session).Happy to provide more logs.
maxexcloo commentedon Nov 18, 2026
Same issue for me: BUG-9cef75d524a95667c3e9153f74cbc66a7e74b4112c6c24301e5ae4e6c6ef4c7b-20261118223015Z-b4c82add41fc5dfa
marcominiluca commentedon Nov 20, 2026
Same issue for me on iOS.
I've opened a request on your site: TSS-112961
IvoMajic commentedon Nov 22, 2026
Hit this on macOS 27.2.1, Tailscale 1.104.5 (App Store,
1.104.5-t788384763-gd9218e278), Headscale control server, iPhone Personal Hotspot uplink. Same version as #22217. Captured the exiting error:Trigger: the hotspot briefly drops the interface's IPv4 →
recvfromreturnsEADDRNOTAVAIL→ the receive goroutine exits. Later Rebinds after IPv4 returns don't restart it; only a VPN toggle does. Afterwards all peer traffic falls back to DERP. This confirms the receive-side rebind/retry approach in #22084.JoeCrampton commentedon Nov 22, 2026
BUG-e07850b7e1753c06c047af16fe859148e6f066a558dc539348d504dd0e3177ac-20261122205833Z-57d56247e539dd6c
Toggling airdrop off seems to prevent it turning it on and it comes back more often.
raphaelsetin commentedon Nov 23, 2026
I see what looks like the same pattern with Orca Mobile, plus an A/B comparison that points to an offline paired host as the trigger. One difference: the warning I saw was

MagicSock Function Not Running, not ReceiveIPv4.Environment
Failing case: secondary host offline
MagicSock Function Not Running.Control: secondary host online
With the Windows desktop powered on and nothing else changed, there were no failures in about 3 hours of use so far, on both Wi-Fi and 5G. This is an observed workaround.
Expected
An unreachable peer shouldn't break connectivity to healthy peers or DNS and internet access through the tunnel.
Possibly related
#21773 describes a mechanism that fits: on iOS, packets staged for a peer that never completes a handshake can use up wireguard-go's 64-buffer pool and stall all peers and 100.100.100.100. With Tailscale DNS on, that would explain "dns-forward-failing" and public sites failing without an exit node. A receive goroutine blocked on that pool could also be reported as ReceiveIPv4 not running, which might connect it to this issue.
I haven't confirmed that Orca is retrying the offline host (it probably is because that's automatic), and I don't have captures, so this is just a correlation.
ay18 commentedon Nov 23, 2026
same pattern here with Orca Mobile, adding numbers from the peer side in case they help.
setup: iPhone on cellular (direct path over IPv6), talking to Orca desktop on a mac running tailscaled 1.104.7 in userspace-networking mode. it connects, works for a minute or two, then stalls. toggling tailscale on the phone brings it back briefly. same drops against a second mac on a different network. with tailscale off on the phone, Orca Mobile reconnects through its own relay fine.
mac-side log for the phone, one 24 min window (2026-11-23 06:10-06:34 UTC):
Handshake did not complete after 5 seconds, retryingRetrying handshake because we stopped hearing back after 15 secondsmagicsock: new contact ... via=derp, direct path re-picked 13 timesCreateEndpoint error ... operation timed outon the phone's inbound TCP connections, so the SYN gets here and the handshake never completesa healthy peer on the same mac in the same window: 10 handshakes, no retries or timeouts. so the mac keeps hearing the phone but almost nothing it sends gets acknowledged, which looks like the phone can send but not receive.
fwiw from a read of Orca's source (stablyai/orca), the mobile app re-probes the direct tailnet address every 15 s while it's on its relay, so new connections keep going into the tunnel during a stall.
caveats: i didn't catch the warnings screen during a stall, so can't say if it was ReceiveIPv4. no BUG id or iOS client version yet, and i haven't checked whether an offline host was paired on my side (re the A/B above).
kenshinLost commentedon Nov 25, 2026
I am experiencing a very similar intermittent connectivity issue.
Environment
Symptoms
After switching from Wi-Fi to 5G, Tailscale sometimes remains connected, but all internet connectivity stops when using the exit node. The iOS client reports a DNS connectivity error.
The issue is intermittent and cannot be reproduced on every network transition.
Toggling "Use Tailscale DNS" off and on, or disconnecting and reconnecting Tailscale, restores connectivity.
Diagnostics during the failure
The exit node repeatedly logs:
iPhone bug reports
During failure:
After recovery:
Could you check whether this is related to the known iOS MagicSock receive or network transition issues?