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

v1internal:countTokens failed, reason: read ECONNRESET

Open Developer-fahim opened this issue 1 year ago • 5 comments

What happened?

sometimes when i command anything then showing repetedly ✕ [API Error: request to https://cloudcode-pa.googleapis.com/v1internal:countTokens failed, reason: read ECONNRESET]

and not working when i restart this task then work fine and after some time thats appear

What did you expect to happen?

Please fix it or have any solution i use to run with logged in by google account not gemini api

Client information

$ gemini /about
# paste output here

Login information

google account

Anything else we need to know?

No response

Developer-fahim avatar Jul 11 '25 18:07 Developer-fahim

I also encountered this problem

Julian-cloud-max avatar Jul 18 '25 08:07 Julian-cloud-max

Hello,

same error encountered on my side

gdorsi44 avatar Jul 28 '25 06:07 gdorsi44

Found possible duplicate issues:

  • #5036: (0.9182005749524158)

gsquared94 avatar Jul 30 '25 03:07 gsquared94

Found possible duplicate issues:

Issue 5036 has a different error message. Keeping both issues open.

ghost avatar Aug 22 '25 17:08 ghost

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 03 '25 21:12 gemini-cli[bot]