Skip to content

Install and launch problems

Won’t install, won’t open, broken after an update — all of it is here.

213 topic pages, distilled from 731 real issuesHow this is counted

Terminal and environment variables136

Opening cc on Windows 11 gives a process but no window - cc-switchOn Windows 11, try Windows 7 compatibility in the exe properties. If that fails, use cc-switch-cli to bypass the Tauri 2 GUI white screen.31 issues merged'claude' is not recognized as an internal or external commandConfigure the full claude.exe path in CC Switch settings, or ensure claude is on the system PATH.31 issues mergedcc-switch Local Proxy FAQ: 502 Bad Gateway, Timeouts, Unable to Delete ConfigurationsProxy issues often stem from unsupported official providers, unapplied settings, or unsynchronized UI state;27 issues merged'claude' is not an internal or external command, nor a runnable programUpgrade to v3.16.2+ to fix WSL/Windows path detection, or manually configure install directory override.18 issues mergedThe `content[].thinking` in thinking modeSome variants remain unresolved: upgrade to a version with the thinking history normalization fix; for Codex routed through DeepSeek, use a version with the…13 issues mergedUpstream Chat Completions Streaming Response Error, Claude CodeCheck whether the issue is caused by local proxy conversion or the upstream endpoint; adjust the endpoint or disable the local proxy for the verified scenario.13 issues mergedSwitching providers resets claude settings.json - Claude CodeBefore switching, extract the current provider’s configuration in “General Configuration” and select “Write to General Configuration” for the new provider.11 issues mergedMCP stdio connection failure: cmd /c wrapper prevents Claude Code from connectingOn Windows, if editing MCP configuration introduces a cmd /c wrapper and causes connection failure, check the generated command and args, then upgrade to a…10 issues mergedEGL_BAD_PARAMETER: CC Switch White Screen on LinuxFor affected Linux AppImage environments, preload the host libwayland-client first. If the white screen remains, try the .deb package.egl_bad_parameter8 issues mergedNot logged in · Run /login - Claude CodeTurn CC Switch local proxy takeover on, check the API address includes /v1, or launch the terminal from CC Switch so env vars are injected.8 issues mergedClaude Code Auth conflict errorRemove primaryApiKey from ~/.claude.json or add "auth_mode": "bearer_only". Restore overwritten settings via default or manage shared settings with Common…anthropic_auth_token7 issues mergedenv: node: No such file or directoryWhen CC Switch is launched from the Dock/Finder, the GUI PATH lacks the Homebrew directory; upgrading to v3.18.0+ fixes it.7 issues mergedUnexpected status 502 Bad Gateway:CodexSet `NO_PROXY=127.0.0.1,localhost,::1` in `~/.codex/.env` so Codex connects directly to the local CC Switch port.7 issues mergedAtomic replace failed — request not supported, os error 50 - cc-switchUpgrade cc-switch to v3.20.0 or newer, which fixes the regression where atomic config file replacement failed on WSL paths.6 issues mergedProvider API Key Overwritten: After Codex Restart or SwitchUpgrade to cc-switch v4.0.0 or later to prevent provider keys from overwriting each other and restore the official login state.6 issues mergedmodel does not support thinkingTurn the Proxy Rectifier off in cc-switch advanced settings, or upgrade to a fixed version. Qwen tool call loops and empty thinking blocks remain unresolved.6 issues mergedauto mode cannot determine the safety: Claude Code errorUpgrade CC Switch first. If the error persists, check thinking parameters, model mapping, stop support, and the response format when stream is omitted.6 issues mergedKaspersky virus detection deletes ccswitch — Gemini CLIAdd CC Switch to the security allow list in Windows security software, then use Gemini CLI.6 issues mergedCodex/OpenCode shows not installedAdd the npm prefix or fnm alias directory to the user PATH environment variable, then restart CC Switch.6 issues mergedeither event handler is re-entrantOn Windows, try WebView2 parameters if enterprise security software conflicts; the reports provide no generally verified fix.5 issues mergedINVALID_API_KEY after switching providers in CodexUpgrade to v3.20.1 or later; third-party switching no longer writes to `auth.json`, preventing provider key/authentication mismatches.5 issues mergedRestarting the terminal and running gemini asks for an api-key - Gemini CLIUpdate cc-switch for the save-clears-config bug. If it still fails, that is a Gemini CLI read bug — put the environment variables in bash_profile.5 issues mergedRelay Link Speed Test Fails Without VPN - CC SwitchNo single confirmed fix is available. Provide a reproducible configuration, request target, and startup logs.5 issues mergedWSL path configured but skills are not read - cc-switchWindows cc-switch cannot read or install WSL ~/.agents/skills. Install and run the Linux build of cc-switch inside WSL instead.5 issues mergedAPI Error: 404 - Claude Code path assembly or unregistered routeCheck whether the API address was assembled wrongly, or upgrade cc-switch for the 404 from OpenAI-compatible mode and the missing local route.4044 issues mergedNot installed / not installed or not executable - CC SwitchUpgrade CC Switch to v3.20.0+ for custom npm prefix and macOS detection failures; the false "several installations" on Windows needs v3.16.5+.4 issues mergedSystem folder picker opens on every click cc-switchRemove the pickDirectory() call from handleOpenTerminal in src/App.tsx to stop the folder picker from opening whenever you click to open a terminal.4 issues mergedzsh:1: command not found: claudeUpgrade cc-switch to v3.16.4 or newer, fixing PATH not loading when the terminal launches, or switch to the system default terminal for now.4 issues mergedauth.json not updated after switching channelCodex authentication mechanism refactor causes switching to fail. Check auth.json path and configuration per the official authentication retention guide.4 issues mergedenv: node: No such file or directoryUpgrading cc-switch to v3.18.0 or newer fixes the environment variable resolution failure caused by a stripped PATH in the GUI.4 issues mergedInvalid type for 'messages'Upgrade cc-switch to the latest version for the conversion fix, or downgrade the Codex CLI to 0.80.0 and use wire_api="chat" to work around it.4 issues mergedtools.function.parameters is not a validUpgrade to a later version containing #6863; it converts `$ref` with sibling keywords into Moonshot-compatible `allOf`.4 issues mergedCannot import providers, cannot manage sessions - cc-switchUpgrade cc-switch for jsonc config support. Under WSL2, clone the database to a local Windows path on a schedule to work around SQLite locking.4 issues mergednot installed or not executable - OpenCodeUpgrade CC Switch to v3.11.0+ for the path detection fix, or symlink opencode into ~/.local/bin by hand.4 issues mergedskills synced to apps I did not select - OpenCodeUpgrade cc-switch to v3.12.3 for the implicit inference bug fix, and turn off reading skills from the .claude directory in OpenCode settings.4 issues mergedmissing field `call_id`: Codex automation HTTP 400No verified published fix is available. Normalize orphaned output without `call_id` during proxy forwarding and retain cross-task message content.4 issues mergedUnkonw coding plan provider - cc-switch VolcengineUpgrade cc-switch to v3.20.0 or newer, then recreate the Volcengine Agent Plan provider or fix its Base URL.4 issues mergedFailed to authenticate: Claude Desktop gateway token invalid — ClaudeSign out of the stale official account session in Claude Desktop and restart the app. If the error persists, switch to the default provider and then switch…3 issues mergedSelect Model Menu Still Shows Pre-Switch Model List - CodexClose existing Codex sessions, run `codex app-server daemon restart`, and upgrade CC Switch to v4.0.7 or later for detection and restart prompts.3 issues mergedOnly 258k context in codex - CodexOnce cc-switch maps a minimax model onto gpt-5.5, the hard-coded Codex and Claude Code context limits apply and the 1M context is lost.3 issues mergedcodex never shows the ds model - CodexCodex desktop needs an official login state to show third-party models. Enable keep-official-login-when-switching in cc-switch and restart.deepseek_api_key3 issues mergedcc-switch overrides DNS cache and resolvesDisable proxy takeover in the affected application to restore network connectivity; cc-switch does not modify system DNS records.3 issues mergedIt reports 401 in claude - Claude CodeTurn the cc-switch local proxy on to convert the API format, and make sure `ANTHROPIC_BASE_URL` is injected into the Claude Code process.3 issues mergedError running remote compact task error - CodexUpgrade cc-switch to v3.12.0 or later. It adds forwarding support for the Codex `/responses/compact` route in the local proxy and can resolve 404 or 502 errors.3 issues mergedFunction call is missingUse the community cc-switch-gemini-fixer patch, or inject skip_thought_signature_validator into history messages, to bypass the signature validation.4003 issues merged`GLIBC_2.35' not foundNo confirmed compatible release exists from v3.10.1–v3.16.1. Try v4; if it still fails, report the version and reproduction steps.3 issues mergedGtk-CRITICAL: gtk_widget_get_scale_factor failedOn a GTK assertion failure running cc-switch under Linux or WSL2, edit settings.json to turn silent startup off, or clean the leftovers and reinstall.gtk_is_widget3 issues mergedNot found (404)Upgrade cc-switch to v3.16.3 for the 404 from /v1/ appended wrongly to a Base URL, and enable the media fallback so images cannot trip the breaker.4043 issues mergedInputValidationErrorWhen long tool arguments are truncated during streaming SSE, temporarily disable Tool Search, maximum-effort thinking, and the 1M declaration, then restart and…3 issues mergedMissing API key · Run /login - Claude CodeClear the conflicting ANTHROPIC_BASE_URL environment variable, or upgrade CC Switch to use its built-in environment variable conflict detection.anthropic_base_url3 issues mergedprotocol handler not registeredOn Linux, change Exec to cc-switch %U in the CC Switch.desktop file so Chromium browsers recognise the import protocol. For WSL sync, check admin rights.3 issues merged<tool_use_error>InputValidationErrorAn SSE parsing bug in the cc-switch conversion layer loses tool calls. Connect to the API directly, or switch to an official node, for now.3 issues mergedError 2503: CC Switch MSI Installation Fails on Windows 11Open Command Prompt as an administrator and run msiexec /i with the MSI file path.win-error-25033 issues mergedLocal Claude CLI installed but Settings says it isn'tUpgrade CC Switch to v3.16.5 or later to fix false installation conflicts and garbled paths on Windows.3 issues mergedSymlink target not found: .DirIcon broken symlink causes - CC SwitchAppImage install fails due to broken .DirIcon symlink. Fix by converting it to a relative path.2 issues mergedccstatusline shows the wrong model name - Claude CodeConfigure a Custom Command script in ccstatusline that reads the environment variables from the cc-switch database to show the real model.anthropic_default_opus_model2 issues mergedOpening a terminal does not use the complete configurationExtract through the "shared configuration" panel and tick write, so a full overwrite does not lose plugins and other shared config.2 issues mergedsession isn't eligibleFor a non-Anthropic upstream or format conversion, set CLAUDE_CODE_AUTO_MODE_SERVER=0 in the provider env.2 issues mergedWhy is the model the claude command uses in a plain terminal different from the one in cc-switch?Set the MiniMax you want as the primary model and run claude from a cc-switch terminal. Without takeover on, the mapped name is not a substitution.2 issues mergedNo such file or directory (os error 2)Change the model_catalog_json absolute path in config.toml to the relative cc-switch-model-catalog.json, or upgrade cc-switch.2 issues mergedSession expired: Codex OAuth session expiredUpgrade to cc-switch v4.0.0 or later to prevent old snapshots from overwriting new login credentials.2 issues merged"Expecting property name enclosed in doubleUpgrade CC Switch to v3.16.4 or newer to fix the JSON parse error caused by a large request body not being decompressed.2 issues mergedFunction call is missing a thought_signatureUpgrade to the latest CC Switch 4.0 release and retry. If it persists, report the version, system, full reproduction steps, and logs.2 issues mergedThe Gemini CLI reading the project .env breaks cc-switchWrap the gemini command in PowerShell to load the ~/.gemini/.env environment variables by hand.2 issues mergeddoes not run on macOS versions other than Monterey: CC Switch installation failureRun `brew update` and retry. If the cask is still locked to Monterey, change the macOS condition to `>= :monterey`.2 issues mergedinvalid_request_error Kimi For CodingSet ENABLE_TOOL_SEARCH=false in the Kimi configuration in cc-switch.2 issues mergedKMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission deniedResolve cc-switch white screen DRM permission errors on Linux by disabling WebKit hardware acceleration, specifying NVIDIA rendering, or using the CLI version.drm_ioctl_mode_create_dumb2 issues mergedNo endpoints available that support Anthropic - Claude CodeUpgrade Claude Code to v2.1.92+ and update cc-switch to fix OpenRouter parameter errors, or disable the local proxy.2 issues mergednot found(404) adding Claude Code desktop model APIUpgrade to v3.16.3+ to fix connectivity detection false positives, or ignore the 404 and test actual calls directly.2 issues mergedWindows Explorer opens to the "Documents"On Windows, Open Terminal opens Documents instead of a terminal. A suspected cause and suggested fix exist, but no solution has been verified.2 issues mergedClaude Code opens a folder selection dialogThis is by design for selecting the Claude Code terminal working directory; select the relevant project folder, then open the CLI.2 issues mergedthinking enabled but reasoning_content missingDisable Thinking mode in Claude Code, or upgrade cc-switch to fix Kimi/Moonshot tool call errors.2 issues mergedUnsupported parameter: 'max_tokens'The route forwards max_tokens to a model that only accepts max_completion_tokens. Verify parameter support or wait for a cc-switch fix.2 issues merged'/d' is not recognized as an internal or external command: Claude CodeOn Windows, first avoid choosing a Chinese working directory; the issue is not confirmed fixed, so verify the actual directory after startup.2 issues mergedAPI Error: Connection refusedIn Windows WSL2 NAT mode, use socat to forward WSL's 127.0.0.1:15721 to the host CC Switch routing port.2 issues mergedx-anthropic-billing-header breaks caching - CC SwitchUpgrade CC Switch to v3.15.0+, which fixes the dynamic billing header breaking prefix caching in openai_responses mode.2 issues mergedANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEYRun `claude daemon stop --any` to stop lingering Claude background processes, then restart and resume the session.1 issues mergedWhy is the value of ANTHROPIC_BASE_URL empty? Claude CodeThis is expected behavior: CC Switch does not inject variables into the shell; check the current configuration in `~/.claude/settings.json` directly.1 issues merged<thinking> tags output as body text in Claude CodeChanging the provider's apiFormat from openai_chat to anthropic, if supported upstream, can bypass inline <thinking> leakage.1 issues mergedBody discarded: Anthropic protocol conversion Claude CodeUpgrade to v3.20.3 or a v4 version containing the fix; the converter ignores trailing empty reasoning_content.1 issues mergedProxy not working, constant reconnect after entering a question; CodexThe separate proxy feature in cc-switch was removed; set the proxy via $env:http_proxy in PowerShell, then run Codex.1 issues mergedIncorrect model displayed in Claude CodeConfigure a Custom Command for ccstatusline to read the model name from the current cc-switch provider configuration.1 issues merged“ANTHROPIC_API_KEY or another auth sourceUpgrade CC Switch from 3.16.4 to the refactored 4.0 or later, then retest.anthropic_api_key1 issues mergedRoute classifier requests to another provider in Claude CodeThis is an unresolved feature request; the original post provides no verifiable user-side configuration solution.1 issues mergedThe auto mode classifier is temporarily unavailableDisable the Anthropic Base URL proxy in CC Switch and restart Claude Code; one user in the issue reported that updating CLIProxyAPI resolved the problem.1 issues mergedModel automatically switched to haiku cc-switchBuilt-in Claude Code behavior: haiku reads files. cc-switch only manages environment variables and does not change model selection.1 issues merged/branch sessions: parent session hard to find in Session ManagerTry claude --resume or claude -r <sessionId> as the proposed workaround. The original post provides no verifiable Session Manager fix.1 issues mergedTool calls in claude cli stream interrupted after configuring a local proxy Claude CodeNo verified solution is available; one user reported switching to claude-code-router as an alternative.1 issues mergedBash(...) Waiting... Claude CodeDowngrade Claude Code to v2.1.104 or v2.0.64 (admin required), or switch to a compatible provider such as Alibaba Cloud Bailian.1 issues mergedClaude Code no longer hot-reloads settings.json after switching providersRestart Claude Code after switching so it reads settings.json again; clash-for-ai can avoid this limitation.1 issues mergedOpen sessions continue using a third-party ANTHROPIC_BASE_URLSet legacy ANTHROPIC_* keys to empty strings in the official provider configuration's env, then switch back to the official provider.1 issues mergedUnable to apply reverse proxy to Claude Code VS Code pluginEnable “Apply to Claude Code plugin”; if the old provider is still active, check and remove the previous Zhipu relay settings in VS Code settings.json.1 issues mergedClaude Provider Not Found, Unable to Take Over Live Configuration: Claude CodeUpgrade to v4.0 or later; routing logic has been rewritten. Claude Desktop uses model mapping mode, with no manual changes to settings.json needed.1 issues merged请求转发失败: 上游请求失败: client error (Connect)Temporarily bypass the CC Switch local proxy or switch networks to check whether DeepSeek is blocked. No final fix has been confirmed.1 issues mergedClaude Code exits whenever the window size changesUpdating the relevant upstream component restored window resizing; the reporter confirmed the upstream update resolved the issue.1 issues mergedFormat conversion error: No choices in response - CC SwitchClinePass wraps the response in a data envelope, breaking parsing. Upgrade CC Switch to a version with the fix, or use a local proxy to unwrap response.data.1 issues mergedAfter switching, opening codex still uses the old account — CodexAfter switching OAuth accounts, fully restart the Codex background service. For CLI, run `codex app-server daemon stop`, then reopen Codex.1 issues mergedauth.json contamination in CodexIn Codex 3.16.0, the official login state remains in auth.json. Check provider, endpoint, and token for BYOK in config.toml.1 issues mergedmissing field `call_id`DeepSeek Responses rejected a Codex delegated task entry missing `call_id`; the issue did not confirm a user-side fix.1 issues mergedmissing field `call_id`Clean up orphaned heartbeat output entries when enabling requests through a proxy; this issue did not confirm that CC Switch has a fix.1 issues mergedNo API key configured for provider: customUpgrade Codex CLI and CC Switch to the latest versions; CC Switch supports reading the Codex CLI version from config.toml.1 issues mergedDisabled MCP takes effect again in CodexThis issue currently has no confirmed fix; if the problem persists, reopen the issue to continue tracking.1 issues mergedTool calls always hang: Codex function_call loses call_idA commenter confirmed non-empty id/name checks restore tool calls. The post also suggests bypassing CC Switch Responses translation to connect directly to…1 issues mergedThere Should Not Be Such a Huge Number of unknown Model Requests — CodexRetest on CC Switch 4.0.13. If many unknown requests remain, reopen the issue with the version, system, reproduction steps, and logs.1 issues mergedCopilot subscription model mapping not applied, still calls Claude modelsThis is a known bug in cc-switch v3.14.1. Upgrading to v3.15.0 fixes the issue where Copilot subscription model mapping is not applied.1 issues mergedClicking “Add” has no response, CodexEnter a non-empty `OPENAI_API_KEY` in `auth.json (JSON)` before adding, then change it back to `{}` afterward; the maintainer plans to remove this validation.1 issues mergedSessions may stop responding (JSONL stops being written) — Claude CodeUpdate CC Switch to the latest 4.0 release and retry. If it still hangs, temporarily bypass CC Switch and submit complete reproduction details.1 issues merged“Bash tool is continuously searched for but cannot be loaded or invoked properly” - Claude CodeBypass CC Switch and configure GLM directly in Claude Code; or upgrade to CC Switch 4.0.13 and retest.1 issues mergedHow to adjust GPT reasoning effort? Claude CodeThe original post did not provide a verifiable adjustment method. Follow subsequent discussion in this issue.1 issues mergedHermes is not detectedThe original report has no verifiable solution; the maintainer merged it into #4162 for tracking.1 issues merged“About” page hangs: Linux cc-switch tool detectionUpgrade to cc-switch 4.0; the maintainer says it substantially changed configuration switching and the interface, and many related problems no longer occur.1 issues mergedCannot set terminal process group: ioctl operationThe original post has not provided a verified fix. Follow Issue #5635 for updates.1 issues mergedMCP Configuration Differences Across CLI Tools, CodexThe same MCP service uses different configuration formats and parameters in Codex and Claude; no verified solution has been provided.1 issues mergedfailed to parse function argumentsNo verified fix is available. Check Codex session logs for truncated arguments JSON, then report it to the upstream provider or switch providers.1 issues mergedEffort is silently dropped for all muse-spark-* models in Claude CodeThe issue proposes adding muse-spark to an allowlist, but no verifiable fix is available yet.1 issues mergedexperimental_bearer_token = "PROXY_MANAGED"Upgrade to CC-Switch v3.16.2 or later. If it persists, sign in to Codex OAuth again and reopen the report as requested.1 issues merged[DISCUSS] Support for pi coding agentThis is a feature request merged into tracking issue #1855; the original post provides no verifiable solution.1 issues mergedModel does not respond, Claude CodeDelete all providers, then set the same model for the same provider to restore Claude Code conversations.1 issues merged401 Unauthorized caused by PROXY_MANAGEDUpgrade to 4.0 or the latest version; use the real API key from the provider configuration for routing.1 issues mergedunsupported call: — Codex tool call failedNo confirmed fix yet; CC Switch must preserve function_call name and call_id in streaming events.1 issues mergedNo tool output found for tool callNo official fix is confirmed. The reporter describes a local workaround that reorders tool calls and outputs. Follow the main issue for progress.1 issues mergedCannot start normally: window unresponsive, system requires force quitUpdate CC Switch to 4.0 or the latest version and retry. If it persists, provide the full version, steps, logs, and screenshots.1 issues mergedEnvironment variables not written: VS Code Claude pluginCheck VS Code `settings.json` for Claude environment variables; if present, comment them out and reopen Claude.1 issues mergedvscode Claude Code plugin cannot switch configuration immediately - Claude CodeThe VS Code Claude Code plugin cannot use a proxy or hot-switch; start cc from the terminal CLI for changes to take effect immediately.1 issues merged400 model provider error Claude Code pluginAdd the environment variables required by the current provider to VS Code’s claudeCode.environmentVariables setting so the plugin can read them.1 issues mergedWhite flash when switching tabs, CC SwitchThe issue may be related to a WebView2 153.x update. If it continues after upgrading to CC Switch v4.0, provide the version and reproduction steps.1 issues mergedError 2147942402 (0x80070002) — Claude CodeRecheck after upgrading to CC Switch v3.16.1 or later on Windows; temporarily set PowerShell as the preferred terminal.1 issues mergedcc-switch keeps opening detection windows when checking local codexWindows CLI detection causes windows and processes to pile up. The issue provides no verifiable fix; a timeout is only a user request.1 issues mergedcmd.exe console window flashesUpdate to 4.0 or the latest version and retry. If it persists, submit the version, system details, reproduction steps, and logs or screenshots.1 issues mergedWindow Size Overflows to 65535×53251, CC Switch Main Window InvisibleFully exit CC Switch, delete the window state file, and restart to clear the persisted invalid window size.1 issues mergedConfiguration Not Applied: Claude Code WSL Routing Config Not UpdatedSet the configuration directory to the file path used inside WSL in CC Switch Settings > Advanced. If the issue persists after upgrading to 4.0, provide…1 issues mergedNo models displayed after opening pi - piPoint CC Switch’s Pi configuration directory to the WSL `~/.pi/agent` path. The reporter confirmed that models appeared again.1 issues mergedClaude Code verification required when entering ClaudeIn Windows WSL, write the rule that skips Claude Code’s initial confirmation to the corresponding JSON; the maintainer confirmed the issue was fixed.1 issues mergedCannot start cc-switch; cc-switch --version produces no outputThe maintainer recommends reinstalling first; if it still cannot start, try the CLI version. Recovery was not confirmed in the original post.1 issues mergedCannot detect conversation history and usage statistics? Claude CodePoint the Claude configuration directory to the WSL path; route Claude Code in WSL through the cc-switch gateway for usage statistics.1 issues merged3.15.0 hangs on startup under WSLg: CC SwitchRolling back to 3.14.1 restores normal startup; alternatively, reproduce on the latest version and submit WSL, graphics environment, and startup output details.1 issues merged

