Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
The ChatGPT Work/desktop application version has not been independently verified from the About dialog. The separately installed CLI reports codex-cli 0.136.0; this is provided for context and should not be treated as the affected application's version.
What subscription do you have?
ChatGPT Pro.
What platform is your computer?
Microsoft Windows NT 10.0.26200.0, running native PowerShell.
Observed on October 28, 2026.
What issue are you seeing?
In a ChatGPT Work conversation using a local Windows command executor, outgoing TCP connections fail immediately with Windows socket error 10013 / WSAEACCES.
I added the following configuration, restarted the application, and subsequently granted Full access in the UI:
[windows]
sandbox = "elevated"
[sandbox_workspace_write]
network_access = trueThe executor verified that the network setting is present in the user configuration file. Nevertheless, repeated checks in the same conversation still show:
- A direct TCP connection to my SSH server on port 22 fails with native socket error
10013. - A direct TCP connection to
1.1.1.1:443fails with the same error. This test does not depend on DNS. [System.Net.Dns]::GetHostAddresses('github.com')fails with a host-not-found error.CODEX_SANDBOX_NETWORK_DISABLED=1.CODEX_NETWORK_PROXY_ACTIVEis not set.HTTP_PROXY,HTTPS_PROXY, andALL_PROXYare not set.- The effective execution context supplied to the agent still describes
workspace-writewith restricted network access.
The user-selected UI state and the policy reaching the executor appear inconsistent. I cannot determine whether the source is session permission propagation, a higher-priority policy, or another Windows sandbox issue.
What steps can reproduce the bug?
- Start a ChatGPT Work conversation with local Windows command execution.
- Add
[sandbox_workspace_write] network_access = trueto the user configuration. - Restart the application and grant Full access in the UI.
- Ask the agent to test SSH and general TCP connectivity.
- Observe that the executor still reports the disabled-network flag and rejects outgoing connections.
A minimal PowerShell probe for the affected execution environment:
$probeClient = [System.Net.Sockets.TcpClient]::new()
try {
$probeTask = $probeClient.ConnectAsync('1.1.1.1', 443)
if (-not $probeTask.Wait(5000)) {
throw [System.TimeoutException]::new('TCP connection timed out')
}
'CONNECTED'
} catch {
$probeError = $_.Exception.GetBaseException()
$probeError.Message
if ($probeError -is [System.Net.Sockets.SocketException]) {
'NativeErrorCode: ' + $probeError.NativeErrorCode
}
} finally {
$probeClient.Dispose()
}
[Environment]::GetEnvironmentVariable('CODEX_SANDBOX_NETWORK_DISABLED')Observed results: native socket error 10013, followed by the environment flag value 1.
What is the expected behavior?
The command executor should honor the effective network permissions selected for the conversation. If a higher-priority policy intentionally prevents access, the UI should identify that policy and its source and explain which supported setting can change it.
Changing configuration and granting access should not leave users repeatedly testing an execution environment whose effective permissions silently remain restricted.
Additional information
- Related reports: Codex Desktop on Windows applies networkAccess=false despite network access being enabled #53278 and [Windows / ChatGPT Work] Executor runs as CodexSandboxOffline with approval_policy=never despite internet access enabled; SharePoint downloads fail with WSAEACCES #55828. This may share their root cause; I cannot establish that from the available diagnostics. Please consolidate this report if appropriate.
- Tailscale was considered during troubleshooting. Later checks showed no Tailscale interface or routes, with the default IPv4 route going directly through the Wi-Fi gateway, but both TCP tests continued to fail with
10013. This does not conclusively exclude every local networking cause. - Connectivity from ordinary, non-sandboxed PowerShell has not been independently verified in this report.
- No SSH authentication was attempted during the TCP probes. Private server addresses, credentials, keys, and raw private logs are omitted.
Activity
github-actions commentedon Oct 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
jpdaly797979-cmyk commentedon Nov 4, 2026
I have the exact same problem as above. I've tried changing ports and editing relevant MD files aswell as .toml files. It runs fine through browser, I only have the issue in desktop GPT app (codex). Ergo its an Codex Issue.
orcsab commentedon Nov 5, 2026
Same issue here. I'm not sure what else I can do besides post this "me, too" to get the developers to fix this.
bradcarroll commentedon Nov 7, 2026
Additional Windows reproduction filed as #60058, using ChatGPT desktop Work version 26.1103.32239 (version reported by the user). Full access appears in the new-chat composer; the permission control then disappears according to the user, while the execution session reports workspace-write/restricted network. A bounded, pinned SSH check fails at the jump-host connection with SSH exit 255 /
Permission deniedbefore authentication. Restarting the desktop app and retrying from the same conversation in the web UI did not change the result. No native socket error, HTTPS or DNS tests were collected for this reproduction, and we have not established that it shares this issue's root cause. Full observations and diagnostic limits: #60058 . Please consolidate if appropriate.cornebistouille commentedon Nov 15, 2026
Additional reproduction on November 15, 2026, in ChatGPT Work using native Windows PowerShell.
The user reports selecting Full access in the UI. The execution environment supplied to the agent nevertheless explicitly declares workspace-write, restricted network access, and automatic rejection of sandbox elevation requests. These are declared permissions; the underlying enforcement mechanism has not been identified.
A read-only SSH check against a private LAN host fails before authentication:
The execution tool reports exit_code=1. Before SSH output it also prints:
No causal relationship between this PowerShell startup message and the socket failure is established.
The user previously demonstrated successful SSH to the same host from ordinary Windows PowerShell; that control was not rerun during today's check. Today's trace confirms that the SSH alias configuration is read, then TCP connection establishment fails with Winsock 10013. No configuration was changed or bypass attempted.
We have not established the precise enforcing component or a shared root cause with this issue. Could maintainers clarify how to identify the source of the effective restricted network policy when the UI shows Full access, and whether there is a supported fix? The app version and exact Windows build were not collected during this check.
gsg9swat-commits commentedon Nov 22, 2026
Same issue.
debug1: Connecting to [VPS_IP] [redacted] port 22. debug3: finish_connect - ERROR: async io completed with error: 10013 ssh: connect to host [redacted] port 22: Permission denied
Misha20062006 commentedon Nov 22, 2026
I reproduced the same outbound TCP failure on November 22, 2026, in a local ChatGPT Work session on Windows.
Environment
10.0.26300.0, PowerShell7.6.9, and OpenSSH for Windows9.5p2.config.tomlhassandbox_mode = "danger-full-access",approval_policy = "never", and[windows] sandbox = "elevated".workspace-writeprofile with restricted network access. Sandbox escalation approvals were disabled for this session.CODEX_SANDBOX_NETWORK_DISABLED=1.CODEX_NETWORK_PROXY_ACTIVEwas unset.Observed behavior
4922exited with code255and reportedPermission deniedwhile opening the connection, before SSH authentication.System.Net.Sockets.TcpClientprobe returnedSocketErrorCode = AccessDenied,NativeErrorCode = 10013both for that SSH endpoint and for the public control1.1.1.1:443. Both probes used literal IP addresses.The failure can be checked from the affected Work session without any SSH credentials:
The desktop app version and the composer’s permission selection were unverified in this reproduction. Could you clarify how a local Work session gets a managed, network-disabled profile when the user-level config specifies full access, and whether there is a supported fix for an affected chat? This also looks related to #61794.
Misha20062006 commentedon Nov 22, 2026
Follow-up after a full Windows reboot and Codex restart (November 22, 2026)
I repeated the checks in the same local ChatGPT Work conversation after restarting both Windows and Codex. The failure persisted.
CODEX_SANDBOX_NETWORK_DISABLED=1.4922still exited with code255andPermission deniedwhile opening the connection, before authentication.TcpClientprobe still returnedAccessDenied (10013)for both the SSH endpoint and the DNS-independent control1.1.1.1:443.This is a blocker for my workflow. I cannot use the affected Work conversation to administer my servers over SSH, and the control confirms that the failure also affects a separate HTTPS endpoint.
Could you prioritize investigating why this Work session still starts with networking disabled after a reboot and share a supported way to restore network access for the affected conversation?
The environment and minimal PowerShell reproduction are in my earlier comment.
designandtecnology commentedon Nov 25, 2026
I reproduced a similar TCP access failure with a local MySQL server in
ChatGPT Work on Windows on November 25, 2026.
returns TcpTestSucceeded: True, and php spark migrate:status succeeds.
A direct PHP TCP probe to 127.0.0.1:3306 returns Winsock error 10013
(WSAEACCES).
separate CodeIgniter cache startup error. The Microsoft Store shows the
ChatGPT app was updated today, and the issue still reproduces.
ChatGPT for Windows version: 26.1120.50957 (released November 24, 2026), as shown in About ChatGPT. The local MySQL connection still fails with Winsock error 10013 in ChatGPT Work, while the same command succeeds in VS Code PowerShell.
Is there a supported way to allow the Work executor to connect to a local
MySQL server on 127.0.0.1:3306? What diagnostics would help identify which
network policy applies to the session?
lotusv2 commentedon Nov 28, 2026
Additional reproducible diagnostic result (Nov 28, 2026): ChatGPT Work on Windows selects the offline sandbox account despite network access being enabled in both Work and Codex settings.
Environment: Windows 11 Pro (build 22000), desktop app 26.1120.6357.0, bundled codex-cli 0.171.0-alpha.13.2. User config:
sandbox_mode = "workspace-write",[windows] sandbox = "elevated",[sandbox_workspace_write] network_access = true.A/B test on the same machine, using the bundled executable and the same base user configuration:
Standalone CLI was launched from normal PowerShell with
codex.exe --no-daemon -s workspace-write -a on-request -C "$env:USERPROFILE". A model-executed TcpClient probe succeeded. The Work probe failed before SSH authentication; its request for expanded permissions was automatically rejected (sandbox_approval: false), with no user prompt. Normal PowerShell also connects successfully.codex doctorreports restricted filesystem, enabled network, approval OnRequest, elevated sandbox backend, provisioning complete, and valid config parsing. It explicitly does not inspect active thread overrides. Restarting the app, toggling network settings, creating a new Work conversation, and reinstalling tools did not resolve the reported behavior. The Work file-access dropdown offers workspace-write but no full-access option in this UI.This isolates the observed discrepancy to the effective execution policy selected for Work versus standalone CLI, rather than a general inability of the Windows sandbox to permit networking. The exact source of the Work policy override remains unknown. Could the team investigate why Work selects the offline account despite the enabled network setting, and why approval requests are suppressed? No sandbox bypass was used.