Repository navigation
Description
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 (T3 Connect / managed endpoint). The relay side is infra/relay.
Steps to reproduce
- Linux host with T3 Code desktop 0.1.8 and T3 Connect enabled. Managed cloudflared 2026.10.4.
- Remove and re-add the T3 Connect link (or create a fresh environment ID) so the relay provisions a new tunnel.
cloudflaredregisters 4 connections for the new tunnel./readyreturns{"status":200,"readyConnections":4}. The local originhttp://127.0.0.1:3773returns 200.- Open the managed hostname
https://prod-108882d170c34648.t3coderelay.com/from the host and from another machine. - It returns 530 (sometimes 502). The connector's
cloudflared_tunnel_total_requestsdoes not increase; the requests never reach the connector.
Expected behavior
The managed hostname routes to the current tunnel and reaches the environment (200/auth), as it does for another environment on the same account.
Actual behavior
530/502. The connector is healthy but receives no requests. The relay's DNS record appears to still point at the old, deleted tunnel. A fresh environment ID and hostname also returned 530/502.
Impact
Blocks work completely: the Linux environment is unreachable via T3 Connect.
Version or commit
T3 Code 0.1.8; managed cloudflared 2026.10.4; Linux Omarchy 4.5.0 (Arch), kernel 7.2.15-1-omarchy, x86_64; desktop AppImage.
Environment
- Host: Linux desktop app, T3 Connect managed, relay
https://relay.t3.codes. - Environment ID:
013b78a7-ee74-413d-be9f-abd2240ace86 - Tunnel ID:
303aaa08-4f52-4fd2-b5b0-cedb5616d9cf - Managed hostname:
prod-108882d170c34648.t3coderelay.com - Old tunnel (deleted during relink):
cc6b9302-6460-414b-8122-1d8e422463a2 - Control: Mac environment on the same account/relay, hostname
prod-6db2963de4096eaf.t3coderelay.com, returns 200. cloudUserId: redacted; can provide privately.
Logs or stack traces
# t3 connect status --json (cloudUserId redacted)
{
"desired": false,
"authenticated": false,
"linked": true,
"revoked": false,
"cloudUserId": "<redacted>",
"relayUrl": "https://relay.t3.codes",
"publishAgentActivity": true,
"relayClient": {
"status": "available",
"executablePath": "/home/<user>/.t3/tools/cloudflared/2026.10.4/linux-x64/cloudflared",
"source": "managed",
"version": "2026.10.4"
},
"linkMode": "managed",
"reachability": null
}
# cloudflared /ready
{"status":200,"readyConnections":4,"connectorId":"ef014524-5501-45b8-a1b6-ed3e71879754"}
# cloudflared /config
prod-108882d170c34648.t3coderelay.com -> http://127.0.0.1:3773
# public response (from host and from a Mac)
HTTP/2 530
content-type: text/plain; charset=UTF-8
server: cloudflare
cf-ray: a585f35cb8b5c5ac-MIA
# cloudflared metrics after repeated public requests
cloudflared_tunnel_total_requests 2
cloudflared_tunnel_request_errors 0
# relay-client.ndjson (redacted)
2026-11-10T14:51:58Z ERR Register tunnel error from server side error="Unauthorized: Tunnel not found" connIndex=0 event=0 ip=198.41.192.47 (old tunnel cc6b9302)
2026-11-10T14:52:43Z INF Registered tunnel connection connIndex=0 connection=... event=0 ip=198.41.200.43 location=dme06 protocol=http2 (new tunnel 303aaa08)
2026-11-10T14:59:28Z ERR failed to serve incoming request error="Error shutting down control stream: context deadline exceeded"
2026-11-10T15:02:15Z ERR failed to serve incoming request error="Error shutting down control stream: context canceled"What was tried
- Remove + re-add the T3 Connect link; the relay deleted the old tunnel (
Unauthorized: Tunnel not found) and the app recovered to a new tunnel (303aaa08). The hostname still returns 530. - A brand-new environment ID (
0ec7e61a-...) and hostname (prod-d3f823108b838059...) also returned 530/502. - US region (
TUNNEL_REGION=us), HTTP/2, default/global edge, direct vs VPN: the connector is always healthy with 4 connections; the public hostname always 530/502. - The Mac environment on the same account/relay returns 200, so the relay/account is functional.
Related: #31468 is a different failure (requests reach the origin but responses do not get out after a route/MTU change). Here the requests never reach the connector and the edge returns 530/502.
Workaround
None within T3 Connect.
Request
Please inspect the relay's managed endpoint allocation/DNS record for this environment. It looks like the CNAME for prod-108882d170c34648.t3coderelay.com still points at the deleted tunnel cc6b9302... instead of the current 303aaa08.... A fresh environment ID/hostname had the same problem, so the issue may be in the DNS update/provisioning path. I can provide cloudUserId privately if needed.
Activity