Update and upgrade52

cc-switch usage query fails / keeps showing failed / undefinedUpgrade to v3.16.2+. If it still fails, fill in base_url and the access token in NewAPI format, or turn off auto-refresh and the usage query.20 issues mergedcc-switch update check fails / update install failsUsually insufficient permissions or GitHub network trouble. Install as administrator or use the portable build, or download manually from GitHub Releases.17 issues mergedmacOS cc-switch version detection error / freezeModify the fastfetch call in .zshrc to add a [[ -t 1 ]] check for non-interactive output.16 issues mergedsettings.json gets reset - Claude CodeWrite shared fields like plugins and hooks into "Common Config" and check write-back on switching; if takeover mode misbehaves, disable it, switch provider…12 issues mergedCC Switch Proxy Fails or Requests Are Blocked by the System ProxySet CC Switch's global outbound proxy to your proxy application's address, or bypass local requests in the system proxy, then restart CC Switch.11 issues merged"Failed to upload "image.png"" screenshot upload failedThis is not a cc-switch error. GitHub failed to upload the screenshot. Re-upload it or paste the error as text so maintainers can see it.10 issues mergedCodex conversations with third-party models frequently stop automaticallycc-switch loses function call name/call_id during Responses API conversion. Connect DeepSeek directly to Codex, or upgrade cc-switch and retest.7 issues mergedUnexpected status 502 Bad Gateway:CodexSet `NO_PROXY=127.0.0.1,localhost,::1` in `~/.codex/.env` so Codex connects directly to the local CC Switch port.7 issues mergedProvider API Key Overwritten: After Codex Restart or SwitchUpgrade to cc-switch v4.0.0 or later to prevent provider keys from overwriting each other and restore the official login state.6 issues mergedIt says 1.6 billion used — usage statistics spiking - CodexUpgrade cc-switch to v3.18.0 to fix the sub-agent history replay double-count bug; it rebuilds the polluted Codex usage data automatically.6 issues merged"Not logged in · Please run /login" - Claude CodeUpgrade cc-switch to v3.19.2+, or change ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN in settings.json by hand to skip the approval prompt.anthropic_api_key5 issues mergedTroubleshooting cc-switch Upgrade Failures, Freezes, and Display CorruptionUpgrade cc-switch: v3.16.3+ fixes update freezes, v3.20.0+ detects winget-installed Claude Code, and v4.0 refactors upgrades. Upgrade winget installs manually.5 issues mergedCommon Issues After Upgrading cc-switchUpgrade to v4.0 or later; most sync, switching, and display issues from older versions are fixed.5 issues mergedCodex Desktop project list disappears or reasoning levels are reduced - CC Switch configuration issueMost related issues remain unresolved. After upgrading CC Switch or switching providers, changes to Codex’s model_provider field can make project history…4 issues mergedenv: node: No such file or directoryUpgrading cc-switch to v3.18.0 or newer fixes the environment variable resolution failure caused by a stripped PATH in the GUI.4 issues merged502 Bad GatewayCodex/Claude Desktop reports 502 due to CLI proxy conflicts or app-server bypassing proxy. Remove proxy config or downgrade versions to fix.5024 issues mergedConfig changes in the GUI have no effect at allOMO v4.19.3 moved config to ~/.omo/omo.jsonc, so cc-switch writes to a dead path. Edit the new config file by hand, or upgrade cc-switch.4 issues mergedUsage query requires same-origin requests in cc-switchIn cc-switch, switch to the generic or custom template and enter the usage query URL directly in the request address to bypass the same-origin restriction.4 issues merged"deepseek-v4-flash" is not a modelMost related issues remain unresolved. Upgrade to CC Switch v4, enter the model's actual context window, and use [1m] only if it truly supports 1M.claude_code_max_context_tokens3 issues mergedOfficial account balance information suddenly missing in CodexUpgrade to the latest version, which reworked quota display in 4.0, and check again. If it is still missing, provide the version, login method, plan type…3 issues mergedConfiguration UI FlickeringUpgrade cc-switch to fix flickering from async form loading; read SQLite DB to fix env vars not updating with providers.3 issues mergedIO 错误: 当文件已存在时,无法创建该文件 (os error 183)A Junction/hard link configuration directory causes the error. Use a regular directory temporarily and wait for a cc-switch fix.win-error-1833 issues mergedNo skill found in the ZIP file (it must contain a SKILL.md)Upgrade cc-switch to v3.16.2 or newer, and delete the old directory by hand before importing a Skill of the same name.3 issues mergedCodex CLI failure: CC SwitchUpgrade cc-switch to v3.16.3 or later to fix blockers in local environment detection and the upgrade flow.2 issues merged[proxy::response_processor] [Claude] stream errorA stream decode error or timeout proxying Claude Code loses logs or records 0 tokens. Fix the model extraction fallback to show the right model.2 issues mergedAutomatic upgrade fails; reinstalling still shows old Codex versionNo verified solution yet. #3156 suggests uninstalling and reinstalling; #7080's version-detection issue remains unconfirmed.2 issues mergedAutomatic approval review failedThe CC Switch local proxy received an upstream 403 while handling the Codex /responses endpoint, causing automatic review to fail; no official fix is available.4032 issues mergedX-OpenAI-Internal-Codex-Responses-LiteComment out the custom provider model_provider setting and return to the built-in openai provider; alternatively, temporarily switch to gpt-5.4.2 issues mergedSession expired: Codex OAuth session expiredUpgrade to cc-switch v4.0.0 or later to prevent old snapshots from overwriting new login credentials.2 issues mergedKMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission deniedResolve cc-switch white screen DRM permission errors on Linux by disabling WebKit hardware acceleration, specifying NVIDIA rendering, or using the CLI version.drm_ioctl_mode_create_dumb2 issues mergederror code is 2503: CC Switch installation failureWhen error code 2503 occurs, try the NSIS -setup.exe installer; this issue thread does not confirm that the method works.2 issues mergedCC Switch flashes once when clicking any buttonOn Windows, use WebView2 152.0.4191.62 Fixed Version only for CC Switch to avoid click flashing with WebView2 153.0.4234.32.2 issues mergedRequest still uses the old session model, CodexSet all relevant provider configurations in the failover queue to the required model; when continuing an old session, select the target model in the Codex…2 issues mergedunexpected status 403 ForbiddenDisable 'Keep Official Login' in CC Switch and restart to stop Codex from sending image gen requests causing 403 errors.2 issues mergedtotal_cost_usd = 0: Claude CodeAdd pricing for claude-opus-5-5 to the model_pricing seed data to prevent imported request costs from being recorded as $0.1 issues mergedNot logged in · Please run /loginMove PROXY_MANAGED in ~/.claude.json from the rejected approval list to the approved list, then use routing again.1 issues mergedauth.json Is Force-Replaced, Making Codex UnusableUpgrade to a later version that includes the fix. Before upgrading, disable Codex takeover, sign in to official ChatGPT, then re-enable takeover.1 issues mergedCodex usage statistics failureAfter Codex updated to 26.917.51856, GPT-6 Sol usage statistics may remain at 0; the issue provides no confirmed fix.1 issues merged[CODEX-SYNC] deferred 4 CodexUpgrade cc-switch to v3.20.3 to fix Windows session files permanently deferred when mtime does not change.1 issues mergedLocal Codex is up to date, but CC Switch detects an older versionUpgrade to the latest CC Switch, then check the version, install location, and source shown for Codex on the “Applications” page.1 issues mergedCannot set terminal process group: ioctl operationThe original post has not provided a verified fix. Follow Issue #5635 for updates.1 issues mergedUnable to fetch modelsAfter upgrading to v3.16.4, fetch models again. If it still fails, add the provider, error text, or logs to the original issue.1 issues mergedOpenCode V2 Usage Collection Stops UpdatingUpgrade CC Switch to a version containing the PR #7541 fix so the collector reads OpenCode V2 tables.1 issues mergedFill in the API Key for an unofficial provider - Claude CodeUpgrade to cc-switch 4.0 or later. If the API Key field is still missing, provide the version, provider type, and a screenshot.1 issues mergedRequests keep failing after configuring a relay — Claude CodeEnable routing from the top bar, then apply it to Claude. “Enable full URL” does not enable routing. The reporter confirmed this fixed the issue.1 issues mergedOptional isolation forced output Claude CodeSet `strict: false` on ordinary function tools during Responses conversion and preserve the existing required fields in `required`.1 issues mergedSkill updates silently overwrite local changesBack up local changes before updating; the proposed fix will exclude locally modified Skills from “Update All.”1 issues mergedSkills remain as copies after automatic import, CC SwitchAutomatic import copies Skills to `~/.cc-switch/skills/` and does not delete the source directory in `~/.agents/skills/`.1 issues mergedCodex key abuse after opening CodexThe original report only describes suspected abnormal calls; no verifiable fix or virus file location was provided.1 issues mergedSelf-update check fails and latest model versions show as unknown - Claude CodeUpdate CC Switch to the latest version and retry; related functionality was refactored in 4.0, but the fix was not confirmed.1 issues mergedForm content is overwritten by the last entry when editing, cc-switchThis was a fixed cc-switch frontend issue; the original post did not state the specific version containing the fix.1 issues mergedClaude Code crashes on launchThe original post has not provided a verifiable fix. Follow the subsequent handling in Issue #2923.1 issues merged

