VS Code report "error":{"code":-32003,"message":"Connection error.","data":null}

Open
#1,458 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
vscode

Research direction

Reproduce the failure on Windows with Kimi Code CLI 0.4.4 by signing in and sending “hi” from VS Code. Start by inspecting the JSON-RPC protocol logs around the prompt and -32003 error; done means the prompt completes without “Service temporarily unavailable” or a connection error.

Written by the indexing model from the issue text.

Description

bug
What version of Kimi Code CLI is running?

0.4.4

Which open platform/subscription were you using?

Moderato

Which model were you using?

kimi-for-coding

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

User: hi
Kimi Code: Service temporarily unavailable.
{"jsonrpc":"2.0","id":"2_1773714483685","error":{"code":-32003,"message":"Connection error.","data":null}}

What steps can reproduce the bug?

Sign in to Kimi Code and say hi.

What is the expected behavior?

No response

Additional information

2026-03-17T02:28:03.685Z kimi-sdk:protocol Initialized: protocol=1.3, server=Kimi Code CLI/1.16.0
2026-03-17T02:28:03.685Z kimi-sdk:protocol >>> {
jsonrpc: '2.0',
id: '2_1773714483685',
method: 'prompt',
params: { user_input: 'hi' }
}
2026-03-17T02:28:03.687Z kimi-sdk:protocol <<< {"jsonrpc":"2.0","method":"event","params":{"type":"TurnBegin","payload":{"user_input":"hi"}}}
2026-03-17T02:28:03.691Z kimi-sdk:protocol <<< {"jsonrpc":"2.0","method":"event","params":{"type":"StepBegin","payload":{"n":1}}}
2026-03-17T02:28:08.043Z kimi-sdk:protocol <<< {"jsonrpc":"2.0","method":"event","params":{"type":"StepInterrupted","payload":{}}}
2026-03-17T02:28:08.044Z kimi-sdk:protocol <<< {"jsonrpc":"2.0","id":"2_1773714483685","error":{"code":-32003,"message":"Connection error.","data":null}}
2026-03-17T02:28:08.045Z kimi-sdk:session Turn completed, state: idle

Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MoonshotAI/kimi-cli

All issues in MoonshotAI/kimi-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.