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
T3 Connect tunnel silently breaks when a VPN comes up after cloudflared starts (QUIC MTU not re-probed) #29004
Follow-up to my previous issue #15897, covering only the part that's still open, as requested there. It's the same leftover problem as #19565 ("helper stays ready despite public access failure"), which never got its own issue.
Environment: macOS arm64, T3 Code (Beta) 0.1.6 (includes #20382), cloudflared 2026.10.4, full-tunnel VPN on utun4 with MTU 1280.
What happens: cloudflared is started on Wi-Fi, then the VPN comes up and becomes the default route. The mobile app shows This device can't reach <host>'s tunnel.
Small requests through the relay hostname still reach the server. /.well-known/t3/environment and /api/t3-connect/mint-credential return 200 for the phone (user agent okhttp/5.4.0).
Recovery: killing only cloudflared makes T3 respawn it. The new connections settle at quic_client_mtu 1248, and an 82 KB asset loads through the relay in 0.13s.
Why the existing checks miss it:/ready stays green, and Cloudflare still sees a live connector, so a no_connector-based restart (#24936) wouldn't fire either. Only large responses fail.
Suggestion: restart the connector when the default route or interface changes, or probe the public hostname with a response larger than about 1300 bytes. Either would also cover #24936 and the leftover part of #19565 (#16258 is a related earlier case).
WireGuard and Tailscale both connected, default route on utun4, MTU 1280 on both tunnels
iOS app 2.3.0 showed This device can't reach <host>'s tunnel: /oauth/token timed out after 10000ms
host traces show that same POST /oauth/token arriving and answered 200 in 7 ms, so the response was lost on the way back
cloudflared metrics at that point: quic_client_mtu 1344 on all 4 connections, quic_client_lost_packets 51 / 171 / 61 / 109, /ready 200 with 4 connections
after killing cloudflared, the respawned connector logged failed to dial to edge with quic: timeout: handshake did not complete in time for about 6 minutes
workaround so far: set TUNNEL_TRANSPORT_PROTOCOL=http2 in the server's environment. the server passes it to cloudflared and treats it as the user's choice. for the macOS desktop app I added a LaunchAgent that runs launchctl setenv TUNNEL_TRANSPORT_PROTOCOL http2 at login, then relaunched the app. all 4 connections registered with protocol=http2, and the phone's next attempt reached /ws (101)
Written with Claude Code (Claude Opus 5.5) in a T3 Code triage session
Activity
LuisUrrutia commentedon Nov 18, 2026
another repro with two always-on VPNs. here QUIC also stops connecting after a restart, so killing cloudflared doesn't work around it
utun4, MTU 1280 on both tunnelsThis device can't reach <host>'s tunnel:/oauth/token timed out after 10000msPOST /oauth/tokenarriving and answered 200 in 7 ms, so the response was lost on the way backquic_client_mtu1344 on all 4 connections,quic_client_lost_packets51 / 171 / 61 / 109,/ready200 with 4 connectionsfailed to dial to edge with quic: timeout: handshake did not complete in timefor about 6 minutesworkaround so far: set
TUNNEL_TRANSPORT_PROTOCOL=http2in the server's environment. the server passes it to cloudflared and treats it as the user's choice. for the macOS desktop app I added a LaunchAgent that runslaunchctl setenv TUNNEL_TRANSPORT_PROTOCOL http2at login, then relaunched the app. all 4 connections registered withprotocol=http2, and the phone's next attempt reached/ws(101)Written with Claude Code (Claude Opus 5.5) in a T3 Code triage session