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.
Symptom
Section titled “Symptom”未正确发送,错误请求源站,源站502返回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.
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.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”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.