Skip to content

bug: codex doesn't recover from loss of connectivity #649

@NickSdot

Description

@NickSdot

What version of Codex is running?

0.1.2504221401

Which model were you using?

o4-mini

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

It happens quite regulary that it is thinking for like 240 seconds and then fails with:

  • Connection closed prematurely while waiting for the model. Please try again.
  • Network error while contacting OpenAI. Please check your connection and try again.

The errors point to connection issues. However, having a non-stable connection isn't a very rare situation for me. I would appreciate if situations like that would be handled a bit more graceful.

More retries? Loger waits? Not sure.

No VPN, nor proxy. #464 seems related. But the discussion goes more in the direction of a proxy, so I figured to open this one separately.

What is the expected behavior?

Either solve it alltogether, or make it easier to pick-up on previously failed sessions.

Additional information

Thanks for your hard work on Codex. Pretty cool thing!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions