3,555 prompts from top AI collections
← Back to Market
[UNTESTED] [Monstercat-233/chatgpt-desktop-school-proxy] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,149 characters
Status: [UNTESTED] Endpoints found: http://proxy-dku.oit.duke.edu/wpad.dat Source: https://github.com/Monstercat-233/chatgpt-desktop-school-proxy # ChatGPT Desktop / Codex — School Proxy Fix (Windows) Fix the endless **"正在重新连接 / Reconnecting 1/5 → 5/5"** loop in the official ChatGPT desktop app when you are behind a school proxy that uses a PAC (automatic configuration script). ## The problem (two separate layers) The ChatGPT desktop app has **two** network layers, and each ignores the proxy in a different way: 1. **Chromium UI layer** — does not read the Windows PAC (`AutoConfigURL`). Direct connections to `chatgpt.com` time out → the window spins / won't load. 2. **Built-in Codex Rust backend** (`codex.exe`, a separate process handling the WebSocket) — does **not** read `--proxy-server` and does **not** use the system proxy by default. Its WSS connections go direct and fail, causing the `Reconnecting 1/5 … 5/5` loop. Only after falling back to HTTP does it work. Your browser (e.g. Edge) works out of the box because it **does** read the PAC, which routes `chatgpt.com` through the international proxy. ## The fix ### 1. Set the Windows system proxy to your school PAC Point `AutoConfigURL` at your PAC URL and disable the manual proxy: ```powershell $k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' Set-ItemProperty $k -Name 'AutoConfigURL' -Value 'http://proxy-dku.oit.duke.edu/wpad.dat' Set-ItemProperty $k -Name 'ProxyEnable' -Value 0 Set-ItemProperty $k -Name 'ProxyServer' -Value '' ``` Or in Windows Settings → Network & Internet → Proxy → "Use setup script", enter the PAC URL. Refresh the settings so apps pick it up (sign out/in or reboot). > Note: a PAC can return different proxies for different hosts. Make sure the > PAC sends `chatgpt.com` / `openai.com` to an **international**出口 that can > actually reach them. A domestic-only proxy may return 503 / `ERR_CONNECT_FAIL`. ### 2. Make the Codex backend respect the system proxy Edit `~/.codex/config.toml` (UTF-8 **without BOM**) and add one line under the existing `[features]` tabl
Download .txt