Repository navigation
Description
Summary
Please investigate a mismatch between the configured network permission and the effective network restriction for a Codex Desktop durable thread with a Windows executor. This is a request to clarify the resolved policy and its origin, not a confirmed product bug.
Environment
- OS: Windows (exact build not recorded).
- Installed Codex Desktop package:
26.1002.7124.0; the running App Server version was not verified. - Thread: cloud-managed /
hostId=durable, using a Windows host executor. - Sandbox:
workspace-write, Windows backendunelevated,approval_policy="never". - User-level
config.tomlincludes (in the correct section):
sandbox_mode = "workspace-write"
approval_policy = "never"
[sandbox_workspace_write]
network_access = true
[windows]
sandbox = "unelevated"No project-level .codex/config.toml was found along the inspected workspace path, and no user-defined profile was found. This does not rule out managed or launch-time overrides.
Observations (Japan Standard Time, UTC+09:00)
- In a normally sandboxed shell,
CODEX_SANDBOX_NETWORK_DISABLED=1was observed on 2026-10-08 20:49:51 JST and again on 2026-10-09 04:03 JST. The execution context also presentedworkspace-write / network restricted. The variable was not recorded at the exact moment of the failure below. - At 2026-10-08 20:33:43–45 JST, the official
library_download.pyhelper was launched directly with the documented stdin JSON contract and an isolated, empty destination within a diagnostic workspace. Python started, but the helper stopped beforeprepare_materializeor any file transfer:library download request failed: hosted apps tools/list request failed: connection - Implementation inspection showed that the helper uses
HostedAppsClient/urllibto make an HTTPStools/listrequest to the hosted apps gateway (defaulthttps://chatgpt.com/backend-api/wham/appswhenCODEX_APPS_MCP_URLis unset), rather than thecodex_applocal pipe. The helper maps underlying URL/connection errors into the genericconnectionmessage; the underlying exception type and errno were not preserved in the final stderr. - Separately, directly exposed Google Drive connector metadata/fetch actions worked in the durable thread. These actions run through the tool platform, so their success does not demonstrate Windows helper HTTPS access.
- The bundled App Server documents read-only
config/read/configRequirements/read, but no supported path to invoke these on the existing App Server was available through the published tools in this diagnostic context. Consequently, resolved origins/layers, management requirements, launch-time overrides, and executor-level applied policy remain unknown.
Expected / requested maintainer guidance
- Is
network_access=trueexpected to apply to a cloud-managed durable thread's Windows executor, or does a separate managed/network policy intentionally override it? - Which policy layer imposed
network restricted, and is there a supported read-only diagnostic route to retrieve effective policy, origins/layers, and any management constraints for the existing durable execution? - Can the lower-level failure for hosted apps
tools/listbe obtained via a supported diagnostic or logs (exception type / errno), to distinguish sandbox restriction from DNS, proxy, TLS, TCP, or authentication issues? - If this is intended behavior, please document the supported file-transfer path for an authorized Google Drive / Library external file into a Windows workspace without bypassing sandbox restrictions.
Safety / limitations
No network restriction was disabled or bypassed; no privilege elevation, reboot, config edit, or modification of an active development task was performed. The source external file's metadata and file reference could be read, but Windows transfer was not reached. The proximate failure cannot yet be attributed conclusively to network sandboxing.
Local usernames, complete workspace paths, credentials, signed URLs and tokens are intentionally omitted.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action