Launch crash / blank screen30

cc-switch crashes on launch / white screen / black screen / background crashUpgrade to the latest. Windows white screen: install WebView2. Proxy crash: change port, upgrade to v3.9.1+. Old macOS/Linux: use the CLI or distro package.20 issues mergedEGL_BAD_PARAMETER: CC Switch White Screen on LinuxFor affected Linux AppImage environments, preload the host libwayland-client first. If the white screen remains, try the .deb package.egl_bad_parameter8 issues mergedeither event handler is re-entrantOn Windows, try WebView2 parameters if enterprise security software conflicts; the reports provide no generally verified fix.5 issues mergedzsh:1: command not found: claudeUpgrade cc-switch to v3.16.4 or newer, fixing PATH not loading when the terminal launches, or switch to the system default terminal for now.4 issues mergedCodex startup failure: missing supports_reasoning_summariesUpgrade cc-switch to v3.18.0 or later, then switch to the DeepSeek provider again to regenerate the model catalog. This automatically fills in the… (Codex)4 issues mergedunknown variant `image_url`, expected `text`Do not send images to models that do not support image input. Use text only, or wait for/use the merged automatic retry mechanism that removes images.4 issues mergedassertion failedUpgrade cc-switch to the latest version for the underlying GUI framework crash fix, or try closing proxy software and resetting the network.3 issues mergedcc-switch on Linux freezes when clicking input fields, UI does not refreshUpgrade to cc-switch v3.13.0 or later. It sets WEBKIT_DISABLE_COMPOSITING_MODE=1 at startup and applies a window focus fix.webkit_disable_compositing_mode3 issues mergedCould not create default EGL displayOn Linux, cc-switch forces WEBKIT_DISABLE_DMABUF_RENDERER=1, causing a blank window. Set it to 0 before launch to restore the UI.webkit_disable_dmabuf_renderer3 issues mergedASProxy64.dll Access Violation Causes CrashAdd cc-switch.exe to Astrill’s Help → Hard excluded apps, then sign in to Astrill again.2 issues mergedNo such file or directory (os error 2)Change the model_catalog_json absolute path in config.toml to the relative cc-switch-model-catalog.json, or upgrade cc-switch.2 issues mergedFailed to initialize gtk backend cc-switchRunning cc-switch in a headless environment (a server or container) errors for lack of GTK. Use the cc-switch-cli command-line build instead.2 issues mergedAbsolutePathBuf deserialized without a basemacOS Codex Desktop users can set model_catalog_json in config.toml to the absolute path of the model catalog file.2 issues mergedKMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission deniedResolve cc-switch white screen DRM permission errors on Linux by disabling WebKit hardware acceleration, specifying NVIDIA rendering, or using the CLI version.drm_ioctl_mode_create_dumb2 issues mergedClaude Code shows a white screencc-switch may not start on older systems. On Windows, update to 24H2; on macOS, try the maintainer-recommended CC Switch CLI.2 issues mergedhttp://127.0.0.1:15721 proxy configuration stuckUpgrade to CC Switch v3.16.2 to fix proxy hangs from corrupted backups, or use "Replace Config" mode to manually set env vars.anthropic_auth_token2 issues mergedMain Window Never Appears; CC Switch Fails to Start on WindowsCheck Windows updates and WebView2 arguments first; the issues do not confirm a general fix for all cases.2 issues mergedRequest exceeds the context windowNo verified solution was provided in the original post; this issue was closed as a duplicate related to catalog configuration and automatic compression.1 issues mergedCrash on Launch: CC Switch Windows Startup CrashReproduce on the latest version and provide the CC Switch, Windows, and WebView2 versions, along with the latest logs and Event Viewer error details.1 issues mergedsettings.json Is Fully RewrittenPut retained Claude Code project settings in `.claude/settings.local.json` to avoid loss when cc-switch overwrites user-level `settings.json`.1 issues mergedStill includes `disable_response_storage = true`No verified fix is available. A PR proposes removing disable_response_storage from generation paths, but its merge or release is unconfirmed.1 issues mergedCannot Open Codex or Claude Code After DEB Install on deepin23No verifiable solution is available in the original post. Follow the main discussion in #3133 for repair progress.1 issues mergedInput field cannot gain focus / cannot enter OpenCodeThere is currently no confirmed fix. In Linux Wayland and NVIDIA environments, the app freezes after entering an edit page.1 issues mergedBlank screen when adding a providerUpgrade to CC Switch 4.0.13. If it persists, report it again with the version, system environment, reproduction steps, and logs.1 issues mergedinvalid function arguments json string: CodexUpgrade cc-switch to 3.16.4 or later, then retest with MiniMax-M3.1 issues mergedCannot open the app after Loading, cc-switch PortableThe original post does not provide a verifiable solution; see the issue's follow-up discussion.1 issues mergedOptional isolation forced output Claude CodeSet `strict: false` on ordinary function tools during Responses conversion and preserve the existing required fields in `required`.1 issues mergedClaude Code crashes on launchThe original post has not provided a verifiable fix. Follow the subsequent handling in Issue #2923.1 issues mergedCC Switch Windows opens to a black screen and crashes after a few secondsWait for a later version that disables Overlay on Windows; the original issue provides no verifiable current fix.1 issues mergedCannot start cc-switch; cc-switch --version produces no outputThe maintainer recommends reinstalling first; if it still cannot start, try the CLI version. Recovery was not confirmed in the original post.1 issues merged

