Login through a Google account didn't get forwarded to the web browser
What happened?
The request for login through a Google account didn't get forwarded to the web browser until the CLI window was closed.
What did you expect to happen?
The login request to be forwarded to the web browser
Client information
$ gemini /about
# paste output here
Login information
Google account
Anything else we need to know?
No response
Error: connect ETIMEDOUT 216.239.34.223:443 at createConnectionError (node:net:1646:14) at Timeout.internalConnectMultipleTimeout (node:net:1705:38) at listOnTimeout (node:internal/timers:575:11) at process.processTimers (node:internal/timers:514:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '216.239.34.223', port: 443 },
how handle this issue
Hi @SaptaDey could you please tell how you run Gemini CLI and the OS, terminal and your general system info? Maybe I can help you debug I have ran Gemini CLI recently on all 3 OS Windows, Mac, Linux and with various terminals and it all works fine :)
Hi @SaptaDey could you please tell how you run Gemini CLI and the OS, terminal and your general system info? Maybe I can help you debug I have ran Gemini CLI recently on all 3 OS Windows, Mac, Linux and with various terminals and it all works fine :)
hi, I encountered the same issue. my env: os: windows11 gemini cli : use npx https://github.com/google-gemini/gemini-cli to intasll node: v23.4.0 terminal: windows powershell issue screenshot:
OS: Windows Edition Windows 11 Pro for Workstations Version 25H2 OS build 26200.5670 Windows Terminal: Microsoft Corporation 1.22.11141.0
Hi @SaptaDey could you please tell how you run Gemini CLI and the OS, terminal and your general system info? Maybe I can help you debug I have ran Gemini CLI recently on all 3 OS Windows, Mac, Linux and with various terminals and it all works fine :)
Hi @SaptaDey could you please tell how you run Gemini CLI and the OS, terminal and your general system info? Maybe I can help you debug I have ran Gemini CLI recently on all 3 OS Windows, Mac, Linux and with various terminals and it all works fine :)
Additionally, I would like to note that the issue is not permanent; if I attempt it 10 times, on average, it only succeeds once, while it fails nine times. More interestingly, on the first occurrence, it mostly passes through, but if I close my terminal and reopen it, and then try to log in, it fails. So, I guess there is something wrong with the terminal's memory. However, I don't notice anything suspicious in the log files.
This is not the case when logging it through Linux. The login performance is better in Fedora 42. But it's worse in Ubuntu 24.04.
Unable to duplicate. I'm going to close this for now due to inactivity. Please reopen with more details if this is still an issue.