Claude routing does not work on Ubuntu — Claude Code
Quick fix
Upgrade to CC Switch 4.0.13 and retry. If it persists, reopen the issue with the version, system, reproduction steps, and relevant logs.
Symptom
Section titled “Symptom”开启路由功能,claude没有请求到路由,检查setting文件没有问题:After routing was enabled, claude did not send requests through the route. The setting file was checked and had no problems:
The reporter was using CC Switch v3.14.1 and Claude Code on Ubuntu/Linux. After routing was enabled, Claude Code requests did not enter the route. The reporter said the setting file was correct and had configured ANTHROPIC_AUTH_TOKEN and ANTHROPIC_BASE_URL pointing to http://127.0.0.1:15721.
The issue provides no relevant logs or subsequent investigation results, so the specific mechanism cannot be determined from the available information. The issue was closed due to prolonged inactivity, not because the problem was confirmed fixed. The maintainer only stated that CC Switch 4.0 included multiple refactors and fixes and recommended trying 4.0.13.
As recommended by the maintainer, upgrade CC Switch from v3.14.1 to 4.0.13, then re-enable routing and test Claude Code requests.
If the problem still occurs after upgrading, record the CC Switch version, operating system, complete reproduction steps, and relevant logs, then reopen the issue for further investigation by the maintainer.
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.