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
{{ message }}
Repository navigation
desktop: session header shows 'Signed out of this server' with no 'Sign in again' action or recovery path #2260
In the desktop session header, Signed out of this server (session.error.signedOut) is rendered with noSign in again link and no way to re-authenticate or recover when the active server is not found in servers.json (for example, the local sidecar ServerKey::sidecar() or a non-servers.json server).
Root cause in source
apps/desktop/src/session/meta/state.rs:212-213 maps Link::SignedOut to server_unavailable::signed_out_status(p, key).
label renders t!("session.error.signedOut") ("Signed out of this server").
link depends on saved_url(server), which only searches crate::servers::list() for ServerConn::http_server(&x.url).
When saved_url(server) returns None, the header shows bare Signed out of this server next to the token/cost indicator (123k · $0.00) with no clickable action, no tooltip/explanation, and no way to re-authenticate or reconnect from the header.
Similarly, server_unavailable::signed_out (apps/desktop/src/shell/view/server_unavailable.rs:100-115) omits the Sign in again button whenever saved_url(server) is None.
Expected behavior
If the active server is the local sidecar or another non-servers.json server, either:
Do not enter Link::SignedOut without a valid auth recovery path, or
Provide an actionable recovery button/link in signed_out_status / signed_out (e.g., reconnect / restart sidecar / open server settings) instead of a dead-end Signed out of this server label.
Fixed in PR #2282 (merged to dev in 4ceb37ba2a750a700d3efeaf2d06a59d782503b6).
What changed:
Managed local sidecars now trigger sidecar::reconnect() on HTTP 401 (ProbeResult::Unauthorized) health probes as well as Unreachable, and a 401/403 SSE stream drop immediately nudges health so rotated local credentials recover automatically instead of getting stuck in Signed out of this server.
signed_out_status (session header), signed_out (signed-out panel), and Home's sidecar auth action now always render an actionable recovery control for every server kind: Sign in again (Edit server for saved servers.json entries, page sign-in for web, plugin re-authentication for plugin servers) or Reconnect (local sidecar reconnect/restart, or health nudge + Settings > Servers for --server/OPENCODE_SERVER_URL/unlisted servers).
Verification:
Verified locally on Windows via cargo check -j 1 -p opencode-desktop, cargo clippy -j 1 -p opencode-desktop --no-deps -- -D warnings (0 diagnostics in touched files), and pwsh scripts/guardrails.ps1 (11/11 passed).
Verified cross-platform builds green in GitHub Actions CI (build-windows x64/arm64, build-macos, build-linux x64/arm64, guardrails).
Not verified interactively in a live GUI window on hardware; please reopen if you still hit a dead-end signed-out state.
Activity
Hona commentedon Dec 3, 2026
Fixed in PR #2282 (merged to
devin4ceb37ba2a750a700d3efeaf2d06a59d782503b6).What changed:
sidecar::reconnect()on HTTP401(ProbeResult::Unauthorized) health probes as well asUnreachable, and a401/403SSE stream drop immediately nudges health so rotated local credentials recover automatically instead of getting stuck inSigned out of this server.signed_out_status(session header),signed_out(signed-out panel), and Home's sidecar auth action now always render an actionable recovery control for every server kind: Sign in again (Edit server for savedservers.jsonentries, page sign-in for web, plugin re-authentication for plugin servers) or Reconnect (local sidecar reconnect/restart, or health nudge + Settings > Servers for--server/OPENCODE_SERVER_URL/unlisted servers).Verification:
cargo check -j 1 -p opencode-desktop,cargo clippy -j 1 -p opencode-desktop --no-deps -- -D warnings(0 diagnostics in touched files), andpwsh scripts/guardrails.ps1(11/11 passed).build-windowsx64/arm64,build-macos,build-linuxx64/arm64,guardrails).fix(desktop): recover signed-out sidecar and non-servers.json servers (…