Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
This repository was archived by the owner on Sep 23, 2026. It is now read-only.

## Bug Report: Connection error on Ubuntu due to illegal HTTP header value #1364

Description

@laserwang

What version of Kimi Code CLI is running?

1.17.0

Which open platform/subscription were you using?

kimi codee

Which model were you using?

kimi-for-coding

What platform is your computer?

Ubuntu 22.04.1 LTS

What issue are you seeing?

kimi chatfails with "Connection error", whilekimi usage` works fine.

What steps can reproduce the bug?

  1. Install kimi-cli on Ubuntu 22.04
  2. Run kimi login (success)
  3. Run kimi usage (works fine)
  4. Run kimi -p "hello" --print (fails with Connection error)

What is the expected behavior?

Chat should respond,work like kimi usage.

now: $ kimi -p "hello" --print
hello
TurnBegin(user_input='hello')
StepBegin(n=1)
StepInterrupted()
Connection error.


### Additional information

From `~/.kimi/logs/kimi.log`, the error is:
httpx.LocalProtocolError: Illegal header value b'#101~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 11 13:19:54 UTC '

reinstall kimi cli not work

The system also install openclaw, use the same coding plan from kimi code。 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions