You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.expiresAt is declared as:
expiresAt: Schema.DateTimeUtc
But the SSH desktop path fetches normal JSON via response.json, so the DateTime.Utc object has already serialized to an ISO string. Effect Schema behavior appears to confirm the mismatch:
Activity
MaikelvanN commentedon May 24, 2026
Same problem here, can't use app.
LLBlumire commentedon May 27, 2026
I hit the same
desktop:bootstrap-ssh-bearer-sessionfailure and did some digging from both the remote and local sides.Setup:
0.0.25-nightly.20260515.295t3 v0.0.25-nightly.20260515.295v24.16.0via Voltat3 serve --host 127.0.0.1 --port 3773 --base-dir ~/.t3The remote server is reachable through the desktop-managed SSH tunnel. Server trace shows:
GET /.well-known/t3/environmentreturns200POST /api/auth/bootstrap/bearerreturns200The 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:
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 itRelevant 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.tsPearcekieser commentedon May 28, 2026
Seems like this is a dupe of: #2665?