claude-code - 💡(How to fix) Fix [Bug] Extended Thinking timeout or performance regression on high/xhigh effort levels [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#52453Fetched 2026-04-24 06:06:50
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:24:29.767Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.872Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n at A (/$bunfs/root/src/entrypoints/cli.js:8302:8679)\n at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9505)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8302:8262)\n at F (/$bunfs/root/src/entrypoints/cli.js:8302:19266)\n at onChange (/$bunfs/root/src/entrypoints/cli.js:8302:20302)","timestamp":"2026-04-23T15:37:03.113Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async Cg6 (/$bunfs/root/src/entrypoints/cli.js:439:4214)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:23.123Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.183Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.184Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n …

Code Example

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n    at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:24:29.767Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n    at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.872Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n    at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n    at A (/$bunfs/root/src/entrypoints/cli.js:8302:8679)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9505)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n    at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8302:8262)\n    at F (/$bunfs/root/src/entrypoints/cli.js:8302:19266)\n    at onChange (/$bunfs/root/src/entrypoints/cli.js:8302:20302)","timestamp":"2026-04-23T15:37:03.113Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async Cg6 (/$bunfs/root/src/entrypoints/cli.js:439:4214)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:23.123Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.183Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.184Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n …
RAW_BUFFERClick to expand / collapse

Bug Description extremely slow thinking on both high/xhigh efforts, doesn't make sense for it to be thinking for 6-8minutes for a simple task that used to take 30second before with opus 4.5

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.118
  • Feedback ID: e5502c04-8ca7-4dc0-b65f-e574ec89852b

Errors

[{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n    at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:24:29.767Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n    at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.872Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9185)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8302:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8302:8146)\n    at H0 (/$bunfs/root/src/entrypoints/cli.js:478:63174)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n    at A (/$bunfs/root/src/entrypoints/cli.js:8302:8679)\n    at Pa5 (/$bunfs/root/src/entrypoints/cli.js:8302:9505)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:35:48.873Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n    at J08 (/$bunfs/root/src/entrypoints/cli.js:8302:9615)\n    at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8302:8262)\n    at F (/$bunfs/root/src/entrypoints/cli.js:8302:19266)\n    at onChange (/$bunfs/root/src/entrypoints/cli.js:8302:20302)","timestamp":"2026-04-23T15:37:03.113Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async Cg6 (/$bunfs/root/src/entrypoints/cli.js:439:4214)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:23.123Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.183Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.184Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:832:9909)\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4735:3850)\n    at JF (/$bunfs/root/src/entrypoints/cli.js:4734:38920)\n …

Note: Content was truncated.

extent analysis

TL;DR

The issue can be mitigated by checking network connectivity and increasing timeout values to handle slow connections.

Guidance

  • Verify network connectivity to ensure stable access to https://downloads.claude.ai/claude-code-releases/latest.
  • Increase the timeout value in the Fs1 function at /$bunfs/root/src/entrypoints/cli.js:2754:5534 to handle slow connections.
  • Check for any firewall or proxy settings that might be blocking the request to https://downloads.claude.ai/claude-code-releases/latest.
  • Review the AxiosError timeout value of 5000ms and consider increasing it if necessary.

Example

No code example is provided due to the lack of specific implementation details.

Notes

The provided error logs indicate issues with network connectivity and timeouts. Increasing timeout values and verifying network connectivity may help mitigate the issue. However, without more information about the specific implementation and environment, it's challenging to provide a more detailed solution.

Recommendation

Apply workaround: Increase timeout values and verify network connectivity to mitigate the issue, as the root cause appears to be related to network connectivity and slow responses from the server.

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] Extended Thinking timeout or performance regression on high/xhigh effort levels [1 comments, 2 participants]