Skip to content
Source
Sign inSign up
pingdotgg/t3code

Desktop 0.1.1: stale managed host (Cloudflare 1033) in T3 Connect entry / Copy MCP URL while the active tunnel ingress is healthy #23709

Closedfanaru(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

No deterministic reproduction; this is a single observed incident. Details under Actual behavior.

Expected behavior

Copy MCP URL / the T3 Connect entry should use the active managed host, or clearly mark a stale one and offer a safe refresh that keeps the environment, authorized clients and threads.

Actual behavior

Observed 2026-10-22, about 06:15-06:31 UTC. No separate CLI service installed, no new environment created.

What I see

  • Settings > Connections (local section): "Tunnel connected · 4 connections · QUIC".
  • The T3 Connect environment entry below it (same display name) shows tunnel_down / HTTP 530 / endpoint_request_failed, also after one "Retry now". Trace ID before retry: 670a7d654ed30c74b2be7bb11e733301.
  • The MCP URL copied from T3 points to <OLD-HOST> and returns Cloudflare error 1033 (Ray IDs a4e66b70c97a612f-NRT, a4e65db64c88a45f).
  • The running connector's /config shows a different ingress hostname, <CURRENT-HOST> -> http://127.0.0.1:3773. <CURRENT-HOST> returns 200 for /.well-known/t3/environment (matches the local server's environment ID), /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource/mcp; an unauthenticated POST /mcp returns 401 with a resource_metadata challenge. ChatGPT's custom-app form auto-detects OAuth/DCR against <CURRENT-HOST> without restarting anything.

Questions

  1. Can the registry entry or the copied URL keep a previous managed host after the tunnel is recovered/reallocated? How can that be inspected and refreshed without unlink/relink or credential resets?
  2. Is there a safe identifier to tell same-name entries apart? I could not establish whether the failing row is the main environment or a separate historical one with the same name, so please treat "stale route" as a hypothesis.
  3. Does Copy MCP URL read the same endpoint source as the desktop-managed connector?

Not done No connector restart, unlink/relink, client revocation, auth change or new service. No credentials are included. Public DNS is flattened, so I make no claim about the Cloudflare-side mapping.

Related reports: #19565 (error 1033 with a stuck helper that reported four ready connections; here the connector's active ingress host differs from the host in the copied URL) and #17216 (Copy MCP URL discoverability).

Impact

Minor bug or occasional failure

Version or commit

T3 Code Desktop (stable) 0.1.1

Environment

macOS arm64, T3 Code Desktop (stable) 0.1.1, main server on port 3773, desktop-managed cloudflared 2026.10.0 (4 QUIC connections)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. fanaru(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Correction after further checking: the "stale" host in this report most likely belongs to a SECOND T3 environment on the same machine (an independent t3 serve instance, linked to T3 Connect, with the same display name as the main one), not to a stale record of the main environment. Evidence: the ChatGPT custom app that was created for that second instance points at exactly the host that returns Cloudflare 1033, and that instance's server was stopped at the time, so 1033/530 for its route is expected. The main environment's managed host answered correctly the whole time. So the premise "T3 keeps a stale managed host for the main environment" is NOT supported; please treat this as a UX question instead: with two environments that share one display name, the Connections screen and "Copy MCP URL" give no way to tell which environment a row (and a copied URL) belongs to (the row details show a trace ID but not the environment ID). Suggestion: show the environment ID (short form) next to the label in the Environments list and in the Copy MCP URL action. Sorry for the noise; feel free to retitle or close.

Sign in to join this conversation.