`codex resume` repeatedly fails with "Timeout waiting for child process to exit"

Open 💬 4 comments Opened Apr 2, 2026 by hizhangwei1205

What version of Codex CLI is running?

0.118.0

What subscription do you have?

API pay-as-you-go

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Debian 13, x86_64

What terminal emulator and version are you using (if applicable)?

MobaXterm

What issue are you seeing?

codex resume fails consistently for one specific session ID. Reconnect retries appear, then it ends with: Timeout waiting for child process to exit. I can see session history, but new prompts never proceed. New sessions work normally, so this seems isolated to the resumed session state.

What steps can reproduce the bug?

  1. Run: codex resume sessionID
  2. Wait for reconnect attempts (Reconnecting...)
  3. Observe failure: Timeout waiting for child process to exit
  4. (Tried mitigation) Find and terminate only the stuck resume-related PIDs via pgrep -af codex + kill, then rerun resume
  5. Same error persists; only this session ID fails while new sessions are fine

What is the expected behavior?

codex resume <session_id> should reconnect successfully, restore an interactive prompt, and allow sending new messages in that resumed session without timing out.

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