Skip to content

docs: add macOS network sandbox troubleshooting to README - #10391

Closed
fede-kamel wants to merge 1 commit into
openai:mainfrom
fede-kamel:fix/macos-network-sandbox-docs
Closed

fede-kamel wants to merge 1 commit into
openai:mainfrom
fede-kamel:fix/macos-network-sandbox-docs

Conversation

@fede-kamel

Copy link
Copy Markdown

Summary

Context

On macOS, the seatbelt sandbox unconditionally sets CODEX_SANDBOX_NETWORK_DISABLED=1, causing all outbound network calls to fail — even when the user has explicitly set network_access = true in ~/.codex/config.toml. This affects cloud CLIs (OCI, AWS, GCP), curl, package managers, and any workflow requiring network from within a Codex session.

Multiple closed issues reference this problem (#8714, #5041, #3454, #5090) but none document the workaround in an easily discoverable place. This small README addition helps users find the fix without digging through issue threads.

On macOS, `network_access = true` in config.toml is silently ignored
by the seatbelt sandbox, causing all outbound network calls to fail.
This adds a troubleshooting section with a confirmed workaround.

Ref: #10390
@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@etraut-openai

Copy link
Copy Markdown
Contributor

We've updated our contribution guidelines to indicate that we're no longer accepting unsolicited code contributions. All code contributions are by invitation only. To read more about why we've taken this step, please refer to this announcement.

@fede-kamel

fede-kamel commented Feb 2, 2026 •

Copy link
Copy Markdown
Author

Understood — no problem at all. We respect the contribution guidelines.

That said, it's a bit disappointing that there isn't a clearer channel for engineers who use Codex daily to contribute back meaningful fixes. This issue affects real workflows (cloud CLIs, API clients, package managers — all broken under the macOS sandbox).

We did the work here — root cause tracing through the Rust code, confirmed workaround, integration tests proving the seatbelt behavior at the OS level, and tracing to help users debug the config resolution path. The issue and this PR will stay up as a reference for anyone searching.

Wishing you all the best with the project. It's a great product — hope the feedback loop with your user community keeps improving.

@etraut-openai

Copy link
Copy Markdown
Contributor

Just a few clarifications about the related issues you mentioned were "closed without workarounds":

@fede-kamel

Copy link
Copy Markdown
Author

Fair point — I overstated the connection to those issues. I'll clean up that comment. Thanks for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants