T3 Connect relay fails to provision a managed endpoint on Linux Nightly #40210
Steps to reproduce#
- Open T3 Code Nightly
0.1.12-nightly.20261121.5024on Omarchy (Arch Linux, x86-64). - In Settings → Sharing & access, turn on T3 Connect for the Omarchy environment.
Actual behavior#
The app shows Could not update T3 Connect. The server trace for linkEnvironment.linkEnvironmentToCloud records that https://relay.t3.codes/v1/client/environment-links returned Relay cannot provision the managed endpoint (managed_endpoint_provisioning_failed).
- Trace ID
ec6cd242c7d9378c3a0e997a378b6ee5 - Time
2026-11-21 07:43:45 UTC - Client span duration
925.9 ms
I found eight matching failed spans in the current Omarchy server trace. The Omarchy relay-client log shows successful tunnel registrations earlier that day. The Windows desktop can still connect to Omarchy over SSH.
Expected behavior#
T3 Connect provisions the managed endpoint and enables cloud access to this environment.
Could you look up the trace and check why provisioning failed? The symptom also appeared in #16810, which is closed.
tanstack-source added labelsbug
Same error on Windows 11 Pro (x64), T3 Code Nightly
0.1.12-nightly.20261121.5064, on 22 November 2026. This case has one detail that may help: I had previously removed this device from another device, and then tried to turn T3 Connect back on for it.Turning on T3 Connect in Settings → Sharing & access fails with:
https://relay.t3.codes/v1/client/environment-linksfailed: Relay cannot provision the managed endpoint (managed_endpoint_provisioning_failed)- Trace ID:
c3250792e4e2639beafdb3beb4584171 - Trace ID from an earlier attempt:
47e8659597510fa5f45cca628fb319ad(shown as "Could not update T3 Connect")
What the local logs show:
- After the device was removed, the old managed endpoint apparently stayed live. The bundled
cloudflared(2026.10.4) kept its tunnel to the existing managed endpoint. It registered four HTTP/2 connections at 00:06 UTC after QUIC timeouts. Requests through that endpoint, including/api/t3-connect/healthand/api/t3-connect/mint-credential, still returned 200 afterwards. - Neither trace ID nor any
environment-linksspan appears in the local server or desktop traces, so the failure is visible only in the UI.
What I tried, without success:
- Cleared this device's Connect state locally, restarted the app and turned T3 Connect on again.
- Removed the stale entry for this device from the other device's list and retried.
My guess is that the relay still holds the endpoint bound to the revoked link and refuses to provision a new one for the same environment. Could you check whether removing a device from another device leaves its managed endpoint orphaned, and clear it for these traces?
- Trace ID:
I reproduced this on Windows 11 Pro with T3 Code Beta
0.1.11.0. Linking the environment failed five times, both before and after a reboot.After the reboot, the relay client registered its tunnel at 05:01:41 UTC. At 05:02:32 UTC,
linkEnvironment.linkEnvironmentToCloudfailed againsthttps://relay.t3.codes/v1/client/environment-linkswithmanaged_endpoint_provisioning_failed.Could you check the provisioning logs for trace
ad9dfbb4c8e2a6af41afd5fd221b627dat 2026-11-23 05:02:32 UTC?same
same on stable, trace id: 5c8facdcc8ce4a146e875cf2bfcc2858
was connected to both macs via iphone's t3 app, now this mac (F*ck Putin) is gone, the other one (Chris W MBP) is still connected.
Fixed by #45637, now on main: Turning T3 Connect back on after removing a device now disconnects its leftover live connector, deletes the old tunnel, and provisions a replacement instead of failing with managed_endpoint_provisioning_failed.
juliusmarminge closed this
Sign in to join this conversation.
I can reproduce the same error on Windows 11 with T3 Code Desktop v0.1.11 (stable). Enabling T3 Connect in Settings → Sharing & access fails on both my usual network and a mobile hotspot connected to the Windows PC.
The local
POST /api/connect/link-proofreturned HTTP 200. The subsequent request tohttps://relay.t3.codes/v1/client/environment-linksreturnedmanaged_endpoint_provisioning_failed.50c39cf3c298ae62f6ea8d2001252e64Could you check this trace for the failing relay-side step? Thanks.