Skip to content

[Windows][Codex Desktop][durable] network_access=true but executor reports network restricted; hosted apps helper cannot connect #52236

Open

Description

@makki003

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 backend unelevated, approval_policy="never".
  • User-level config.toml includes (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)

  1. In a normally sandboxed shell, CODEX_SANDBOX_NETWORK_DISABLED=1 was observed on 2026-10-08 20:49:51 JST and again on 2026-10-09 04:03 JST. The execution context also presented workspace-write / network restricted. The variable was not recorded at the exact moment of the failure below.
  2. At 2026-10-08 20:33:43–45 JST, the official library_download.py helper was launched directly with the documented stdin JSON contract and an isolated, empty destination within a diagnostic workspace. Python started, but the helper stopped before prepare_materialize or any file transfer:
    library download request failed: hosted apps tools/list request failed: connection
    
  3. Implementation inspection showed that the helper uses HostedAppsClient / urllib to make an HTTPS tools/list request to the hosted apps gateway (default https://chatgpt.com/backend-api/wham/apps when CODEX_APPS_MCP_URL is unset), rather than the codex_app local pipe. The helper maps underlying URL/connection errors into the generic connection message; the underlying exception type and errno were not preserved in the final stderr.
  4. 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.
  5. 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=true expected 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/list be 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

  1. added
    documentation
    app
    windows-os
    sandbox
    connectivity
    app-server
    on Oct 8, 2026
  2. github-actions commented on Oct 8, 2026

    @github-actions
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverconnectivitydocumentationsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions