Codex✓ Confirmed in official docsAdded Nov 10
How to make Codex use the macOS or Windows system proxy with respect_system_proxy
By default, Codex CLI ignores the macOS and Windows system proxy settings (respect_system_proxy is off). On a corporate network where traffic has to go through the system proxy, Codex may fail to reach the model provider. Starting with 0.167.0, you can turn this on from the experimental features menu.
- Update Codex to 0.167.0 or later.
npm install -g @openai/codex@0.167.0
- Inside Codex, open
/experimental, check System proxy with Space, and press Enter to save. To turn it on straight from the terminal, run:
codex features enable respect_system_proxy
- Restart Codex after changing the setting.
If codex doctor reports "provider is unreachable" and says a macOS system proxy is configured but unused, this is the fix. Codex itself suggests checking with your administrator first if you're on a company network. It's still experimental, so it appears only in the release notes and the PR, not in the docs yet.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.