Why can't codex cli enter interactive mode?

Resolved 💬 5 comments Opened Feb 27, 2026 by yangxu202 Closed Feb 27, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.106.0

What subscription do you have?

Free

Which model were you using?

_No response_

What platform is your computer?

Windows 11

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

Windows Terminal

What issue are you seeing?

There is no error. After entering the codex command, it will enter the interactive mode first and then exit immediately.

What steps can reproduce the bug?

After entering the codex command, it will enter the interactive mode first and then exit immediately.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 6 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #12899

Powered by Codex Action

etraut-openai contributor · 6 months ago

What do you mean by "interactive mode"? Please provide more detailed repro steps.

yangxu202 · 6 months ago
What do you mean by "interactive mode"? Please provide more detailed repro steps.

I just can't keep talking to codex.
After entering the codex command in the windows terminal, it will enter for a while and then exit to the command line immediately.

etraut-openai contributor · 6 months ago

Do you have reason to think this is a regression in 0.106.0? Was it working for you in a previous version?

Does this happen for threads created in all project directories or only within certain directories?

Do you have any non-default configuration settings in your config.toml file?

Are you running in WSL or native Windows?

yangxu202 · 6 months ago
Do you have reason to think this is a regression in 0.106.0? Was it working for you in a previous version? Does this happen for threads created in all project directories or only within certain directories? Do you have any non-default configuration settings in your config.toml file? Are you running in WSL or native Windows?

It should be a proxy problem. I changed the proxy and it can be used normally, but I still don’t know where the previous proxy software affected it.