问题

报错内容

Failed to login. Message: Failed to exchange authorization code for okens: request to https://oauth2.googleapis.com/token failed, reason:Client network socket disconnected before secure TLS connection was established

报错截图

在这里插入图片描述

解决办法

使用API KEY的方式登录

网址:https://aistudio.google.com/api-keys

使用API密钥登录Gemini Cli

在这里插入图片描述

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