gemini-cli
gemini-cli copied to clipboard
Failed to login. Message: Invalid URL
What happened?
when login with google account, is shows Failed to login. Message: Invalid URL
What did you expect to happen?
show me login account and password pages
Client information
$ gemini /about
# paste output here
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.
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Select Auth Method │
│ ● Login with Google │
│ ○ Gemini API Key (AI Studio) │
│ ○ Vertex AI │
│ │
│ Failed to login. Message: Invalid URL │
│ │
│ (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 │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
D:\data\gemini_tes no sandbox (see gemini-2.5-pro (100% context left)| ✖ 1 error (ctrl+o for
t /docs) details)
Login information
No response
Anything else we need to know?
No response
我也遇到了这个问题,该怎么解决呀
我也遇到了这个问题,该怎么解决呀 应该是个bug,我也没解决
Same here
When using a proxy server, change the protocol from socks5 to http, this worked for me.
if you use the proxy server, modify terninal env socks5 to http,and must add the last line,like this: export http_proxy="http://127.0.0.1:7890" export https_proxy="http://127.0.0.1:7890" export no_proxy="localhost,127.0.0.1"