gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Auth error

Open Hangry-eggplant opened this issue 1 year ago • 3 comments

Describe the bug

I've got an API key setup to use gemini 2.5 pro - was using it with Aider previously. Gemini CLI loops me and time-out's me with very small error log.

Additional context

                                                       │

│ ... first 501 lines hidden ... │ │ --/.nvm/versions/node/v22.16.0/lib/node │ │ _modules/@google/gemini-cli/bundle/gemini.js:227368:24 │ │ ' │ │ }
is all I see.

Diagnostic Information

  • CLI Version: 0.1.1
  • Git Commit: 852210e1 (local modifications)
  • Operating System: linux v22.16.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 281.6 MB

Hangry-eggplant avatar Jun 25 '25 14:06 Hangry-eggplant

Also worth noting that I have that API key set globally in bashsrc // After trying to log in with regular google account - it works.

Hangry-eggplant avatar Jun 25 '25 14:06 Hangry-eggplant

Can you share an output when run with --debug, we need more information to understand the problem

ptone avatar Jun 26 '25 18:06 ptone

There have been a few fixes around auth since this issue was opened. Closing this for now due to no repro. Let us know if you see anything new.

gsquared94 avatar Sep 16 '25 16:09 gsquared94