GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Windows desktop T3 Connect remains session-pending until the client is reloaded · Issue #29337 · pingdotgg/t3code

Windows desktop T3 Connect remains session-pending until the client is reloaded #29337

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Windows desktop T3 Connect remains session-pending until the client is reloaded#29337
Copy link

Description

@ElliotDrel
ElliotDrel
opened on Nov 2, 2026
Issue body actions

Note

?? gpt-6.1-sol responding on behalf of Elliot

What happened

A saved remote environment would not connect from the Windows desktop app. Both client and host reported version 0.1.6. Connection Details repeatedly reported session-pending and Waiting for the T3 Connect sign-in to load (six attempts in the copied report).

Diagnosis

The installed bundle and release source show that getDpopToken raises this error when the connecting client's CloudSession identity is absent, before remote authorization. This identifies the failed stage, but does not establish why the identity was unavailable.

The local desktop trace recorded successful desktop.clerk.configure. A separate unauthenticated shell request to https://clerk.t3.codes/v1/environment returned HTTP 200 during investigation; this does not prove the renderer had working connectivity or a loaded SDK. Saved traces did not establish a Clerk download failure, token expiry, or listener failure.

Observed reproduction

  1. Open the previously configured Windows desktop client and select the saved T3 Connect environment.
  2. In this episode it stayed disconnected with session-pending across repeated retries.
  3. Reload the connecting app.
  4. Retry the environment. The user confirmed it was working.

The initial trigger is unknown. No deterministic startup/network-disruption reproduction was run.

Expected

An existing sign-in should initialize or expose an actionable initialization failure/retry path. Recovery should not silently depend on reloading the renderer.

Evidence and recovery

After the reload, the local trace recorded successful clientRuntime.managedRelaySession.readClerkToken, RelayEnvironmentDiscovery.refreshStatus, and RelayEnvironmentDiscovery.updateEnvironment around 2026-11-02 06:36:51?06:36:53 UTC. The user then confirmed the remote connection worked. No host restart, firewall change, relinking, credential clearing, or sign-out/sign-in was performed as recovery. The npm CLI was installed on both machines during triage; no effect of that installation on the failure was established.

Environment

Windows client and Windows remote desktop, T3 Code 0.1.6 on both, route T3 Connect. The desktop host answered its local HTTP endpoint during the failure.

Related

  • [Bug]: Account controls and T3 Connect stay unavailable after Clerk UI load failure until Reload #15725 ? macOS Clerk UI load failure and reload recovery; this Windows case has no captured Clerk UI load error, so a common root cause is unproven.
  • [Bug]: Android T3 Account stays Checking and all T3 Connect environments fail until app relaunch #24306 ? Android account initialization stall with relaunch recovery.
  • [Bug]: T3 Connect reports "Your cloud sign-in changed" when the host is just overloaded #11004 ? earlier misleading missing-session error; closed, different version and observed recovery.

Source: https://github.com/pingdotgg/t3code/blob/v0.1.6/apps/web/src/cloud/managedAuth.tsx and https://github.com/pingdotgg/t3code/blob/v0.1.6/packages/client-runtime/src/authorization/service.ts

Filed by gpt-6.1-sol through the Codex harness in T3 Code. User authorized filing these reports after confirming recovery.

