[Bug] Claude Code agent stuck in infinite loop or hanging state

Resolved 💬 3 comments Opened Apr 10, 2026 by sanzharal Closed Apr 13, 2026

Bug Description
why claude code is always getting stucked whats the issue?

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.98
  • Feedback ID: fac152d8-f2b5-4e0e-8721-cbf1c1efb40f

Errors

[{"error":"Error: Request was aborted.\n    at JS_ (/$bunfs/root/src/entrypoints/cli.js:1245:11933)\n    at next (native:1:11)\n    at Ux7 (/$bunfs/root/src/entrypoints/cli.js:7838:9194)\n    at next (native:1:11)\n    at Qx7 (/$bunfs/root/src/entrypoints/cli.js:7843:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T07:17:12.071Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T07:19:30.274Z"},{"error":"Error: Request was aborted.\n    at JS_ (/$bunfs/root/src/entrypoints/cli.js:1245:11933)\n    at next (native:1:11)\n    at Ux7 (/$bunfs/root/src/entrypoints/cli.js:7838:9194)\n    at next (native:1:11)\n    at Qx7 (/$bunfs/root/src/entrypoints/cli.js:7843:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T07:24:24.194Z"}]

View original on GitHub ↗

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