Repository navigation
Description
App version
ChatGPT macOS app / Work mode. Installed app Info.plist: version 26.1013.40934, build 20770. This is a ChatGPT Work execution using Codex tools, not a standalone Codex CLI reproduction. Reporting here because it involves the Codex execution sandbox; please redirect if another tracker is appropriate.
Subscription
ChatGPT Plus.
Platform
macOS 27.0.1, Apple Silicon (arm64), zsh.
What issue are you seeing?
Repeated Sites publishing attempts in Work mode fail with DNS/network errors. Independent read-only probes inside the agent terminal also fail for both example.com and api.openai.com.
The user reports the network access toggle was already enabled. The user added the following to ~/.codex/config.toml, and the agent directly read and parsed that file with Python tomllib to confirm the value:
[sandbox_workspace_write]
network_access = trueThe parsed value is {'network_access': True}. Top-level sandbox_mode and approval_policy are not explicitly set in that file. The active execution context nevertheless reports a workspace-write sandbox with restricted network access and a managed permission profile. Its granular approval policy disables sandbox approval, so the agent cannot request network escalation through that route.
This report does not establish whether ChatGPT Work is expected to honor this Codex config file, or whether a managed policy intentionally overrides it. The confusing behavior is that the UI/config changes do not produce working terminal connectivity or a clear explanation of the effective restriction.
Steps to reproduce / observed sequence
- Use the ChatGPT macOS app in Work mode with a local workspace.
- Ask the Sites plugin to publish a developer portfolio; repeated attempts fail with DNS/network errors (user-reported prior attempts).
- With the network toggle reportedly enabled, add the config block above.
- Ask the agent to check connectivity again. The following probe was executed on 2026-10-20 around 00:31 KST:
import socket
import urllib.request
import urllib.error
for host in ['example.com', 'api.openai.com']:
try:
addresses = sorted({r[4][0] for r in socket.getaddrinfo(
host, 443, type=socket.SOCK_STREAM)})
print(f'DNS {host}: OK {addresses}')
except Exception as e:
print(f'DNS {host}: FAIL {type(e).__name__}: {e}')
try:
with urllib.request.urlopen('https://' + host, timeout=10) as response:
print(f'HTTPS {host}: OK HTTP {response.status}')
except urllib.error.HTTPError as e:
print(f'HTTPS {host}: CONNECTED HTTP {e.code}')
except Exception as e:
print(f'HTTPS {host}: FAIL {type(e).__name__}: {e}')Actual output:
DNS example.com: FAIL gaierror: [Errno 8] nodename nor servname provided, or not known
HTTPS example.com: FAIL URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
DNS api.openai.com: FAIL gaierror: [Errno 8] nodename nor servname provided, or not known
HTTPS api.openai.com: FAIL URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
Expected behavior
If network access is permitted for this execution, DNS and outbound HTTPS should work. If a separate managed Work policy overrides the toggle or config, the UI should clearly identify the effective policy, why it takes precedence, and the supported way to allow network-dependent tasks such as Sites publishing.
Additional information / limitations
- GitHub connector API requests worked in the same conversation. These use a different execution path and do not establish terminal network connectivity.
- A same-command comparison in the user's ordinary terminal was not collected; this report does not claim the host OS has broken DNS.
- An app restart after the config change was not verified.
- The exact network layer responsible for the earlier Sites publishing failures has not been isolated; terminal probe failures are independently verified.
- No credentials, private workspace paths, portfolio contents, or account identifiers are included.
- Related Windows reports: Codex Desktop on Windows applies networkAccess=false despite network access being enabled #53278 and [Windows][Codex Desktop][durable] network_access=true but executor reports network restricted; hosted apps helper cannot connect #52236. This report concerns macOS and ChatGPT Work rather than Windows Codex Desktop.
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
syleemk commentedon Oct 19, 2026
Update: I resolved the problem by switching the execution mode to Codex and enabling Full Access. After making both changes, the network access problem was resolved.
Closing this issue as resolved for my setup. Since both settings were changed together, this does not isolate which change was responsible or establish a product bug.