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
User reports that they see a heath warning saying The MagicSock function ReceiveIPv4 is not running. You might experience connectivity issues. and that tailnet device connectivity works, but connecting to an exit node causes all connectivity to stop. They are seeing this on a Huawei Android tablet running Android 12 without Google Play Services installed.
The logs show the following error, which indicates that Tailscale is requesting to exclude certain traffic from the VPN connection, but Android is not allowing it for some reason: [unexpected] VpnService.protect(87) returned false.
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
I did the following and got it to work. (Im not sure if its just one of them or all of them did it). Done on Huawei tablet HarmonyOS version 3.1.0
Disable "Battery Optimization"
Go to Settings > Apps > Apps.
Find Tailscale.
Tap Power Usage Details > Launch settings.
Toggle Manage automatically to OFF.
Ensure Auto-launch, Secondary launch, and Run in background are all toggled ON.
Disable "Private DNS"
Go to Settings > More connections.
Select Private DNS.
Set it to Off (instead of Automatic).
Check the "Always-on VPN" Setting
Go to Settings > More connections > VPN.
Hold the name Tailscale -> Edit
Enable Always-on VPN.
Then I go to Apps -> Tailscale -> Force stop
Open the app again and turn on VPN, and I ping a random device (in my local network, still with Tailscale turn on in host machine) and I got direct connection.
I can reproduce a closely related failure on a Huawei ADY-AL00 Android device.
The Android client had been updated and reconnected on 2026-08-28. The exact Android and client versions are not exposed in remote peer status, but I can provide them later if needed.
Symptom and server-side evidence
The Android app reported: The MagicSock function ReceiveIPv4 is not running (magicsock-receive-func-error).
The device remained shown as online/active, but the Linux peer saw only DERP connectivity (sin, later hkg) and could not establish a direct path.
Before the receive failure became severe, pings through DERP varied from roughly 117 ms to 380 ms. During the captured failure, one DERP ping took 4.089 seconds and subsequent pings timed out.
Ordinary tailnet-only HTTPS traffic from the Android device repeatedly reset during the TLS handshake or failed to establish, while the Linux service and its Tailscale Serve endpoint remained healthy when tested locally and from the Linux peer.
Force-stopping the Android Tailscale app, reopening it, and reconnecting immediately restored a direct IPv6 path. Three pings completed in 22 ms, 34 ms, and 23 ms, and the path was still direct after a 30-second observation.
This has recurred after reconnecting/updating, so restarting the Android app appears to be only a temporary workaround.
Linux peer version: 1.102.2
Bug report captured while the warning and connectivity failure were active:
Activity
pikesthefish commentedon Jan 31, 2026
Hey, I've got the same issue, and still no fix in 4 months, just installed it, and no outbound connection is going through
BUG-93560628bbf35997de5432896016f5df4b2dd9a6da69be2f24a45bd61186561e-20260131145852Z-62f17d19577b8a44
henryrts commentedon Mar 25, 2026
I did the following and got it to work. (Im not sure if its just one of them or all of them did it). Done on Huawei tablet HarmonyOS version 3.1.0
Disable "Battery Optimization"
Go to Settings > Apps > Apps.
Find Tailscale.
Tap Power Usage Details > Launch settings.
Toggle Manage automatically to OFF.
Ensure Auto-launch, Secondary launch, and Run in background are all toggled ON.
Disable "Private DNS"
Go to Settings > More connections.
Select Private DNS.
Set it to Off (instead of Automatic).
Check the "Always-on VPN" Setting
Go to Settings > More connections > VPN.
Hold the name Tailscale -> Edit
Enable Always-on VPN.
Then I go to Apps -> Tailscale -> Force stop
Open the app again and turn on VPN, and I ping a random device (in my local network, still with Tailscale turn on in host machine) and I got direct connection.
Jiang0977 commentedon Aug 28, 2026
I can reproduce a closely related failure on a Huawei ADY-AL00 Android device.
The Android client had been updated and reconnected on 2026-08-28. The exact Android and client versions are not exposed in remote peer status, but I can provide them later if needed.
Symptom and server-side evidence
The MagicSock function ReceiveIPv4 is not running(magicsock-receive-func-error).sin, laterhkg) and could not establish a direct path.Linux peer version:
1.102.2Bug report captured while the warning and connectivity failure were active:
BUG-260e9fe5662faa819fcc63b3cda4c155d970c5d4e78a772ce20586cc30c21c83-20260828123228Z-9b513b2c2f57993dnickoneill commentedon Nov 17, 2026
Closing as a duplicate of #22097, which should be resolved in 1.106