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

Authentication Error

Open adiagarwalrock opened this issue 1 year ago • 23 comments

What happened?

Unable to authenticate using Google Account. Stuck in an authentication loop where it asks for an "Authorization code" by visiting the link for OAuth. Upon providing the link, Gemini attempts to re-authenticate; however, this time, there is no field to input the "Authorization Code".

adiagarwal@Mimir:~/api$ gemini
Please visit the following URL to authorize the application:

https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fcodeassist.google.com%2Fauthcode&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-******************************....


Enter the authorization code: 4/0AV**********************************************************

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░


Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Be specific for the best results.
3. Create GEMINI.md files to customize your interactions with Gemini.
4. /help for more information.

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                │
│ Get started                                                                                                                                                    │
│                                                                                                                                                                │
│ How would you like to authenticate for this project?                                                                                                           │
│                                                                                                                                                                │
│ ● 1. Login with Google                                                                                                                                         │
│   2. Use Gemini API Key                                                                                                                                        │
│   3. Vertex AI                                                                                                                                                 │
│                                                                                                                                                                │
│ (Use Enter to select)                                                                                                                                          │
│                                                                                                                                                                │
│ Terms of Services and Privacy Notice for Gemini CLI                                                                                                            │
│                                                                                                                                                                │
│ https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md                                                                                      │
│                                                                                                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

~/api (ask-logic*)                          no sandbox (see /docs)                            gemini-2.5-pro (100% context left)| ✖ 2 errors (ctrl+o for details)


----------------------------------------------------------------
Logging in with Google... Please restart Gemini CLI to continue.
----------------------------------------------------------------

adiagarwal@Mimir:~/api$ gemini
Please visit the following URL to authorize the application:

https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fcodeassist.google.com%2Fauthcode&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-*************************....


Enter the authorization code: 4/0AV**********************************************************

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░


Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Be specific for the best results.
3. Create GEMINI.md files to customize your interactions with Gemini.
4. /help for more information.

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                │
│ Get started                                                                                                                                                    │
│                                                                                                                                                                │
│ How would you like to authenticate for this project?                                                                                                           │
│                                                                                                                                                                │
│ ● 1. Login with Google                                                                                                                                         │
│   2. Use Gemini API Key                                                                                                                                        │
│   3. Vertex AI                                                                                                                                                 │
│                                                                                                                                                                │
│ (Use Enter to select)                                                                                                                                          │
│                                                                                                                                                                │
│ Terms of Services and Privacy Notice for Gemini CLI                                                                                                            │
│                                                                                                                                                                │
│ https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md                                                                                      │
│                                                                                                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

~/api (ask-logic*)                          no sandbox (see /docs)                            gemini-2.5-pro (100% context left)| ✖ 2 errors (ctrl+o for details)


----------------------------------------------------------------
Logging in with Google... Please restart Gemini CLI to continue.
----------------------------------------------------------------

adiagarwal@Mimir:~/api$ gemini
Please visit the following URL to authorize the application:

https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fcodeassist.google.com%2Fauthcode&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-**********************....

Enter the authorization code: 4/0AV**********************************************************

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░


Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Be specific for the best results.
3. Create GEMINI.md files to customize your interactions with Gemini.
4. /help for more information.

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                │
│ ⠦ Waiting for auth... (Press ESC to cancel)                                                                                                                    │
│                                                                                                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

~/api (ask-logic*)                                           no sandbox (see /docs)                                             gemini-2.5-pro (100% context left)

What did you expect to happen?

Expect to authenticate without getting stuck in an auth loop. (tried about 20 times to authenticate -- unsuccessful)

Client information

$ gemini /about
# paste output here

Unable to fetch since unable to authenticate.

OS: WSL2 - Ubuntu 24

Login information

Google Account

Anything else we need to know?

It was also not creating the google_account_id file in .gemini dir.

adiagarwalrock avatar Jul 20 '25 10:07 adiagarwalrock

  1. I can authenticate and run in my home directory, but stuck in this loop if I run in a repository that I am working in.
  2. It does not persist authentication Information; I have to re-authenticate every session.

