Status: [LIVE] Endpoints found: https://api.openai.com/v1/responses Source: https://github.com/moneycat957/codex-desktop-reconnecting-fix # Codex Desktop Reconnecting Fix / Codex 桌面端 Reconnecting 修复 Practical fixes for the Codex Desktop issue where a new conversation repeatedly shows: ```text Reconnecting... 1/5 Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5 ``` 中文:这个仓库整理 Codex Desktop 新会话第一次提问时反复出现 `Reconnecting... 1/5` 到 `5/5` 的排查和修复方案。 ## Tested Environment / 实测环境 - Windows 11 - Codex Desktop - Codex CLI `0.130.0-alpha.5` - Model: `gpt-5.5` - Local proxy: `127.0.0.1:10808` - Date tested: 2026-05-18 ## Symptom / 现象 English: - Codex Desktop can log in. - `gpt-5.5` can work after retries. - Every new conversation or first turn shows multiple reconnect attempts. - Logs may include plugin sync failures, Cloudflare 403 responses, or conversation startup races. - CLI may work only when proxy environment variables are set explicitly. 中文: - Codex Desktop 可以登录。 - `gpt-5.5` 不是完全不可用,重试后有时能继续回答。 - 每次新建会话或第一次提问都会连续 `Reconnecting`。 - 日志里可能出现插件同步失败、Cloudflare 403、或者新会话状态初始化 race。 - CLI 在显式设置代理环境变量后可以正常调用模型。 ## Recommended Fix / 推荐方案 This is the workaround that fixed the issue in our Windows Desktop setup while keeping `gpt-5.5`. 中文:这是本次实测有效的方案,可以继续使用 `gpt-5.5`,不是换模型。 ### 1. Keep GPT-5.5, reduce startup pressure / 保留 GPT-5.5,降低启动压力 Edit: ```text %USERPROFILE%\.codex\config.toml ``` Set: ```toml model = "gpt-5.5" model_reasoning_effort = "medium" ``` 中文说明:`medium` 只是推理强度,不是换模型。连接稳定后可以再改回 `high` 或 `xhigh`。 ### 2. Disable startup sync features temporarily / 临时关闭启动同步功能 Add or update: ```toml [features] apps = false browser_use = false browser_