WebFetch still freezes session on hanging URLs (fix from #24684 not effective)
Resolved 💬 6 comments Opened Feb 19, 2026 by ilanoh Closed May 26, 2026
Context
This is a follow-up to #24684 which was closed after a contributor mentioned a fix would ship. The fix does not appear to be effective — the issue persists on the latest Claude Code version.
Current Behavior
WebFetch still freezes the entire session when a URL hangs or is unresponsive. There is no timeout, no recovery, and no way for the model to detect or abort the hang. The user must manually interrupt the session.
Steps to Reproduce
- Use
WebFetchon a URL that hangs (slow server, anti-bot protection holding the connection open) - The session freezes indefinitely — no output, no progress
- Parallel
WebFetchcalls in the same message are also blocked
Expected Behavior
WebFetch should timeout after a reasonable duration and return an error so the model can continue working. Ideally, a timeout parameter (like the Bash tool has) would give control over the deadline.
Environment
- Claude Code: latest (installed via Homebrew)
- OS: macOS 24.6.0
- Model: claude-opus-4-6
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