[BUG] Large HTML file input hangs Dispatch and blocks new session creation after restart

Resolved 💬 3 comments Opened May 9, 2026 by sanoski Closed Jun 8, 2026

Preflight Checklist

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

What's Wrong?

I've been building a Python script to strip unnecessary content from HTML pages (scripts, images, nav elements, etc.) so I can hand cleaner content off to Claude for context. The goal is or was a lightweight way to share webpage content when Claude can't access a URL directly.

To give Dispatch context on what I was working on, I handed it a raw downloaded HTML file from Udemy (~3.7MB). I tried to process for a couple minutes. Dispatch eventually just showed "read" and stayed there without appearing to process further.

I switched over to Claude Code desktop while waiting. When I came back to Dispatch later, the whole conversation was gone. I tried to type a new message but couldn't submit anything. I restarted the app, and after that it started saying it can't create the session.

What Should Happen?

I expected Claude to look over the html and compare it to the script's output, which was a bit too stripped and didn't include enough information. That's why I also included the raw html file.

Error Messages/Logs

When clicking on Dispatch it essentially just sticks at loading. It blinks a bunch of times, then displays "session couldn't be created."

Steps to Reproduce

Download a large, JavaScript-heavy webpage as a full HTML file (Udemy course page, ~3.7MB)
Hand it to Dispatch as context for an ongoing project
Dispatch processes a bit, then shows "read" and hangs indefinitely
Switch away and return, conversation is gone
Typing in a new message doesn't work, submit is blocked
Restart the app: It then says something like "Can't create session" error on every attempt afterward

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.6608.2 (ebf1a1) 2026-05-08T23:17:27.000Z

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

UPDATE: I tried to get a screenshot of the error, and it looks like Claude recovered on its own.

<img width="1895" height="981" alt="Image" src="https://github.com/user-attachments/assets/aacc59d3-98bf-4e88-b9a9-4f6b0a0d0435" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