Skip to content

[Work Cloud][Windows] Connected PC executor cannot resolve DNS or initialize Library save, while local Work succeeds #54323

Open

Description

@katsukatsukan

Summary

A cloud-synced ChatGPT Work conversation executed on my connected Windows computer, but that execution path could not resolve public domains or initialize the formal Library save helper. An ordinary local Work task on the same PC succeeded with DNS, HTTPS, public Git, and an Excel Library save under Custom (config.toml) permissions. After I shut down the PC and continued the same cloud Work conversation from iPhone, a new turn ran in a Linux cloud container. The local/cloud turn routing matches the documented feature; the failure is the unusable network/save path when the connected Windows executor is chosen.

This was observed after a ChatGPT desktop update on October 15, 2026 (Japan time). The exact installed app version and the causal relationship to the update were not established. The symptoms were observed from the Windows desktop app and when continuing the same synced conversation on web; mobile also showed errors during the broader investigation, but the specific mobile error was not captured in the controlled reproduction below.

Environment and reproduction

  • Windows 11 x64, OS build 10.0.26300; ChatGPT desktop app, cloud Work conversation with connected local computer access.
  • The cloud Work conversation was available on desktop, web, and iPhone.
  • On the PC, normal PowerShell successfully resolved github.com and curl.exe -I https://github.com/ returned HTTP 200.
  • An ordinary local Work + Custom task on the same PC reported CODEX_SANDBOX_NETWORK_DISABLED unset; GitHub DNS and HTTPS 200, public git ls-remote, and Excel Library save succeeded.
  • In a new cloud Work diagnostic turn started from the PC app at 2026-10-16 00:01:38 JST, the command tool ran on Windows, with the same hostname as hostname in normal PowerShell and the same local user folder (identifiers redacted). Python 3.11.15; CODEX_SANDBOX_NETWORK_DISABLED=1; Python reported no proxy.
  • In that cloud Work/Windows executor, Python socket.getaddrinfo for chatgpt.com, help.openai.com, and github.com each failed with gaierror [Errno 11001]. urllib.request HTTPS to all three failed at DNS with no HTTP response. git ls-remote https://github.com/openai/codex.git HEAD failed exit 128, Could not resolve host: github.com. Creating and reading back fresh small TXT and PNG files locally succeeded. The formal Library save helper failed before upload with hosted apps tools/list request failed: DNS; no Library ID was returned and retrieval was not possible.
  • At 00:16:31 JST, after quitting the desktop UI, a new command in the same cloud Work conversation from web still ran on Windows (new UUID in the tool output), same hostname, CODEX_SANDBOX_NETWORK_DISABLED=1.
  • I then shut down the PC. At 00:20:20 JST, a new command in the same cloud Work conversation from iPhone ran on Linux x86_64 in /workspace/scratch/..., with a different hostname and Python 3.12.14. This last turn checked the execution environment only, not networking.
  • Separately, another Linux cloud Work session at 23:22–23:23 JST October 15 succeeded with GitHub HTTPS 200, public git ls-remote, and formal Library save/retrieval/byte comparison of fresh TXT and PNG. Direct getaddrinfo failed there, while normal configured proxy HTTPS worked; this is a separate session and should not be treated as a retest of the Windows helper.

Expected

If connected Windows execution is selected for cloud Work, its effective policy and tool path should allow the intended authorized task (or clearly report the applicable restriction). If the formal Library save path is unavailable, it should not be reported as a generic DNS failure while other official save paths may work. A cloud Work task should remain useful when its connected PC executor is available.

Please investigate the effective network permission and hosted-apps tool initialization for cloud-orchestrated Work executing on a connected Windows PC, compared with ordinary local Work on that same PC. Determine whether this is intentional policy, policy delivery mismatch, or a regression. No security settings were disabled, restrictions bypassed, credentials exposed, or existing project artifacts changed.

