gemini-cli - 💡(How to fix) Fix Aborted Task and Closed Agent [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
google-gemini/gemini-cli#25424Fetched 2026-04-15 06:44:41
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1referenced ×1

Error Message

reading image and advising on best course rec'd below error:

Fix Action

Fix / Workaround

⠦ Thinking... (esc to cancel, 2m 37s) ? for shortcuts ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Shift+Tab to accept edits 1 GEMINI.md file ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

AbortError: The user aborted a request.
at abort3 (file:///home/john_henry/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:5472:25)▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ at EventTarget.abortAndFinalize2 (file:///home/USER_NAME/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:5485:11)hed no sandbox Auto (Gemini 3) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:831:20) at EventTarget.dispatchEvent (node:internal/event_target:766:26) at abortSignal (node:internal/abort_controller:370:10) at node:internal/abort_controller:373:20 at Set.forEach (<anonymous>) at abortSignal (node:internal/abort_controller:371:30) at AbortController.abort (node:internal/abort_controller:392:5) at GeminiClient._recoverFromLoop (file:///home/USER_NAME/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:314583:24)

RAW_BUFFERClick to expand / collapse

What happened?

reading image and advising on best course rec'd below error:

✦ hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

⠦ Thinking... (esc to cancel, 2m 37s) ? for shortcuts ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Shift+Tab to accept edits 1 GEMINI.md file ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

AbortError: The user aborted a request.
at abort3 (file:///home/john_henry/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:5472:25)▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ at EventTarget.abortAndFinalize2 (file:///home/USER_NAME/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:5485:11)hed no sandbox Auto (Gemini 3) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:831:20) at EventTarget.dispatchEvent (node:internal/event_target:766:26) at abortSignal (node:internal/abort_controller:370:10) at node:internal/abort_controller:373:20 at Set.forEach (<anonymous>) at abortSignal (node:internal/abort_controller:371:30) at AbortController.abort (node:internal/abort_controller:392:5) at GeminiClient._recoverFromLoop (file:///home/USER_NAME/.npm-global/lib/node_modules/@google/gemini-cli/bundle/chunk-FNPZEX27.js:314583:24)

What did you expect to happen?

Read image and advise on code updates/edits

Client information

  • CLI Version: 0.38.0
  • Git Commit: 3f0873a83
  • Session ID: dcd34101-e32d-4fa9-b403-082be14e5677
  • Operating System: linux v20.20.2
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 650.9 MB
  • Terminal Name: Unknown
  • Terminal Background: #000000
  • Kitty Keyboard Protocol: Unsupported

Login information

Google AUTH

Anything else we need to know?

this keeps happening

extent analysis

TL;DR

The issue is likely due to the user aborting a request, and a workaround could be to avoid aborting the request or increase the timeout.

Guidance

  • The error message AbortError: The user aborted a request suggests that the user is aborting the request, possibly by pressing esc as indicated by the (esc to cancel) prompt.
  • To mitigate this, ensure that the user is not aborting the request prematurely, or consider increasing the timeout to allow the operation to complete.
  • Verify that the issue persists even when the user does not abort the request.
  • Check the documentation for the @google/gemini-cli package to see if there are any configuration options or environment variables that can be used to adjust the timeout or abort behavior.

Notes

The issue may be specific to the @google/gemini-cli package version 0.38.0 or the auto-gemini-3 model version, and upgrading or changing these versions may resolve the issue.

Recommendation

Apply workaround: Increase the timeout or avoid aborting the request, as the root cause appears to be related to the user aborting the request.

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

gemini-cli - 💡(How to fix) Fix Aborted Task and Closed Agent [1 comments, 2 participants]