Activity

  1. ElliotDrel commented on Nov 4, 2026

    @ElliotDrel
    ElliotDrel
    on Nov 4, 2026 – with ChatGPT Codex Connector
    ContributorAuthor
    More actions

    Note

    🤖 gpt-6.1-sol responding on behalf of Elliot

    The unavailable CloudSession identity identifies the failed stage, but the initiating cause remains unproven. Related: Clerk UI load failure #15725 and Clerk error-state retry #23620. This report has no captured Clerk load error, so these are investigation connections, not evidence of the same failure. At the next occurrence, before reloading, could you capture just the renderer's Clerk.status value (without session or token data)?

  2. ElliotDrel commented on Nov 4, 2026

    @ElliotDrel
    ElliotDrel
    on Nov 4, 2026
    ContributorAuthor
    More actions

    Note

    🤖 gpt-6.1-sol responding on behalf of Elliot

    I attempted the unchanged isolated client flow at main 9e85538535 plus the existing ACP fix integration e80019e767. Settings → Environments shows no saved remote environments; no Clerk object/account session is present. Source inspection explains this fixture limitation: production Clerk identifiers are deliberately disabled for a localhost web client. A direct locally paired connection does not exercise managed T3 Connect authentication.

    Therefore this is not a reproduction of persistent session-pending, and it does not establish a Clerk download/listener/activation cause. No production fix is proposed.

    The minimum missing incident evidence is: the action immediately before the stall; client/host versions, client surface and connection mode; safe Clerk status plus user/session presence only; the exact error code and failing request host/path/status; and relative ordering of account observation, session activation/token attempt, and reload recovery. Sanitized Connection Details diagnostics plus a small renderer console/network excerpt would help. Exclude credentials, headers/query strings, pairing links, account/session IDs, chat content and filesystem paths.

  3. shivamhwp commented on Nov 4, 2026

    @shivamhwp
    shivamhwp
    on Nov 4, 2026
    Collaborator
    More actions

    [gpt-6.1-sol][Codex] on behalf of shivam.

    I tested a controlled Clerk startup failure on Windows 11 ARM64, using Electron 44.10.0 and the pinned Clerk SDKs. After restoring the dependency, three provider remounts still left Clerk.status at error. The exact reload helper from #23620 at 09d640247307742525ce4fbd7e700d7f99f09670 recovered to ready.

    This was a synthetic signed-out SDK fixture, not the T3 desktop app or a saved-environment reconnection. It confirms one possible mechanism, but does not establish the cause of your incident or justify a separate fix.

    If it recurs, could you capture Clerk.status, whether a user and session are present as booleans only, the Connection Details error code, and any failing request's host/path/status before reloading? Please include the action immediately before the stall and client/host versions, with credentials and account/session IDs removed. That will distinguish an SDK load failure from an account-listener or activation failure.

    Windows SDK fixture recording, including the injected failure, three remounts, and reload recovery:

    windows-sdk-fixture.mp4
  4. pzep1 commented on Nov 10, 2026

    @pzep1
    pzep1
    on Nov 10, 2026
    More actions

    Same symptom on macOS desktop, on today's nightly, 0.1.9-nightly.20261110.4478 (the client and the remote Linux host are on the same build). This time the trigger is clear: slow in-flight Wi-Fi.

    What happened
    On a flight, every T3 Connect environment showed " is reconnecting · This device is still loading its T3 Connect sign-in" (session-pending). Everything else in the app worked: local sessions, and the agent-side link to the same host (t3_environment_links showed it reachable, and reading its environment info worked). Only the desktop UI's relay connection was stuck.

    Diagnosis

    • In the installed bundle, getDpopToken raises session-pending while CloudSession.identity is empty. The renderer fills that identity only after Clerk loads, through the managed-relay:session atom set from the Clerk bridge in clerkAppearance-*.js.
    • The renderer fetches clerk-js from https://clerk.t3.codes/npm/@clerk/clerk-js@5/dist/clerk.browser.js (307 redirect, then the 5.128.0 file) at startup, and @clerk/ui the same way. Clerk's loader uses scriptLoadTimeout ?? 15e3. When it fails, it emits status error and never retries.
    • Measured on the flight network: about 2–3 s per request to clerk.t3.codes, and 5.4 s for clerk.browser.js alone (330 KB at about 61 KB/s). At startup, with clerk-js, @clerk/ui, their chunks and the app's own assets all loading at once, the 15 s limit is easy to miss. After that, the window stays session-pending for its whole lifetime, even after the network is reachable again.
    • desktop.clerk.configure and clientRuntime.authorization.bootstrapRemoteBearerSession both succeed in the desktop trace (most recent launch 2026-11-10 20:14), so the main-process side is fine. The failure is entirely in the renderer's Clerk load.

    Steps to reproduce (likely)

    1. Throttle the network heavily, so clerk.t3.codes takes more than 15 s in total at startup (or block it at startup, then allow it).
    2. Launch the desktop app with a saved T3 Connect environment.
    3. The environment stays at "still loading its T3 Connect sign-in" indefinitely, even once clerk.t3.codes responds again.
    4. View → Reload recovers.

    Related
    PR #23620 fixes this exact failure (one failed Clerk script load is permanent until reload) by adding Retry buttons to the sign-in surfaces. The relay connection banner ("still loading its T3 Connect sign-in") should probably detect useClerk().status === "error" too, and offer the same retry or retry automatically, instead of reporting "reconnecting" forever. Bundling clerk-js with the desktop app, or raising scriptLoadTimeout, would avoid the problem on slow networks.

    Investigated with t3 triage by Claude Opus 5.5 (claude-opus-5-5) via Claude Code in T3 Code.

  5. juliusmarminge commented on Nov 12, 2026

    @juliusmarminge
    juliusmarminge
    on Nov 12, 2026
    Member
    More actions

    This is the same problem as #15725, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.

  6. juliusmarminge
    closed this as duplicateon Nov 12, 2026
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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.