Activity

  1. added
    bug
    app
    windows-os
    connectivity
    sandbox
    on Oct 15, 2026
  2. github-actions commented on Oct 15, 2026

    @github-actions
    Contributor
  3. katsukatsukan commented on Oct 15, 2026

    @katsukatsukan
    Author

    Thank you. I reviewed #53278 and #53501. The networking symptoms appear closely related, but I have not confirmed a shared root cause.

    This report adds a comparison between:

    • Local Work with Custom permissions: networking succeeds.
    • Cloud Work executing on the same connected Windows PC: DNS, Git, and the Library save helper fail.
    • The same cloud conversation after shutting down the PC: the next turn runs in a Linux cloud environment. This last turn verified the execution environment only; it did not retest networking or saving.

    I am keeping this issue open because of these additional execution-path findings. Please link or close it as a duplicate if you confirm that the underlying cause is the same.

  4. katsukatsukan commented on Oct 16, 2026

    @katsukatsukan
    Author

    Additional reproducible Windows/Linux comparison: the Library metadata helper calls os.setxattr on Windows and raises an exception.

    Tested on October 16, 2026 (JST), after updating the Windows desktop app to 26.1013.3656.0 (version confirmed by the user).

    Execution environment Observation
    Connected Windows PC, OS 10.0.26300, Python 3.11.15; turns from the desktop app at approximately 14:03 and web at approximately 14:07 Direct create_library_file succeeds and the saved text can be read from Library. The subsequent documented library_file_transfer.py apply-xattrs PATH LIBRARY_FILE_ID step fails with the traceback below.
    Linux 6.18.44 x86_64, Python 3.12.14; new turn in the same cloud Work conversation from iPhone at approximately 14:15–14:17, Windows executor shown unavailable Direct Library create and the same metadata helper succeed. Separately, the upload helper also succeeds. The directly saved 92-byte text is retrieved into a different folder and matches the original byte-for-byte and by SHA-256.

    Sanitized Windows traceback from the currently supplied official Library helper:

    File ".../library_file_transfer.py", line 288, in main
        materializer.apply_xattrs(
    File ".../library_file_transfer.py", line 246, in apply_xattrs
        xattr.apply(path)
    File ".../library_file_transfer.py", line 64, in apply
        os.setxattr(path, self.name, encoded_value)
    AttributeError: module 'os' has no attribute 'setxattr'
    

    This is a post-save local metadata failure, not a failed Library create: the Windows create returned a Library ID and its saved contents were readable. The helper was fetched from the current Library skill source and used unchanged. The error is consistent with calling a Unix-only Python API on Windows; please handle the supported Windows metadata path explicitly.

    In the same Windows tests, the separate upload helper still reported Library prepare_uploads is not available; on Linux it completed successfully with local_metadata_applied=true. A shared root cause between that capability-availability error and the os.setxattr error has not been established.

    The Linux retrieval SHA-256 matched on both sides:
    8e490f1361c5d9663bfdb88f0cff10293fb48a6174291a1897a322afe748ed6f.

    These are execution-environment comparisons, not evidence that changing the UI alone causes the result. No helper patch, permission expansion, or security bypass was used.

  5. oorangee97 commented on Oct 23, 2026

    @oorangee97

    I'm experiencing a very similar issue on macOS with ChatGPT Work (October 23, 2026).

    Environment and observed behavior

    A conversation started in Cloud Work mode executed shell commands on my connected Mac (uname -s returned Darwin), rather than in a remote Linux environment.

    Network access failed in that execution path, while a separate Local Work ("On your computer") conversation successfully accessed GitHub through the same Mac's proxy.

    Cloud Work execution:

    Running:

    curl -I --connect-timeout 8 --max-time 15 https://github.com

    Returned:

    curl: (7) Failed to connect to 127.0.0.1 port 7890 after 0 ms: Couldn't connect to server
    

    Exit code: 7.

    Further read-only diagnostics confirmed:

    CODEX_SANDBOX_NETWORK_DISABLED=1
    HTTP_PROXY=127.0.0.1:7890
    HTTPS_PROXY=127.0.0.1:7890
    

    lsof also confirmed that ClashX was actively listening on 127.0.0.1:7890 at the time of inspection.

    Local Work comparison:

    In a separate Local Work conversation, the following command succeeded:

    curl -I --proxy http://127.0.0.1:7890 https://github.com

    Result: HTTP/2 200, exit code 0.

    Assessment

    The findings suggest a possible difference in effective network permissions between Cloud Work using the connected Mac as its executor and ordinary Local Work.

    The network-disabled flag is particularly notable, although the available evidence does not establish whether sandbox policy directly caused the proxy connection failure.

    This seems closely related to the execution-path difference reported here, with a macOS-specific reproduction involving an inherited local HTTP proxy.

    Could the team clarify whether this networking restriction is expected for Cloud Work tasks routed to a connected Mac, or whether it represents a policy/configuration mismatch?

    No system settings, proxy configuration, or security permissions were modified during these diagnostic tests.

  6. OhHeyAlan commented on Oct 23, 2026

    @OhHeyAlan

    I cannot upload a local archive to ChatGPT Library using the official Python upload helper from a Codex desktop task. It fails before creating an upload reservation or transferring bytes:
    library upload failed: Library prepare_uploads is not available
    Native Library metadata reads succeed, but the helper’s tool-discovery response omits Library entirely.
    Environment

    • macOS; exact OS version not collected
    • Codex desktop: 26.1016.62342, build 21477
    • CLI and running managed app-server: 0.164.0
    • Reproduced: October 23, 2026
    • Test archive: 732,612 bytes
      Steps to reproduce
    1. Open a new task in the Codex desktop app.
    2. Ask it to upload a local file to ChatGPT Library using the official Library Python upload helper.
    3. Run the helper and inspect its tool-discovery result.
    4. Repeat with elevated execution and in a fresh task after updating and restarting the app.
      Expected behavior
      The supported helper discovers the Library upload tools and completes the upload, or reports an actionable explanation if this capability is unavailable in desktop tasks.
      Actual behavior
      The helper exits with the error above. No upload reservation is created, no bytes are transferred, and no Library file ID is returned.
      Verified diagnostics
    • Standard tool discovery encountered a DNS failure.
    • Elevated discovery repeatedly succeeded, returning 202 tools, but zero Library connector entries. No Library prepare_uploads, finalize_uploads, or create capability appeared.
    • Native Library metadata reads succeeded independently.
    • All three official helper files were recreated from the official source and verified byte-for-byte. Hash and Python syntax checks passed.
    • Eight offline tool-name matching tests passed.
    • Elevated execution, helper recreation, a fresh task, and updating/restarting the desktop app did not resolve the issue.
    • Logs confirmed app startup at 16:25:44 UTC, before failed discovery checks at 16:28:02 and 16:29:58 UTC.
    • No endpoint or credential override was found in the helper setup.
      Potentially relevant implementation difference
      The helper uses /wham/apps discovery, while the native Codex implementation in the 0.164.0 source uses /ps/mcp with different request context. This establishes different discovery paths, but does not prove the cause of the missing tools.
      A separate cloud-side Library upload succeeded. That is not evidence that desktop upload works; it highlights the difference between execution routes.
      Request
      Please investigate whether Library is being omitted from the helper’s catalog due to capability filtering, account/workspace binding, or an integration mismatch. Is there a supported recovery procedure or a different documented upload workflow for desktop tasks?
      Possibly related: [Work Cloud][Windows] Connected PC executor cannot resolve DNS or initialize Library save, while local Work succeeds #54323
      That report describes a similar error, but I have not confirmed a shared root cause.
  7. thath326-sudo commented on Oct 31, 2026

    @thath326-sudo

    Adding a recent reproduction of the os.setxattr failure reported above, this time during Library download/materialization.

    On October 31, 2026 (UTC), a fresh, harmless 68-byte text file was successfully created in Library from a cloud environment. The supported materialization attempt on a connected Windows computer reached metadata application, then failed with:

    AttributeError: module 'os' has no attribute 'setxattr'
    

    An independent filesystem check through Remote Desktop Commander confirmed that the intended final file did not exist (ENOENT). The same plugin could read and SHA-256 verify a separate file already present in Downloads, so access to existing local files worked.

    This adds download/materialization impact to the earlier post-upload metadata report. It does not establish a shared cause with the DNS or missing-upload-tools failures. No helper patch, permission expansion, or security bypass was used.

    Is there a supported Windows metadata-preservation path or a fix planned for this helper? Thank you.

  8. kamomendayo commented on Oct 31, 2026

    @kamomendayo

    Additional Windows reproduction, with diagnostics observed on October 30, 2026 around 21:19 UTC.

    • A dot-created task running on a connected Windows computer could read local inputs, but the official Library upload helper failed before upload preparation: library upload failed: hosted apps tools/list request failed: DNS.
    • The initial attempt and one bounded retry returned no Library file IDs. No successful upload or network-enabled helper test has been established in this reproduction.
    • Read-only network checks in that execution context found CODEX_SANDBOX_NETWORK_DISABLED=1, an empty Python urllib proxy list, and gaierror [Errno 11001] for chatgpt.com. An unauthenticated HTTPS HEAD request failed at DNS as well. Localhost resolution succeeded.
    • Native Library read/list operations succeeded separately, and prepare/finalize upload tools were exposed. That does not establish that the helper's own discovery transport works.
    • Installed package verified on October 31: OpenAI.Codex 26.1027.3384.0 x64, from package metadata. The bundled CLI version remains unverified. These network observations are from October 30, not a claim of a new probe on October 31.

    This repeatedly blocks transferring already-produced local assets and continuing production. Please prioritize clarification and a supported repair: is the restricted network state expected for connected Windows execution, and what supported Library save path should work in that context? Please identify any fixed build and recovery steps that preserve existing tasks, data, and permissions.

    The Windows os.setxattr issue reported above is a separate downstream risk; our upload never reached metadata application, so we are not claiming to have reproduced it. No settings or permissions were relaxed, and no private paths, task IDs, project assets, credentials, or raw logs are included.

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

    appbugconnectivityremotesandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions