Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.312 ·

Remote sessions recover from a sign-in error on a connection that had no token

If a remote session's live connection is refused because it carried no sign-in token, Claude Code now waits for one and reconnects

You'll notice Bug Fixes
JSON All of v2.1.312
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.312,
Bug FixesSection of the release
What

Remote sessions keep a live connection open so the server can stream updates to Claude Code. This kind of connection is called SSE (server-sent events). If the server refuses that connection with a 401 error ("not signed in") and the connection was made without any sign-in token, Claude Code now waits for the part of itself that holds the token to supply one, then connects again. It logs "401 on SSE connect that carried no credential" when this happens.

Before, Claude Code only tried its usual token refresh in this situation.

Why

This should make remote sessions more reliable when a connection starts before a sign-in token is ready.

See this entry in the whole of v2.1.312 →

Feedback