Repository navigation
Description
Before submitting
- Searched existing issues; related reports are linked below.
- Included observed behavior, environment details, diagnostics and remaining evidence gaps.
Area
apps/desktop (T3 Connect connection status / diagnostics)
Steps to reproduce
Observed on an existing linked Windows desktop -> headless Ubuntu environment, rather than a clean-install reproduction:
- Run the Ubuntu environment as the official per-user T3 background service with T3 Connect enabled and its managed relay tunnel registered.
- Open that linked environment in T3 Code Nightly on Windows.
- The environment fails to connect. Settings initially displayed
Connection failed: Relay rejected the DPoP ...(the remainder was truncated in the captured UI). - The thread subsequently displays
t3-code-ryzen is offlinewith aReconnectaction. - Updating both ends to the same exact nightly, repairing the service through
t3 service install, and rebooting the Ubuntu VM did not resolve the desktop symptom.
A potentially relevant prerequisite is that the Windows clock is approximately 6.3 seconds ahead of external time; see diagnostics below.
Expected behavior
Distinguish an environment that is unreachable/offline from a client that cannot authenticate. If a DPoP time-window check fails, the affected client should surface an actionable clock/authentication reason at the offline banner or its reconnect action, so restarting a healthy remote server is not the apparent remedy.
This report is not a request to bypass DPoP verification or relax authentication checks.
Actual behavior
The desktop reports the environment as offline while independent checks show the VM and T3 service are available, the server identity endpoint responds, and the managed relay tunnel has registered connections. The user still cannot connect after the update and VM reboot.
The offline banner itself contains no reason beyond t3-code-ryzen is offline. The earlier Settings error mentioned DPoP rejection, but we do not have its full text, structured response or trace ID. We cannot yet distinguish a misleading generic connection-state label from an additional connection failure.
Impact
Major degradation: remote development through T3 Connect is blocked even though the host is running. The status directs troubleshooting toward the remote host rather than explaining a possible client authentication problem.
Version or commit
Both desktop and server: 0.0.46-nightly.20261015.3145.
Environment
- Client: Windows 11 Pro, version 10.0.26200, x64; T3 Code Nightly desktop.
- Server: Ubuntu 24.04.4 LTS, x86_64 VM; official per-user systemd T3 service; loopback listener on port 3773.
- Managed relay client: cloudflared 2026.10.0 after the update.
Logs or stack traces
Sanitized checks after the VM reboot:
systemctl --user is-active t3code.service
active
GET http://127.0.0.1:3773/.well-known/t3/environment
HTTP 200; serverVersion=0.0.46-nightly.20261015.3145
[08:33:05.051] INFO: Relay client tunnel connection registered
[08:33:05.399] INFO: Relay client tunnel connection registered
[08:33:05.810] INFO: T3 Connect managed tunnel recovery registered
[08:33:06.668] INFO: Relay client tunnel connection registered
[08:33:07.309] INFO: Relay client tunnel connection registered
A fresh check at 2026-10-15 08:39:25 UTC again found the service active, the identity endpoint returning the expected version, and cloudflared running. These prove host/service/tunnel startup, not successful client -> relay authentication.
Windows diagnostics:
Windows Time service (w32time): Stopped; startup type Manual
w32tm /stripchart /computer:time.windows.com /dataonly /samples:2
10:38:49, -06.2759590s
10:38:51, -06.2758361s
The negative NTP offset means Windows is ahead. An independent comparison against the relay HTTP Date header was consistent with this, subject to HTTP Date rounding and network timing.
Independent review of the installed bundle found that verifyDpopProof rejects a proof issued more than five seconds in the future. Current upstream has the same check in packages/shared/src/dpop.ts. This makes client clock skew a strong hypothesis. We have NOT captured dpopFailureReason=time_window, verified the deployed relay revision, or tested again with a corrected client clock; the rejection may be correct security behavior rather than a protocol defect.
Screenshots, recordings, or supporting files
Two UI observations: Settings shows Relay rejected the DPoP ...; the thread banner shows t3-code-ryzen is offline and Reconnect. No tokens, pairing links, private addresses, environment IDs or unredacted logs are attached.
Workaround
No verified workaround yet. Updating, service repair and rebooting the remote VM did not resolve it. Client time synchronization remains untested: starting w32time was denied in the non-elevated Windows session. Authentication storage and DPoP keys were preserved.
Related issues
- [Bug]: T3 Connect link is never retried after startup reconcile fails (clock skew at boot leaves relay link dead until restart) #12061 concerns a server startup link failure before time sync. Here the remote tunnel registers successfully after boot; the suspected skew is on the Windows client.
- [Bug]: T3 Connect rejects every remote device ("environment credential is invalid") when the host's OS locale is Latvian, Lithuanian, Basque or Azerbaijani #19610 concerns locale-dependent credential thumbprints and
invalid_credential, a different observed error.
Please triage the offline/connection-status presentation and confirm whether this evidence points to the client's future-issued DPoP proofs. The exact relay subreason remains unknown.
Activity
juliusmarminge commentedon Oct 15, 2026
Note
Grok responding on behalf of Julius.
Thanks for the careful diagnostics. Your read looks right: the Windows client is about 6.3 seconds ahead, and DPoP verification only accepts proofs up to 5 seconds in the future, so every relay request is rejected even though the host is healthy.
#19640 widens that window to 300 seconds in either direction for both the relay and the environment server, so I've linked it to close this issue when it lands. Until then, syncing the Windows clock should get you connected: turn on Set time automatically in Settings > Time & language, or run
w32tm /resyncfrom an elevated prompt after starting the Windows Time service.Showing the auth reason instead of a generic "offline" banner is a fair separate improvement; if it's still confusing after #19640, feel free to open an Ideas discussion for it.
t3dotgg commentedon Oct 21, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. One part of this is fixed on main in #19640. Please test on the nightly built from main on 2026-10-21, or on the next stable release. One part is still open: The offline banner still does not explain an authentication or clock failure. If that part still matters to you, please open a new issue for that part only.