Skip to content

Codex kimi keeps sending requests when using the proxy - CC Switch

Quick fix

This is Codex App client behaviour, not a cc-switch fault. Check the client retry or keepalive mechanism.

Error output
当代理打开,并且通过codex对话后,请求会一直持续发送
English translation

With the proxy on, after a conversation through codex, requests keep being sent continuously

Using the Codex App (the Microsoft Store build) with the Kimi provider and the cc-switch proxy, users find requests still going out in the background after the conversation ends, and worry about burning through their quota. Maintainers analysed it: cc-switch only forwards requests as a transparent proxy and cannot initiate a request upstream itself, and in single-provider mode it is bounded by the retry count, so it does not keep sending on its own. The behaviour is confirmed to be the Codex client itself (streaming connection keepalive, background polling, or retry logic), unrelated to cc-switch. This was merged as a duplicate of Issue #3822.

  1. Confirm whether the requests come from the Codex App client. Since cc-switch generates no extra traffic, use a packet capture tool or the proxy log to see the source process and URL of the continuing requests, and verify whether it is the Codex client keepalive or retry mechanism.

  2. If it is confirmed to be client behaviour, look in the Codex App settings for options such as "keep connection", "auto retry", or "background sync" and adjust them, or follow the fix upstream in the Codex project.

ToolCodex
Version3.16.3
PlatformsWindowsmacOS
Was a cause ever found for this?
Yes — it is confirmed to be the network behaviour of the Codex client itself (App or CLI), such as retry or keepalive, not anomalous requests generated by the cc-switch proxy. cc-switch only forwards; it does not initiate requests.
How do I tell whether a request comes from cc-switch?
cc-switch generates no requests itself. If you see continuous requests, use the proxy log or a packet capture tool to check the source IP and process name. If they come from the Codex process, it is client behaviour.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.