claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Failed to load session

Open BrainInTheJar opened this issue 11 months ago • 12 comments

Bug Description Failed to load session

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.61
  • Feedback ID: 8d953eff-7c00-41bd-b938-3fa76565b1ef

Errors

[]

BrainInTheJar avatar Dec 08 '25 19:12 BrainInTheJar

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13352
  2. https://github.com/anthropics/claude-code/issues/13317
  3. https://github.com/anthropics/claude-code/issues/13282

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 08 '25 20:12 github-actions[bot]

yeah i've this error 87c73c54-41cd93e91d16f29c.js:1 Uncaught Error: Minified React error #418; visit https://react.dev/errors/418?args[]=HTML&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at rD (87c73c54-41cd93e91d16f29c.js:1:35816) at oq (87c73c54-41cd93e91d16f29c.js:1:85320) at ik (87c73c54-41cd93e91d16f29c.js:1:115436) at 87c73c54-41cd93e91d16f29c.js:1:115281 at ib (87c73c54-41cd93e91d16f29c.js:1:115289) at iu (87c73c54-41cd93e91d16f29c.js:1:111591) at iG (87c73c54-41cd93e91d16f29c.js:1:133809) at iW (87c73c54-41cd93e91d16f29c.js:1:132020) at iN (87c73c54-41cd93e91d16f29c.js:1:129705) at iz (87c73c54-41cd93e91d16f29c.js:1:127457) at ii (87c73c54-41cd93e91d16f29c.js:1:113562) at iu (87c73c54-41cd93e91d16f29c.js:1:112915) at iX (87c73c54-41cd93e91d16f29c.js:1:133688) at MessagePort.j (92351-6f0d12852181b10a.js:18:45228) poping when 'Failed to load session' page is showing

Br4x avatar Dec 11 '25 09:12 Br4x

I have the same problem.

C:\Users\admin.claude\debug\018dd700-1f36-46c4-a07c-afc39175cd29.txt

2025-12-31T02:02:52.648Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:02:52.648Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream
2025-12-31T02:02:52.648Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process
2025-12-31T02:02:58.739Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:02:58.739Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream
2025-12-31T02:02:58.739Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process
2025-12-31T02:03:06.825Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:03:06.837Z [DEBUG] [Query.streamInput] Processing message 1: user
2025-12-31T02:05:10.875Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:05:10.876Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream
2025-12-31T02:05:10.876Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process
2025-12-31T02:05:13.155Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:05:13.155Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream
2025-12-31T02:05:13.155Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process
2025-12-31T02:05:17.036Z [DEBUG] [Query.streamInput] Starting to process input stream
2025-12-31T02:05:17.036Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream
2025-12-31T02:05:17.036Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process

harusakura924 avatar Dec 31 '25 02:12 harusakura924

@claude

I got a simillar issue on WIN 11 and Mac. Tried it on different Windows and Mac Clients.

When i open a new claude code chat in a local folder, type somehting in (doesnt matter what) it instantly says "Failed to load session"

What is there to load if its a new chat? I reinstalled Claude on all different devices, several times and it still gives me the same error. I cant work like that, and its quite expensive for a max plan to have such an error.

Sign out and back in, restart nothing solves it. Every new chat gives me the same error, even if i choose a different folder. Doesnt matter if its empty or has files in it..

2026-01-09T08:49:38.489Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream 2026-01-09T08:49:38.489Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process 2026-01-09T08:49:40.742Z [DEBUG] [Query.streamInput] Starting to process input stream 2026-01-09T08:49:40.742Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream 2026-01-09T08:49:40.742Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process 2026-01-09T08:49:46.276Z [DEBUG] [Query.streamInput] Starting to process input stream 2026-01-09T08:49:46.276Z [DEBUG] [Query.streamInput] Finished processing 0 messages from input stream 2026-01-09T08:49:46.276Z [DEBUG] [Query] Calling transport.endInput() to close stdin to CLI process 2026-01-09T08:49:46.729Z [DEBUG] [Query.streamInput] Starting to process input stream 2026-01-09T08:49:46.730Z [DEBUG] [Query.streamInput] Processing message 1: user

Image

LAUNEX avatar Jan 09 '26 08:01 LAUNEX

same issue happened to me

knewstimek avatar Jan 09 '26 10:01 knewstimek

and the only thing im findig about this issue in whole goolge is this one Github post.. So we probably have to wait a long time till claude suppport decides to take a look...

LAUNEX avatar Jan 09 '26 10:01 LAUNEX

saaaaaame. i was surprised to see the dates were all tonight. i got frustrated enough to look it up. guess we all did lol

oddly enough, works fine on my mac right next to it. it's just in windows claude code side that it's doing this.

JonDotExe avatar Jan 09 '26 11:01 JonDotExe

Yeah the thing is, my already open chat works just fine. Just when i open a new one that error comes. With luck 1-2 days later it works again. But mostly, nevermind if on mac or win, a new chat just brings me that message

LAUNEX avatar Jan 09 '26 11:01 LAUNEX

I am having this issue, however this affects both new and old chats, on both normal chat and Claude code.

dereckmezquita avatar Jan 12 '26 05:01 dereckmezquita

I posted my solution here: https://github.com/anthropics/claude-code/issues/15978#issuecomment-3741828463

Paul-Moura avatar Jan 13 '26 04:01 Paul-Moura

Hey man, at least on Windows it seems ur soloution is working!! Thanks a lot. On mac i gotta check.

LAUNEX avatar Jan 13 '26 11:01 LAUNEX

I suspect a lot of different things can cause this error, but for me it was simply not having Git installed. Just in case that helps anyone.

andrewcurrall-lgtm avatar Jan 16 '26 10:01 andrewcurrall-lgtm

Bug Description Failed to load session

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.61
  • Feedback ID: 8d953eff-7c00-41bd-b938-3fa76565b1ef

Errors

[]

Same error from Windows on desktop. Claude Chat is doing fine including accessing web browser, etc. but code always gives that error in response to any prompt

Spaceman1996 avatar Jan 17 '26 16:01 Spaceman1996

Found a workaround: Code -> Click on new session and select the exact same settings as your non-working session (same enviroment, branch, repo). Then don't do anythng but click on the old session, which should now load.

vladola avatar Jan 27 '26 16:01 vladola

嘿,兄弟,至少在Windows系统上你的方案好像有效!非常感谢。Mac系统我得再试试。

请问mac电脑找到方法了吗?

zhouyang116486-star avatar Feb 22 '26 15:02 zhouyang116486-star

Experiencing this on the claude.ai/code web UI when trying to load a remote control session.

Steps to reproduce:

  1. Have an active Claude Code CLI session running via SSH on a remote Linux server with remote control enabled
  2. Visit the session URL directly in a browser: https://claude.ai/code/session_<redacted>
  3. Page shows "Failed to load session"

Environment:

  • Claude Code CLI 2.1.97 (native) running on Amazon Linux 2023 (aarch64)
  • Git 2.50.1, Node v22.22.1 installed
  • Working directory is a valid git repository
  • The CLI session itself is working fine — remote control is active and functional
  • The session link just doesn't load in the browser

This may be a separate variant from the Desktop app crashes reported above — this is specifically the web UI failing to load a valid remote control CLI session URL.

lzdelara avatar Apr 09 '26 07:04 lzdelara

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar May 23 '26 22:05 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jul 13 '26 15:07 github-actions[bot]