-
Notifications
You must be signed in to change notification settings - Fork 114
Web UI terminal (stream-json) freezes on long-running tasks #68
Copy link
Copy link
Open
Description
Bug Description
The web UI terminal chat freezes indefinitely when running tasks that take more than a few minutes. The daemon stops logging after Running: chat (stream-json, session: ...) and never logs Done: chat. The Claude subprocess becomes unresponsive and must be killed manually.
Behavior
- Telegram: works reliably, no freezes even on long tasks ✅
- Web UI terminal: freezes on tasks > ~5 minutes ❌
Steps to Reproduce
- Open the web UI dashboard (port 4632)
- Send a message that triggers a long-running task (e.g. network scan, file indexing, anything that takes 5+ minutes)
- The daemon log shows
Running: chat (stream-json, session: ...)but neverDone: chat - The Claude subprocess (visible via
ps aux) continues consuming CPU but never completes - Daemon must be restarted manually to recover
Logs
[8:52:58 AM] Running: chat (stream-json, session: 86085fd1)
# ... nothing after this for 30+ minutes
After killing the stuck Claude PID, the daemon recovers normally.
Environment
- ClaudeClaw version: 1.0.0
- Bun: 1.3.11
- OS: Ubuntu 24.04 Linux x86_64
- Model: sonnet (agentic routing)
- Security level: unrestricted
Additional Notes
Two bugs were also found in the source code during initial setup (fixed locally):
config.ts:252—discordUserIdsvariable referenced but never definedrunner.ts:339—settingsvariable used on line 363 but only destructured (not assigned)
Both were patched locally to get the daemon running.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels