|
I have a problem with codex in the nono sandbox not being able to fetch packages from pypi.org using uv. This is my local override. I had to add the Also, I had to add two domains: {
"extends": [
"always-further/codex"
],
"meta": {
"name": "codex",
"version": "1.0.0",
"description": "Profile for Codex",
"author": null
},
"filesystem": {
"allow": [
"$HOME/.cache/codex-runtimes",
"$HOME/.cache/uv"
]
},
"network": {
"network_profile": "codex",
"allow_domain": [
"chatgpt.com",
"ab.chatgpt.com",
]
}
}The URL seems to be allowed in the sandbox: nono why --profile codex --host https://pypi.org/simple/dummy_test/
ALLOWED
Reason: network_allowed
Access: Connection to pypi.org:443 would be allowedAnd indeed, running nono run --profile codex --allow-cwd -- uv add dummy_test
...
Resolved 2 packages in 997ms
Built dummy-test==0.1.3
Prepared 1 package in 91ms
Installed 1 package in 0.74ms
+ dummy-test==0.1.3or nono run -v --profile codex --allow-cwd -- /bin/zsh -c 'uv add requests'
Resolved 1 package in 4ms
Uninstalled 5 packages in 6ms
- certifi==2026.6.17
- charset-normalizer==3.4.7
- idna==3.18
- requests==2.34.2
- urllib3==2.7.0However, if I ask nono run --allow-cwd --profile codex -- codex --sandbox danger-full-access --ask-for-approval on-request exec --skip-git-repo-check "Run the following command, nothing else: `uv add --dev dummt_test`"
...
exec
/bin/zsh -c 'uv add --dev dummt_test' in /Volumes/Storage/workspace/minimal-test
exited 2 in 6482ms:
error: Request failed after 3 retries in 6.5s
Caused by: Failed to fetch: `https://pypi.org/simple/dummt-test/`
Caused by: error sending request for url (https://pypi.org/simple/dummt-test/)
Caused by: client error (Connect)
Caused by: tcp connect error
Caused by: Operation not permitted (os error 1)
codex
`uv add --dev dummt_test` failed while trying to reach PyPI: `Failed to fetch: https://pypi.org/simple/dummt-test/`And nono reports: Sandbox blocked system services:
network-outbound (remote:*:443)It fails regardless of the package. Update: I'm running into the same issue when codex is trying to install packages using nono why --profile codex --host https://registry.npmjs.org
ALLOWED
Reason: network_allowed
Access: Connection to registry.npmjs.org:443 would be allowedHowever, when codex is executing the And nono reports: Sandbox blocked system services:
network-outbound (remote:*:443)Why is that? What am I missing? Update July 6, 2026: Both I asked Codex/GPT-5.5 to self-diagnose, and it returned:
|
Replies: 1 comment
|
TLDR; Don't set The issue appears to be the Codex's After setting: allow_login_shell = falsetool commands no longer appear to run inside nono: nono why --self --host registry.npmjs.org --port 443returned: Codex diagnostics showed that nono proxy variables were missing: Codex still reported its own network sandbox as active: This failure mode is confusing because the nono profile can be correct and domains can be allowed, but Codex tool commands still fail because they no longer appears to run in the nono context and disregards the nono proxy. I don't know if this is a bug in Codex, or an expected behavior. |
TLDR; Don't set
allow_login_shell = falsein Codex when wrapping in nono sandbox or the exec tool will fail on network requests.The issue appears to be the
allow_login_shell = falseCodex setting.Codex's
allow_login_shell = falseappears to change the tool-command launch path so commands are not executed as normal descendants of the nono-launched shell environment.After setting:
tool commands no longer appear to run inside nono:
returned:
Codex diagnostics showed that nono proxy variables were missing:
Codex still reported its own netw…