Skip to content

Origin Returns 502: Claude Code Large-Context Routing Error

Quick fix

No fix is confirmed; provide reproducible conditions for the large context to locate the routing error.

Error output
未正确发送,错误请求源站,源站502返回
English translation

Request not sent correctly; the request went to the wrong origin, and the origin returned 502.

The issue reports that after Claude Code refactored a large-context session and continued the session, the request was incorrectly sent to the origin, which returned 502. The report used cc-switch 3.17.0 on Windows, but did not specify the context size or other reproduction conditions.

The maintainer requested reproduction details. The issue was automatically closed after a long period of inactivity, so the available information cannot confirm the root cause or a fix.

  1. Provide the specific size of the large context, the steps for refactoring and continuing the session, and whether it can be reproduced every time; the issue does not record a verified fix.

ToolClaude Code
Version3.17.0(报告版本;是否为受影响范围尚未确认)
PlatformsWindows

(No FAQ yet)

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.