Install and packaging21

macOS cc-switch version detection error / freezeModify the fastfetch call in .zshrc to add a [[ -t 1 ]] check for non-interactive output.16 issues mergedcc-switch installation failure: dependency conflict, insufficient permissions, and antivirus false positivesOn older Linux, use a community build for missing dependencies; on Windows, install to AppData if permissions are insufficient;11 issues merged"Failed to upload "image.png"" screenshot upload failedThis is not a cc-switch error. GitHub failed to upload the screenshot. Re-upload it or paste the error as text so maintainers can see it.10 issues mergedskills installed to the wrong path - cc-switchOlder cc-switch installs skills into ~/.claude/skills/skills, which Claude Code ignores. Upgrade, or move the contents up to ~/.claude/skills/.8 issues mergedInstallation reports missing libwebkit2gtk-4.1.so.0 cc-switchOn Rocky 9, the RPM installation fails because a webkit dependency is missing. Upgrade the system to Rocky 10.1 to resolve it.5 issues mergedTroubleshooting cc-switch Upgrade Failures, Freezes, and Display CorruptionUpgrade cc-switch: v3.16.3+ fixes update freezes, v3.20.0+ detects winget-installed Claude Code, and v4.0 refactors upgrades. Upgrade winget installs manually.5 issues mergedSkill source directory missing SKILL.md; Claude Code skill installation failsIf installation reports missing SKILL.md, check the repository structure and confirm SKILL.md is in the resolved skill directory.4 issues merged`GLIBC_2.35' not foundNo confirmed compatible release exists from v3.10.1–v3.16.1. Try v4; if it still fails, report the version and reproduction steps.3 issues mergedopenclaw.json is not valid JSON - OpenClawAdd double quotes around the models key in ~/.openclaw/openclaw.json by hand to fix the strict JSON parse failure.3 issues mergedError 2503: CC Switch MSI Installation Fails on Windows 11Open Command Prompt as an administrator and run msiexec /i with the MSI file path.win-error-25033 issues mergedLocal Claude CLI installed but Settings says it isn'tUpgrade CC Switch to v3.16.5 or later to fix false installation conflicts and garbled paths on Windows.3 issues mergedSymlink target not found: .DirIcon broken symlink causes - CC SwitchAppImage install fails due to broken .DirIcon symlink. Fix by converting it to a relative path.2 issues mergedLocal proxy toggle UI component is truncated and cannot be fully displayedUpgrade cc-switch to the latest version to fix UI truncation caused by window scaling and tray menu overflow.home_url2 issues mergeddoes not run on macOS versions other than Monterey: CC Switch installation failureRun `brew update` and retry. If the cask is still locked to Monterey, change the macOS condition to `>= :monterey`.2 issues mergederror code is 2503: CC Switch installation failureWhen error code 2503 occurs, try the NSIS -setup.exe installer; this issue thread does not confirm that the method works.2 issues mergedCC Switch flashes once when clicking any buttonOn Windows, use WebView2 152.0.4191.62 Fixed Version only for CC Switch to avoid click flashing with WebView2 153.0.4234.32.2 issues mergedInstallation failed: Skill directory does not exist cc-switchUpgrade to cc-switch v3.14.0 or use local ZIP installation to fix URL install failures for repos with SKILL.md in the root.skill_dir_not_found2 issues mergedMain Window Never Appears; CC Switch Fails to Start on WindowsCheck Windows updates and WebView2 arguments first; the issues do not confirm a general fix for all cases.2 issues merged1M Context Configuration Not Taking Effect Claude CodeRevert the Opus route in the cc-switch database from claude-opus-4-8 to claude-opus-4-6, then restart Claude Desktop.1 issues mergedCannot Open Codex or Claude Code After DEB Install on deepin23No verifiable solution is available in the original post. Follow the main discussion in #3133 for repair progress.1 issues mergedInput should be a valid string: Codex image history 422Most related issues remain unresolved. Upgrade to cc-switch v3.20.4 and retry. If 422 persists, start a new session or roll back before the image.1 issues merged

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.