adiagarwalrock avatar Jul 20 '25 10:07 adiagarwalrock

@adiagarwalrock what version do you have? I am having trouble reproducing this with the latest version (0.1.13), can you make sure that's the version you have?

Also, could you include the output of env? (watch out for API keys or anything else that's confidential)

mboshernitsan avatar Jul 21 '25 18:07 mboshernitsan

I am having a similar problem. I am using a devcontainer and rebuild frequently => pristine env - so I am confident it is not a local env issue

To work around the authentication issue I first authenticate using 0.1.11 then uninstall that version and switch to latest. I was then able to continue.

Authenticate with 0.1.11

npm install -g @google/[email protected]
GOOGLE_CLOUD_PROJECT=my_proj_name gemini

Then uninstall it and switch to latest

npm remove -g @google/gemini-cli
npm install -g @google/gemini-cli
GOOGLE_CLOUD_PROJECT=my_proj_name gemini

bluefing avatar Jul 24 '25 22:07 bluefing

@bluefing Can you give repro steps in more detail? Platform, os, what's in your devcontainer, how you are connecting to it, etc. Are you getting the browserless auth prompt (when it prints the URL), entering code, and then it gets stuck on waiting for auth?

mboshernitsan avatar Jul 27 '25 16:07 mboshernitsan

@bluefing Can you give repro steps in more detail? Platform, os, what's in your devcontainer, how you are connecting to it, etc. Are you getting the browserless auth prompt (when it prints the URL), entering code, and then it gets stuck on waiting for auth?

@mboshernitsan running VSCode

Version: 1.102.0
Commit: cb0c47c0cfaad0757385834bd89d410c78a856c0
Date: 2025-07-09T22:10:34.600Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Linux x64 6.14.11-300.fc42.x86_64

on Bluefin (Version: 42.20250714.2 / FROM Fedora Silverblue 42)

.devcontainer

{
  "name": "Node.js",
  "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
  "customizations": {
    "vscode": {
      "extensions": [
        "Google.geminicodeassist",
        "dbaeumer.vscode-eslint",
        "esbenp.prettier-vscode",
        "christian-kohler.path-intellisense",
        "nefrob.vscode-just-syntax",
        "DavidAnson.vscode-markdownlint",
        "streetsidesoftware.code-spell-checker",
        "christian-kohler.npm-intellisense",
        "Orta.vscode-jest",
        "firsttris.vscode-jest-runner",
        "eamodio.gitlens"
      ]
    }
  }
}

Script (gcli.sh) I use to start gemini-cli

#!/usr/bin/env bash

# npm install -g @google/[email protected]
npm remove -g @google/gemini-cli
npm install -g @google/gemini-cli
GOOGLE_CLOUD_PROJECT=my_project gemini

When I run gcli.sh I select the theme and choose Login with Google the browser is launched on the host.

This worked without the workaround a couple of weeks ago. I was busy at work and didn't run gemini-cli for a week or so.

Image Image

Click sign-in in the browser and nothing happens

Image Image

To workaround this I hit escape (or let it time out), then

  • install v0.1.11 and authenticate as above,
  • CTRL-C twice to kill Gemini
  • uninstall v0.1.11 and install latest
  • Gemini-cli fires up without needing to re-authenticate
Image

Let me know if you need any more information

bluefing avatar Jul 27 '25 17:07 bluefing

Thank you for such a detailed description of your steps! This part is surprising to me:

When I run gcli.sh I select the theme and choose Login with Google the browser is launched on the host.

When the CLI runs inside the container it should not (it cannot, I think) open the browser on the host, it can only print the URL for you to click on (Unless there's something about devcontainers that I don't understand, which is possible, since I don't use them regularly.)

Here are the steps that I followed:

  1. created a new empty workspace with .devcontainers/devcontainers.json initialized to your exact container
  2. devcontainer up --workspace-folder .
  3. devcontainer exec --workspace-folder . bash [now inside the devcontainer]
  4. npm install -g @google/gemini-cli
  5. gemini --version (confirmed 0.1.14)
  6. gemini, select Login With Google...
  7. The CLI terminates, asking to be restarted. This is WAI: Image
  8. gemini, now it prints the URL to open in browser and waits for me to copy and paste authorization code: Image
  9. After I paste the code, I get the normal CLI prompt and can now interact with it.

I also tried this same sequence by opening the workspace with the devcontainer in VS Code and starting Gemini CLI from the VS Code terminal.

Can you tell me if this is the same sequence of steps that you are following? If you are seeing the CLI open the browser automatically, something strange is gong on.

mboshernitsan avatar Jul 27 '25 18:07 mboshernitsan

Bluefin-dx is a pre-configured, developer first, cloud native, immutable OS.

It just works. It's possible to launch the browser from a devcontainer in bluefin because it's designed to work that way

The core mechanism is a testament to well-designed abstractions. It does not crudely break container isolation. Instead, it leverages the existing, secure communication channel established by the VS Code Remote Development extensions. A standard system call to xdg-open within the container is intercepted by a BROWSER environment variable hook, which is deliberately injected by the VS Code Server. This hook redirects the call to a helper script that proxies the URL-opening request over the remote protocol to the VS Code client. The client, running natively on the host, receives this proxied command and uses the host's own APIs to launch the default web browser. This process preserves the integrity and security of the immutable host and the containerized environment while eliminating friction for the developer in common scenarios like web-based authentication.

https://g.co/gemini/share/13299b079b91

@mboshernitsan given the complex execution chain it's entirely possible that it's an issue with a recent OS update. I could try rolling back to an earlier release and see if it works with 14, but given that 11 works it makes me think it's recent change in gemini-cli that broke it.

Appreciate that this might not be a priority for you given it's a pretty niche setup, but if you want any debug logs etc let me know

bluefing avatar Jul 27 '25 20:07 bluefing

I see, I missed that you were in Bluefin and I am not really familiar with it.

In this case, it is very likely appears to hang because the CLI never receives browser redirect after successful oauth authentication. The redirect goes to localhost: (where port is some available port selected by the CLI when it launches the browser).

In general, oauth inside containers is tricky because there are many variables that can get in the way. One simple thing you could try is setting NO_BROWSER=true prior to launching the CLI. This will prevent it from trying to launch the browser and it will simply print a URL for you to open and will wait for you to paste the auth code that you will receive by following that URL. This is the flow you see in my screenshots. It adds a little bit of friction, but it sure beats having to install an older version just to auth (I still don't quite understand why that version works and the new one doesn't, to be honest - I don't think we removed any auth capabilities).

If you want to play around with making auth seamless, you could try to diagnose why the browser redirect is not working. This could be due to container port mapping configuration or some other issue - I am not familiar enough with Bluefin-dx to advise on this. You could try setting OAUTH_CALLBACK_PORT before launching the CLI to get it to use a predictable port or set OAUTH_CALLBACK_HOST in case you need it to bind to something other than localhost (this is somewhat dependent on container networking configuration).

mboshernitsan avatar Jul 27 '25 22:07 mboshernitsan

I see, I missed that you were in Bluefin and I am not really familiar with it.

In this case, it is very likely appears to hang because the CLI never receives browser redirect after successful oauth authentication. The redirect goes to localhost: (where port is some available port selected by the CLI when it launches the browser).

In general, oauth inside containers is tricky because there are many variables that can get in the way. One simple thing you could try is setting NO_BROWSER=true prior to launching the CLI. This will prevent it from trying to launch the browser and it will simply print a URL for you to open and will wait for you to paste the auth code that you will receive by following that URL. This is the flow you see in my screenshots. It adds a little bit of friction, but it sure beats having to install an older version just to auth (I still don't quite understand why that version works and the new one doesn't, to be honest - I don't think we removed any auth capabilities).

If you want to play around with making auth seamless, you could try to diagnose why the browser redirect is not working. This could be due to container port mapping configuration or some other issue - I am not familiar enough with Bluefin-dx to advise on this. You could try setting OAUTH_CALLBACK_PORT before launching the CLI to get it to use a predictable port or set OAUTH_CALLBACK_HOST in case you need it to bind to something other than localhost (this is somewhat dependent on container networking configuration).

Thanks, I'll dig into a bit a see what I can find out.

bluefing avatar Jul 27 '25 22:07 bluefing

I'm also experiencing this infinite "waiting for auth..." loop. I am using the terminal in cursor on windows while using SSH Remote to connect to an ubuntu Linux instance. I installed gemini globally and when i run gemini it says "Please visit tre following URL to authorize" I do and enter the authorization code in the browser and then it just says...

⠇ Waiting for auth... (Press ESC to cancel)

And never authorizes.

rbracco avatar Jul 28 '25 18:07 rbracco

@rbracco Please try setting NO_BROWSER=true prior to launching the CLI and see if it helps. It tries to autodetect the cases when launching a browser is futile, but those heuristics are not bulletproof.

mboshernitsan avatar Jul 28 '25 18:07 mboshernitsan

Also, please make sure you are using the latest release (0.1.14 at the time of this comment). I just tested using the SSH Remote VS Code extension to connect to a remote instance (Debian-based, so possibly slightly different from yours) and the CLI successfully detects that it cannot use a browser and prints the URL to open to the console.

mboshernitsan avatar Jul 28 '25 18:07 mboshernitsan

Thanks so much for the quick reply and info. I can confirm I'm on the latest release (0.1.14). I ran the command NO_BROWSER=true gemini and nothing changed. It still sends me an external link to validate.

Image

I click that and it opens a window for me to choose an account. I choose my main account, then verify that I downloaded this app from google, and then get shown this screen (code omitted)

Image

I enter my code and end up here looping forever:

Image

This is all being done in the terminal on Cursor 0.50.5, VSCodeVersion 1.96.2 running on Windows SSHing into Ubuntu where gemini is running. I tried to make it simpler (without Cursor) and just SSH in from a normal WSL2 terminal window and then start gemini but that also fails (including with NO_BROWSER=true) Claude code and other similar products work fine in both environments.

Please let me know if you have anything else for me to try, I'd really love to use Gemini CLI

On Mon, Jul 28, 2025 at 2:25 PM Marat Boshernitsan @.***> wrote:

mboshernitsan left a comment (google-gemini/gemini-cli#4546) https://github.com/google-gemini/gemini-cli/issues/4546#issuecomment-3128458128

Also, please make sure you are using the latest release (0.1.14 at the time of this comment). I just tested using the SSH Remote VS Code extension to connect to a remote instance (Debian-based, so possibly slightly different from yours) and the CLI successfully detects that it cannot use a browser and prints the URL to open to the console.

— Reply to this email directly, view it on GitHub https://github.com/google-gemini/gemini-cli/issues/4546#issuecomment-3128458128, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIBGAJTZSTPNHAI7MGJ7GL3KZTJLAVCNFSM6AAAAACB5WRSQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMRYGQ2TQMJSHA . You are receiving this because you were mentioned.Message ID: @.***>

rbracco avatar Jul 28 '25 22:07 rbracco

@rbracco Thanks - this is very helpful! It appears that the browserless auth detection works correctly and it sends you down the correct path. When it's at the last step where it's looping forever, can you try pressing Ctrl-O to get the debug console and take a screenshot or copy what's in the console?

mboshernitsan avatar Jul 28 '25 22:07 mboshernitsan

Image

Remaining lines (omitted) just show the rest of the URL including challenge code. I pressed Ctrl-S to make sure I was seeing all lines.

On Mon, Jul 28, 2025 at 6:50 PM Marat Boshernitsan @.***> wrote:

mboshernitsan left a comment (google-gemini/gemini-cli#4546) https://github.com/google-gemini/gemini-cli/issues/4546#issuecomment-3130070309

@rbracco https://github.com/rbracco Thanks - this is very helpful! It appears that the browserless auth detection works correctly and it sends you down the correct path. When it's at the last step where it's looping forever, can you try pressing Ctrl-O to get the debug console and take a screenshot or copy what's in the console?

— Reply to this email directly, view it on GitHub https://github.com/google-gemini/gemini-cli/issues/4546#issuecomment-3130070309, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIBGAJPH5A3KIOZMQNRPR33K2SMRAVCNFSM6AAAAACB5WRSQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZQGA3TAMZQHE . You are receiving this because you were mentioned.Message ID: @.***>

rbracco avatar Jul 28 '25 22:07 rbracco

[image: image.png] Remaining lines (omitted) just show the rest of the URL including challenge code. I pressed Ctrl-S to make sure I was seeing all lines. …

The image you added does not seem render. You may need to add it in the GitHub comment UI.

mboshernitsan avatar Jul 28 '25 23:07 mboshernitsan

Oops sorry, I thought those would show up when responding by email. I'm on Github now, I've edited the posts to contain the images (unfortunately github is posting them as weird links instead of visible in page).

rbracco avatar Jul 29 '25 00:07 rbracco

A bit of an update, I reinstalled the entire node, npm, and then Gemini CLI started working in select repositories, and I started running in sandboxed mode -- which I was not doing previously. from a few days that also stopped with it stuck at the following.

Image
  {  home  patch }  gemini
[DEBUG] CLI: Delegating hierarchical memory load to server for CWD: /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] Loading server hierarchical memory for CWD: /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] Searching for GEMINI.md starting from CWD: /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] User home directory: /home/adiagarwal
[DEBUG] [MemoryDiscovery] Global GEMINI.md not found or not readable: /home/adiagarwal/.gemini/GEMINI.md
[DEBUG] [MemoryDiscovery] Determined project root: /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] Checking for GEMINI.md in (upward scan): /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] Upward GEMINI.md not found or not readable in: /home/adiagarwal/patch
[DEBUG] [MemoryDiscovery] Checking for GEMINI.md in (upward scan): /home/adiagarwal
[DEBUG] [MemoryDiscovery] Upward GEMINI.md not found or not readable in: /home/adiagarwal
[DEBUG] [MemoryDiscovery] Reached ultimate stop directory for upward scan: /home/adiagarwal
[DEBUG] [BfsFileSearch] Scanning [1/200]: /home/adiagarwal/patch
[DEBUG] [BfsFileSearch] Scanning [2/200]: /home/adiagarwal/patch/.cache
.
. <does BfsFileSearch>
.
.
Flushing log events to Clearcut.
Please visit the following URL to authorize the application:

https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=https%3A%2F%2Fcodeassist.google.com%2Fauthcode&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&code_challenge_method=S256&code_challenge=A5S2FegNjDrQX2-xgii7aFmN3elWYUICmaNWGthWsbY&state=a2e95da23853a6f4fb3dfffe71e17b63666a3408005031499d719ddf7ef39b77&response_type=code&client_id=681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com

Enter the authorization code: 4/0AVMBsJi59vyDelXvKprgba3iZKsdlV7S7f9Clquj-eUu2hsxTlCXj0v6wkH7c0fuKdLvOQ
hopping into sandbox (command: docker) ...
Checking for sandbox image: us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.1.14
Sandbox image us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.1.14 found locally.
INFO: Defaulting to use current user UID/GID for Debian/Ubuntu-based Linux.
Debugger listening on ws://0.0.0.0:9229/7110c8cf-c08a-4add-8192-fd44bf3cd891
For help, see: https://nodejs.org/en/docs/inspector

adiagarwalrock avatar Jul 30 '25 16:07 adiagarwalrock

@mboshernitsan It might be helpful, but when I perform a clean install of gemini-cli, I only get these three items.

  1. installation_id
  2. settings.json
  3. tmp

adiagarwalrock avatar Jul 30 '25 16:07 adiagarwalrock

I don’t know why this issue was closed, because I’m experiencing the same problem with the latest version (v0.3.2) of Gemini CLI. Previously, it could open the browser for login authentication without any problems, but recently the issue mentioned here has started occurring when I try to log in.

Image

Firstmeridian avatar Sep 05 '25 13:09 Firstmeridian