Skip to content

gemini-cli becomes unresponsive after “Login with Google” (authorization code flow) #1

@coolcow

Description

@coolcow

This is a known issue, but I want to document it properly and gather feedback from others to narrow it down.

When using "Login with Google", gemini-cli becomes completely unresponsive after entering the authorization code:

  • No keyboard input is accepted anymore
  • Ctrl+C does not terminate the process
  • The only way to stop it is from the outside via
  docker stop <container_name>

If the Gemini home directory is persisted via a Docker volume, restarting a new container works fine afterward; authentication was successful and gemini-cli can be used normally.

Observed in the following setup:

  • Windows PowerShell
  • SSH into a Linux host
  • Starting a gemini container with the cli option

I'm currently not sure:

  • what exactly causes the freeze
  • whether this happens in all environments
  • whether this is image-specific or a general gemini-cli issue

Request for feedback

If you:

  • experience the same issue (with this image or independently)
  • do not experience the issue despite using this image
  • have insights into terminal / TTY / stdin handling during OAuth flows

please comment here. Any data point helps to narrow this down.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions