[BUG] CLI tool frequently becomes unresponsive / hangs

Resolved 💬 3 comments Opened Mar 30, 2026 by haoziqi778 Closed Apr 2, 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?

claude code version: v2.1.81
When using the CLI tool to execute tasks, it gets stuck during native tool invocations. Currently, I've noticed that it sometimes hangs on the bash tool and sometimes on the Read tool. I am very confident that this is not caused by network issues, because I have encountered this exact problem on different devices using the same account! This issue happens very often!

What Should Happen?

It should return an output properly. Even if the bash command fails, it should still output an error message or log, rather than hanging without a response for a long time!

Error Messages/Logs

After hanging for a long time, it throws an 'API ERROR'.

Steps to Reproduce

Please read all the source code in the project directory and help me generate project documentation.

think....

Read(/opt/software/project_name)
.....
API ERROR

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.77

Claude Code Version

v2.1.77

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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