gemini-cli - 💡(How to fix) Fix Debug Console error [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#25403Fetched 2026-04-15 06:44:55
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

│ error: undefined, │ │ Symbol(gaxios-gaxios-error): '6.7.1' │ │ This is an unexpected error. Please file a bug report using the /bug tool. │ │ Reason: Error: OAuth callback timeout │ │ Error: OAuth callback timeout │

RAW_BUFFERClick to expand / collapse

What happened?

I was using the Gemini 3 pro preview and this occured flickering on my screen.

│ Debug Console (F12 to close) │ │ │ │ 'x-cloudaicompanion-trace-id': 'a37ebed290f6bafa', │ │ 'x-content-type-options': 'nosniff', │ │ 'x-frame-options': 'SAMEORIGIN', │ │ 'x-xss-protection': '0' │ │ }, │ │ status: 429, │ │ statusText: 'Too Many Requests', │ │ request: { │ │ responseURL: 'https://cloudcode-pa.googleapis.com/v1internal:streamGenerateContent?alt=sse' │ │ } │ │ }, │ │ error: undefined, │ │ status: 429, │ │ Symbol(gaxios-gaxios-error): '6.7.1' │ │ } │ │ ✖ ========================================= │ │ This is an unexpected error. Please file a bug report using the /bug tool. │ │ CRITICAL: Unhandled Promise Rejection! │ │ ========================================= │ │ Reason: Error: OAuth callback timeout │ │ Stack trace: │ │ Error: OAuth callback timeout │ │ at Timeout._onTimeout │ │ (file:///opt/homebrew/Cellar/gemini-cli/0.37.1/libexec/lib/node_modules/@google/gemini-cli/bundle/chunk-2P3YD5SP.js:338414:14) │ │ at listOnTimeout (node:internal/timers:605:17) ▄│ │ at process.processTimers (node:internal/timers:541:7)

What did you expect to happen?

The answer was given but this debug console occured.

Client information

  • CLI Version: 0.37.1
  • Git Commit: 3b2d4f100
  • Session ID: 256559d1-1179-489a-8d65-dac32db98f3d
  • Operating System: darwin v25.9.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-3-pro-preview
  • Auth Type: oauth-personal
  • Memory Usage: 422.2 MB
  • Terminal Name: tmux 3.6a
  • Terminal Background: #1b1c24
  • Kitty Keyboard Protocol: Unsupported

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue is likely due to an OAuth callback timeout, resulting in a "Too Many Requests" error, and can be mitigated by adjusting the timeout settings or checking the authentication flow.

Guidance

  • The error message "OAuth callback timeout" suggests that the authentication process is taking too long, causing the request to timeout.
  • The "Too Many Requests" error (status code 429) may indicate that the client is sending too many requests in a short period, potentially due to the repeated authentication attempts.
  • To mitigate this issue, consider increasing the timeout value for the OAuth callback or optimizing the authentication flow to reduce the number of requests.
  • Verify the authentication settings and ensure that the client is properly configured to handle authentication requests.

Example

No code snippet is provided as the issue does not contain sufficient information about the code.

Notes

The provided information is limited to the error message and client details, making it challenging to provide a definitive solution. Further investigation into the authentication flow and timeout settings is necessary to resolve the issue.

Recommendation

Apply workaround: Adjust the OAuth callback timeout settings to a higher value to allow for longer authentication times, as the root cause of the issue is likely related to the timeout.

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 Debug Console error [1 comments, 2 participants]