Skip to content

Codex Desktop App intermittently stuck on Thinking with anytls reuse=true (IpcRouter EPIPE) #12196

Closed

Description

@mkfd

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 (build 669)
  • 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 -> anytls with reuse=true

Reproduction

  1. Open Codex Desktop App.
  2. Ensure network goes through Surge with anytls reuse=true.
  3. Start/continue chat and send a few messages.
  4. App intermittently hangs at Thinking and 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.

Activity

  1. added
    bug
    app
    on Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions