Codex CLI request hangs on network change (VPN disconnect)

Open 💬 4 comments Opened Mar 19, 2026 by Artemooon
💡 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.115.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4

What platform is your computer?

_No response_

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

_No response_

What issue are you seeing?

CLI stays in "working" state and does not complete or fail visibly on network change or VPN disconnect.

What steps can reproduce the bug?

Steps to reproduce:

  1. Connect to VPN
  2. Start a Codex CLI request that requires network access
  3. Disconnect VPN before the request completes
  4. Observe the CLI state

What is the expected behavior?

The CLI should either:

  • fail fast with a clear network/connectivity error.
  • abort the request.
  • or retry/re-establish transport when possible.

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

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

  • #15014
  • #13949
  • #13406
  • #13710

Powered by Codex Action

etraut-openai contributor · 5 months ago

If you're able to repro this problem, please use /feedback to upload your logs and paste the thread ID here.

tamoghnokandar · 5 months ago

I am facing a similar issue. This is my thread id - 019d21d0-ba8b-7c62-814c-de9e190380d6

timmyjose · 3 months ago

Yes, this is extremely annoying. Thread id: 019e49ee-0698-7d33-9c01-407cc91f873b