claude-code - 💡(How to fix) Fix [BUG] New conversations fail with "No conversation found with session ID" on Mac desktop app — session focus thrashing in logs [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#57834Fetched 2026-05-11 03:24:08
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

Error appears immediately, no response from Claude Error: No conversation found with session ID: <UUID>. Every retry generates a new UUID and fails identically.

Error Messages/Logs

  1. Error appears immediately, no response from Claude

Fix Action

Fix / Workaround

Workarounds attempted (none successful)

Code Example

Log excerpt — session focus thrashing
The main log shows three local sessions cycling in 1-second intervals, each replacing the previously focused one:
18:19:09 LocalSessions.startShellPty: sessionId=local_cd740ac7-...
18:19:09 LocalSessions.stopShellPty:  sessionId=local_9bf55d47-...
18:19:09 Shell PTY for session local_9bf55d47-... exited (stale — already replaced)
18:19:10 LocalSessions.setFocusedSession: sessionId=null
18:19:10 LocalSessions.setFocusedSession: sessionId=local_4b099755-...
18:19:10 LocalSessions.startShellPty: sessionId=local_4b099755-...
18:19:10 LocalSessions.stopShellPty:  sessionId=local_cd740ac7-...
18:19:10 Shell PTY for session local_cd740ac7-... exited (stale — already replaced)
18:19:11 LocalSessions.setFocusedSession: sessionId=null
18:19:11 LocalSessions.setFocusedSession: sessionId=local_9bf55d47-...
18:19:12 LocalSessions.startShellPty: sessionId=local_9bf55d47-...
18:19:12 Shell PTY for session local_4b099755-... exited (stale — already replaced)
LocalSessions.getPrStateForBranch is called 5 times in rapid succession on every focus switch, which looks like a React render loop driving the focus cycling.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Environment

OS: macOS App: Claude desktop app (latest, previously reproduced on 2.1.128) Auth: OAuth (claude.ai account) MCP servers configured: 14 (mix of remote + local, including Dune, Figma, Gmail, Google Drive, Notion, Slack, Claude in Chrome, plus internal ccd_session/ccd_directory/ccd_session_mgmt) Working directory at failure: git repo with worktrees under .claude/worktrees/

Description On the Mac desktop app, every new conversation fails immediately with: Claude couldn't process that message Try sending your message again. No conversation found with session ID: <UUID> The UUID is different on each attempt, suggesting the client generates a fresh ID per retry but the session is never successfully registered server-side (or the registration fails silently). Existing conversations continue to work normally. The same account works without issues in the VSCode extension simultaneously, so backend, auth, and network are all fine — this is isolated to the Mac desktop app. Steps to reproduce

Open Mac desktop app Click "New Chat" Send any message Error appears immediately, no response from Claude

Expected behavior New conversation is created server-side and Claude responds. Actual behavior Error: No conversation found with session ID: <UUID>. Every retry generates a new UUID and fails identically.

What Should Happen?

Answering my question

Error Messages/Logs

Log excerpt — session focus thrashing
The main log shows three local sessions cycling in 1-second intervals, each replacing the previously focused one:
18:19:09 LocalSessions.startShellPty: sessionId=local_cd740ac7-...
18:19:09 LocalSessions.stopShellPty:  sessionId=local_9bf55d47-...
18:19:09 Shell PTY for session local_9bf55d47-... exited (stale — already replaced)
18:19:10 LocalSessions.setFocusedSession: sessionId=null
18:19:10 LocalSessions.setFocusedSession: sessionId=local_4b099755-...
18:19:10 LocalSessions.startShellPty: sessionId=local_4b099755-...
18:19:10 LocalSessions.stopShellPty:  sessionId=local_cd740ac7-...
18:19:10 Shell PTY for session local_cd740ac7-... exited (stale — already replaced)
18:19:11 LocalSessions.setFocusedSession: sessionId=null
18:19:11 LocalSessions.setFocusedSession: sessionId=local_9bf55d47-...
18:19:12 LocalSessions.startShellPty: sessionId=local_9bf55d47-...
18:19:12 Shell PTY for session local_4b099755-... exited (stale — already replaced)
LocalSessions.getPrStateForBranch is called 5 times in rapid succession on every focus switch, which looks like a React render loop driving the focus cycling.

Steps to Reproduce

Steps to reproduce

  1. Open Mac desktop app
  2. Click "New Chat"
  3. Send any message
  4. Error appears immediately, no response from Claude

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Version: 2.1.138

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

Workarounds attempted (none successful)

Updated to latest app version Removed and pruned git worktrees (git worktree remove, git worktree prune) Full app restart with pkill -9 -f Claude to terminate helper processes Cleared caches: Cache, Code Cache, GPUCache, Session Storage, claude-code-vm Sign out → full quit → sign back in Tested from a fresh directory outside any git project

Additional context

Plugin scan emits warnings (skipped, not blocking): finance:reconciliation and finance:variance-analysis collide with skills/ entries Coder workspace discovery failed: coder CLI not found on augmented PATH (non-blocking) Same account works perfectly in the VSCode extension at the same time, ruling out backend/auth/network as the cause

<img width="442" height="252" alt="Image" src="https://github.com/user-attachments/assets/d25f49a2-6365-4ab0-aea4-1010aab5c1d1" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] New conversations fail with "No conversation found with session ID" on Mac desktop app — session focus thrashing in logs [1 comments, 2 participants]