Codex Desktop App intermittently stuck on Thinking with anytls reuse=true (IpcRouter EPIPE)
Resolved 💬 0 comments Opened Feb 18, 2026 by mkfd Closed Mar 7, 2026
Summary
Codex Desktop App frequently gets stuck on Thinking when network traffic is routed through Surge with an anytls proxy using reuse=true.
Even after updating the Desktop App, the issue persists. Logs consistently show:
warning [IpcRouter] Socket error errorCode=EPIPE errorMessage="write EPIPE"
Environment
- OS: macOS (Apple Silicon)
- Codex Desktop App:
26.217.1959(build669) - Bundled agent in app:
codex-cli 0.104.0-alpha.1 - Standalone CLI installed:
codex-cli 0.101.0 - Network path: Surge enhanced mode -> LA node ->
anytlswithreuse=true
Reproduction
- Open Codex Desktop App.
- Ensure network goes through Surge with
anytls reuse=true. - Start/continue chat and send a few messages.
- App intermittently hangs at
Thinkingand does not complete normally.
Expected
Conversation should complete reliably without hanging.
Actual
Conversation intermittently stalls at Thinking, and app logs contain repeated EPIPE socket errors.
Evidence (local logs)
Recent examples (2026-02-18):
/Users/<redacted>/Library/Logs/com.openai.codex/2026/02/18/codex-desktop-93ba3f8e-b2aa-4053-8189-30d5e3f5527e-67959-t0-i1-213946-0.log:3221/Users/<redacted>/Library/Logs/com.openai.codex/2026/02/18/codex-desktop-eb063b33-bcce-4243-8ead-642bdf93418b-79538-t0-i1-222046-0.log:69/Users/<redacted>/Library/Logs/com.openai.codex/2026/02/18/codex-desktop-dbd4150e-669e-4d9b-a54e-0760a3ae9751-67089-t0-i1-213710-0.log:385
Representative log line:warning [IpcRouter] Socket error errorCode=EPIPE errorMessage="write EPIPE"
Notes
- This is reproducible on my machine and persisted after upgrading Desktop App.
- CLI and Desktop App behavior differs under the same proxy setup; Desktop App is significantly more likely to hang.