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
[Bug]: T3 Connect tunnel stays on Cloudflare error 1033 after macOS sleep/wake until the desktop app is quit and relaunched #30118
I searched existing issues. Related reports and the differences are linked below.
Area
Desktop app / T3 Connect relay tunnel (macOS)
Summary
After the Mac sleeps (lid closed) and wakes again, the T3 Connect public endpoint keeps returning Cloudflare error code: 1033 (tunnel not connected) and never recovers on its own. Remote clients cannot reach the environment until the T3 Code desktop app is fully quit (Cmd+Q) and reopened. After the relaunch the endpoint works again within a minute or two.
Observed (2026-11-03, times Europe/Rome, UTC+1)
Earlier in the morning the Mac was offline. When it came back online (about 11:03), the endpoint still returned 1033 at 11:04 and 11:07. Relaunching the app at about 11:08 fixed it.
Around 12:00 the Mac lid was closed (sleep). The endpoint returned 1033 at 12:01.
The Mac was opened again at about 12:19. The endpoint was still on 1033 at 12:19, several minutes after wake.
Quitting the app with Cmd+Q and reopening it (12:21) restored the endpoint by 12:22.
The same sequence happened twice in one morning, so for us it looks reproducible: sleep or network loss, then wake, then 1033 that lasts until the app restarts.
Side effect: agent runs that were in progress were interrupted by the sleep, and queued work could not resume remotely until the manual relaunch.
Expected
After wake (or when the network comes back), the desktop app should detect that the tunnel is down and restart or reconnect it automatically, without a manual quit and relaunch.
Tried this on main (cefb544af3) on Linux, with the cloudflared release T3 Code pins (2026.10.4) and a real Cloudflare tunnel:
Froze cloudflared for 4 minutes, as a sleep does. The public endpoint returned 530 meanwhile. After resuming, cloudflared logged timeout: no recent network activity, re-registered within 6 s, and the endpoint answered 200 again.
Froze it with the network down, resumed it while still offline, and restored the network 40 s later. cloudflared retried every 32 s or sooner and re-registered 12 s after the network came back.
So a connector that loses its connections over a sleep normally recovers by itself, and neither run reproduced a 1033 that lasts. What differs on your Mac should be in the tunnel log. A lasting 1033 usually means one of two things: cloudflared still reports ready connections while Cloudflare has none, or it never reconnects after wake.
Next time it happens, before you quit the app, could you add:
The T3 Code version (and whether it's Stable or Nightly).
The text from Copy diagnostics in the environment's Details on the remote client, or the output of t3 connect status on the Mac, taken while the endpoint returns 1033.
relay-client.ndjson from ~/.t3/userdata/logs on the Mac, covering from before the sleep through the relaunch. The tunnel token is already removed from it.
Roughly how long after wake you checked the endpoint.
Closing this as not planned for now. It did not reproduce on main at cefb544af3 on 2026-11-03 with cloudflared 2026.10.4 and a real tunnel. After a 4 minute freeze, and after a network drop, the connector registered again within seconds.
If it still happens on a current build, please reply here with the details asked for above and we'll reopen it.
Activity
juliusmarminge commentedon Nov 3, 2026
Tried this on main (
cefb544af3) on Linux, with the cloudflared release T3 Code pins (2026.10.4) and a real Cloudflare tunnel:timeout: no recent network activity, re-registered within 6 s, and the endpoint answered 200 again.So a connector that loses its connections over a sleep normally recovers by itself, and neither run reproduced a 1033 that lasts. What differs on your Mac should be in the tunnel log. A lasting 1033 usually means one of two things: cloudflared still reports ready connections while Cloudflare has none, or it never reconnects after wake.
Next time it happens, before you quit the app, could you add:
t3 connect statuson the Mac, taken while the endpoint returns 1033.relay-client.ndjsonfrom~/.t3/userdata/logson the Mac, covering from before the sleep through the relaunch. The tunnel token is already removed from it.shivamhwp commentedon Nov 11, 2026
Closing this as not planned for now. It did not reproduce on main at
cefb544af3on 2026-11-03 with cloudflared 2026.10.4 and a real tunnel. After a 4 minute freeze, and after a network drop, the connector registered again within seconds.If it still happens on a current build, please reply here with the details asked for above and we'll reopen it.