Codex not starting on highly restricted network

Open 💬 5 comments Opened Mar 11, 2026 by ATofighi

What version of Codex CLI is running?

codex-cli 0.111.0

What subscription do you have?

chatgpt plus / remote openai api with custom base url

Which model were you using?

gpt5.4 / custom opensource model

What platform is your computer?

Linux 6.8.0-101-generic x86_64 x86_64

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

_No response_

What issue are you seeing?

We use codex on highly restricted network which only some specific domains are allowed and there is no access to other ip or domains.

I'm using codex with a custom openai base_url which is allowed in our network. but in new version of codex I get this error:

codex
Error loading configuration: timed out waiting for cloud requirements after 15s

What steps can reproduce the bug?

Use codex on a highly restricted network which almost everything blocked using iptables!

What is the expected behavior?

I should be able to start codex and use it using a custom base url

Additional information

It seems that If I turn off my network, I can start codex and then everything works well.

View original on GitHub ↗

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