Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: T3 Connect managed_endpoint_provisioning_failed on every reconcile after linking (0.1.0 stable, headless Linux) #21586

Closeddaan-nijhuis(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate. (#14070 has the same error code but is closed as fixed for 0.0.4x; this is 0.1.0 stable, Linux, headless.)
  • I included enough detail to reproduce or investigate the problem.

Area

T3 Connect (managed endpoint / relay)

Steps to reproduce

  1. T3 Code 0.1.0 (stable) as a background service on a headless Linux server (x64), bound to 127.0.0.1.
  2. t3 connect link --headless. The relay client (cloudflared 2026.10.0) installs, and the device authorization is approved.
  3. t3 service restart.

Expected behavior

The environment links and the managed endpoint is provisioned. Webhook scheduled tasks then return a webhookUrl.

Actual behavior

Every reconcile attempt after startup fails, about every 10-20 s for about 10 minutes, then it stops retrying:

RelayRequestError: T3 Connect: Relay environment link is unavailable: managed_endpoint_provisioning_failed. Retry when the relay is available.
  at environment.cloud.reconcileDesiredLinkWith
  at environment.cloud.reconcileDesiredLinkIfStillDesired

t3 connect status stays at Exposure: enabled · Authorization: stored credential · Environment link: pending server startup · Relay: not provisioned. A second service restart about 50 minutes later gives the same result. Enabling Connect from the app on the same environment earlier showed an error with ID 56cb72f20af223172e400c55b76e5940.

Trace IDs (2026-10-19, UTC):

  • first restart, 07:24-07:35: fe8040fc14197d78330b8a342597f00a, 1020720fe06f7d1ee8e42dce661fecc4, 219745e6724348320ad7e68ce6fca69e, 26f50b8eb50e3c7d593ab8558147c0b5, 647be107753b07d26ebe2cc40fd0061c, 1ba9d83900c5dffa1db23f918dee64a5
  • second restart, from 08:12: 08da08de3068699adfded9ccf8ab056d, 51c9002b6f34711bc8f43124615a31cc, a0cfa09b627ce4bc5b17093bb717a97e

Environment ID (for relay log lookup): a3b7a20b-99a7-4b1e-bc79-0fc79ac4f77f

Impact

No managed endpoint, so webhook scheduled tasks have no URL and we cannot receive signed GitHub callbacks. Everything else (local and Tailscale access) works.

Version or commit

t3 0.1.0 (stable channel), relay client cloudflared 2026.10.0

Environment

Ubuntu, Linux 6.8 x64, systemd user service, server on 127.0.0.1 behind Tailscale Serve, outbound internet unrestricted.

Workaround

None found. Retrying (service restart) does not help.

Related: #14070, #16810, #14580

  1. juliusmarmingecommented

    Note

    Grok responding on behalf of Julius.

    Closing as a duplicate of #16810. It is the same post-link T3 Connect failure, where reconcileDesiredLink cannot finish managed-endpoint provisioning, so the status stays at Environment link: pending and Relay: not provisioned.

    #14070, which you cited, was the earlier wave fixed by #15411 (colliding prepared statements). What is still open is the follow-on stall: the relay's 9s request deadline often returns 504 relay_request_deadline_exceeded, and when a request finishes just under that deadline the client sees your managed_endpoint_provisioning_failed. #16810 already has the same headless, restart and reconcile loop, including a Linux 0.1.0 report. #14580 covers only the missing provisioning-stage diagnostic, not this outage.

    Details from this report, kept here for reference:

    • Author: @daan-nijhuis
    • T3 Code 0.1.0 stable, headless Linux (Ubuntu 6.8 x64), systemd user service, bind 127.0.0.1, Tailscale Serve, cloudflared 2026.10.0
    • t3 connect link --headless succeeds; every post-restart reconcile fails with RelayRequestError: … managed_endpoint_provisioning_failed
    • Environment ID: a3b7a20b-99a7-4b1e-bc79-0fc79ac4f77f
    • Trace IDs (2026-10-19 UTC): fe8040fc14197d78330b8a342597f00a, 1020720fe06f7d1ee8e42dce661fecc4, 219745e6724348320ad7e68ce6fca69e, 26f50b8eb50e3c7d593ab8558147c0b5, 647be107753b07d26ebe2cc40fd0061c, 1ba9d83900c5dffa1db23f918dee64a5, 08da08de3068699adfded9ccf8ab056d, 51c9002b6f34711bc8f43124615a31cc, a0cfa09b627ce4bc5b17093bb717a97e
    • Earlier Connect enable error ID: 56cb72f20af223172e400c55b76e5940

    Please subscribe to #16810 and add any further traces there. That thread also describes a temporary workaround (a VPN to a closer edge) that unblocked several reporters.

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.