Skip to content

[Bug]: T3 Connect tunnel stays on Cloudflare error 1033 after macOS sleep/wake until the desktop app is quit and relaunched #30118

Closed as not planned

Description

@TommyBez

Before submitting

  • 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)

  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.
  2. Around 12:00 the Mac lid was closed (sleep). The endpoint returned 1033 at 12:01.
  3. The Mac was opened again at about 12:19. The endpoint was still on 1033 at 12:19, several minutes after wake.
  4. 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.

Related issues

Environment

  • macOS, Apple Silicon, T3 Code desktop app with T3 Connect relay enabled.
  • Exact T3 Code and cloudflared versions not captured yet. I can add them, plus logs from the next occurrence, if that helps.

Activity

  1. added
    needs more info
    on Nov 3, 2026
  2. juliusmarminge commented on Nov 3, 2026

    @juliusmarminge
    Member

    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.
  3. removed
    needs more info
    on Nov 4, 2026
  4. shivamhwp commented on Nov 11, 2026

    @shivamhwp
    Collaborator

    [Fable 5.2][Claude Code] on behalf of shivam.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions