Repository navigation
[Bug]: SSH BUG WINDOWS #2786
Description
Activity
- addedbugSomething is broken or behaving incorrectly.Something is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.Issue needs maintainer review and initial categorization.
on May 23, 2026 Same problem here, can't use app.
I hit the same
desktop:bootstrap-ssh-bearer-sessionfailure and did some digging from both the remote and local sides.Setup:
- Local desktop version:
0.0.25-nightly.20260515.295 - Remote CLI version:
t3 v0.0.25-nightly.20260515.295 - Remote Node:
v24.16.0via Volta - Remote OS: AlmaLinux
- Remote server command launched by SSH bootstrap:
t3 serve --host 127.0.0.1 --port 3773 --base-dir ~/.t3
The remote server is reachable through the desktop-managed SSH tunnel. Server trace shows:
GET /.well-known/t3/environmentreturns200POST /api/auth/bootstrap/bearerreturns200- Auth session insert succeeds
The response body from
/api/auth/bootstrap/beareris valid JSON:{ "authenticated": true, "role": "client", "sessionMethod": "bearer-session-token", "expiresAt": "2026-06-26T13:15:36.023Z", "sessionToken": "..." }The local desktop then fails with:
DesktopSshRemoteApiError: SSH remote API request failed during bootstrap-bearer-session caused by: SchemaError: Expected DateTime.Utc, got "2026-06-26T13:15:36.023Z" at ["expiresAt"]This looks like a schema mismatch rather than an SSH/connectivity issue.
In
packages/contracts/src/auth.ts,AuthBearerBootstrapResult.expiresAtis declared as:expiresAt: Schema.DateTimeUtcBut the SSH desktop path fetches normal JSON via
response.json, so theDateTime.Utcobject has already serialized to an ISO string. Effect Schema behavior appears to confirm the mismatch:Schema.DateTimeUtcrejects"2026-06-26T13:15:36.023Z"Schema.DateTimeUtcFromStringaccepts it
Relevant source paths in
v0.0.25-nightly.20260515.295:packages/contracts/src/auth.tsapps/server/src/auth/http.tsapps/desktop/src/ssh/DesktopSshRemoteApi.tspackages/ssh/src/tunnel.ts
- Local desktop version:
Seems like this is a dupe of: #2665?
Before submitting
Area
Not sure
Steps to reproduce
Error invoking remote method 'desktop:bootstrap-ssh-bearer-session': DesktopSshRemoteApiError: SSH remote API request failed during bootstrap-bearer-session. (local http://127.0.0.1:62165/, remote port 3773, remote server external)
locally ssh remote on my other desktop pc
Expected behavior
Actual behavior
Impact
Blocks work completely
Version or commit
No response
Environment
No response
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
No response