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

Login failed: Cannot connect to host auth.kimi.com:443 ssl:default [Network is unreachable]

Open notedit opened this issue 9 months ago • 8 comments

What version of Kimi Code CLI is running?

kimi, version 1.9.0

Which open platform/subscription were you using?

/login

Which model were you using?

kimi-for-coding

What platform is your computer?

No response

What issue are you seeing?

Select a platform (↑↓ navigate, Enter select, Ctrl+C cancel):

  1. Kimi Code 2. Moonshot AI Open Platform (moonshot.cn) 3. Moonshot AI Open Platform (moonshot.ai) Login failed: Cannot connect to host auth.kimi.com:443 ssl:default [Network is unreachable]

What steps can reproduce the bug?

我是在服务器上使用,服务器上的出口要设置代理, wget curl 这些都是可以正常访问外网。 kimi login 提示失败。

What is the expected behavior?

No response

Additional information

No response

notedit avatar Feb 09 '26 14:02 notedit

貌似已经有pr在解决这个问题了 #762


It seems that there is already a PR working on solving this problem #762

xiaoju111a avatar Feb 09 '26 15:02 xiaoju111a

妈的我也遇到这种情况了


Damn, this happened to me too

jxhhdx avatar Feb 10 '26 03:02 jxhhdx

plis i have deadlines in half an hour 😭😭😭😭

IfarraSpentera avatar Feb 10 '26 03:02 IfarraSpentera

me too......

aosenke avatar Mar 11 '26 10:03 aosenke

我把代理关了就ok了


I turned off the agent and it was ok

Veronica-L avatar Apr 18 '26 13:04 Veronica-L

What's the solution to this? I still get the same error today:

Run /login to sign in to Kimi, or /provider to add another provider from a model catalog.
   Error: Login failed: OAuth request to https://auth.kimi.com/api/oauth/device_authorization failed: fetch failed: Connect Timeout Error (attempted address: auth.kimi.com:443, timeout: 10000ms)

moodmosaic avatar Jul 24 '26 19:07 moodmosaic

收到~


Received~

Veronica-L avatar Jul 24 '26 19:07 Veronica-L

What's the solution to this? I still get the same error today:

Run /login to sign in to Kimi, or /provider to add another provider from a model catalog.
   Error: Login failed: OAuth request to https://auth.kimi.com/api/oauth/device_authorization failed: fetch failed: Connect Timeout Error (attempted address: auth.kimi.com:443, timeout: 10000ms)

Happens to me too!

tutods avatar Jul 27 '26 09:07 tutods