Skip to content

[Codex Cloud] Library downloads fail in fresh saved-environment tasks while the parent cloud can read the same files #51737

Open

Description

@th3nolo

What issue are you seeing?

Files available through ChatGPT Library cannot reliably be transferred into Codex Cloud tasks started from a saved cloud environment. The parent assistant’s cloud workspace can download and inspect the same files, but consuming cloud tasks fail through the supported Library download/materialization flow.

Observed repeatedly on October 7, 2026 (UTC), including fresh cloud tasks.

Earlier attempts returned:

library file transfer failed: download failed

The helper exited with code 1 and exposed no HTTP status. Two newer fresh-cloud attempts returned:

library download request failed: hosted apps tools/list request failed: network

Earlier attempts resolved expected Library metadata before failing to obtain bytes. The latest error occurs during the hosted tools-list/download-request path. These may be different failure stages; a common root cause is unconfirmed.

Affected workflow: hosted ChatGPT/assistant-to-Codex Cloud Library transfer. Standalone Codex CLI reproduction is unconfirmed. Hosted runtime/helper build versions were not captured.

What steps can reproduce the bug?

Observed sequence in the affected account:

  1. A parent assistant saves a ZIP artifact to Library.
  2. The parent cloud workspace downloads and inspects that artifact successfully.
  3. Start a fresh Codex Cloud task from a saved cloud environment.
  4. Provide the authorized Library reference and request retrieval using the supported consumer-local Library download/materialization workflow.
  5. The task fails to obtain bytes with one of the errors above.
  6. Repeat in another fresh task from that saved environment: failure persists.

Comparison checks:

  • Parent cloud successfully downloaded and inspected the same files.
  • Creating a new Library copy did not fix consuming-task retrieval.
  • Manually attaching a file directly to a task eventually allowed access in an observed case; this is not established as a universally reliable fix.
  • The user also observed intermittent attachment-download failures in the web UI; whether related is unknown.

No explicit authorization or permission denial appeared in the failing output. This does not establish that authorization is uninvolved. A separate minimal synthetic-ZIP reproduction has not yet been established.

What is the expected behavior?

An authorized Library file should be downloadable into the consuming cloud workspace through the supported flow. On failure, please expose an actionable error and a safe diagnostic correlation identifier for support.

Additional information

This prevents parallel cloud tasks from inspecting source artifacts despite successful access in the parent cloud workspace.

Possibly related reports:

Shared root cause is unconfirmed. This report adds the comparison between successful parent-cloud access and failed retrieval in fresh saved-environment tasks.

Please route to the hosted Cloud/Library component owner and advise how to obtain safe diagnostic correlation information when the helper omits it.

Private file contents, filenames, Library IDs, task links, account details, repository names, credentials, signed URLs and full logs have been omitted.

Activity

  1. added
    bug
    codex-web
    connectivity
    on Oct 7, 2026
  2. github-actions commented on Oct 7, 2026

    @github-actions
    Contributor
  3. th3nolo commented on Oct 8, 2026

    @th3nolo
    Author

    Additional reproduction on October 8, 2026: consuming cloud tasks now expose HTTP 403, while authenticated Library UI downloads succeed.

    Observed failure

    The consuming integration task resolved the Library references but reported:

    library file transfer failed: download failed with HTTP status 403
    

    A subsequent attempt with three visible attachments reported the same failure for all three. The task reported that none of the destination files existed and that no readable bytes or verified SHA-256 hashes were available. These are the receiving task's visible results; attachment names appearing in the conversation were not treated as successful delivery.

    Successful download control

    On the connected Windows host, the authenticated Chrome Library UI was used to locate and download two of the affected ZIP originals through the normal Download file button.

    Original Downloaded bytes Verification
    ZIP A 3,202,402 SHA-256 exactly matches the recorded original
    ZIP B 2,857,638 SHA-256 exactly matches the recorded original

    Both were readable local files. Neither archive was extracted or executed for this comparison. Browser HTTP response headers were not collected, so this is a successful UI-download control, not a claim about its HTTP status.

    Boundary and remaining uncertainty

    The observations distinguish successful Library reference resolution and authenticated browser access from failed transfer into the consuming cloud workspace. The failure occurs before source inspection or execution.

    The generic helper output does not expose the response body, relevant headers, request endpoint, or a safe request/correlation ID. It therefore does not establish whether the 403 comes from file-content authorization, task/account access scope, a temporary download URL, or a network/proxy policy. A shared cause with the earlier hosted tools-list/network error remains unconfirmed.

    The exact desktop application, hosted runtime, and transfer-helper build versions were not collected for this reproduction. Standalone Codex CLI reproduction has not been established. A minimal synthetic-file reproduction is still pending.

    Requested investigation

    Please route this to the hosted Library/Cloud transfer owner and provide:

    1. A supported diagnostic that distinguishes a service authorization denial from a proxy/edge denial, with safe correlation IDs and redacted error details.
    2. Confirmation of the intended access contract when an owner-authorized Library file is attached to a consuming cloud task.
    3. A supported fix or recovery route that results in readable destination bytes verified by size and SHA-256.

    Related comparison: #51038's October 8 comment also reports task-transfer HTTP 403 alongside a successful authenticated UI download. This is a similar symptom, not proof of a shared root cause.

    Private filenames, archive hashes, Library/task IDs, account details, local paths, file contents, signed URLs, credentials, and screenshots are omitted.

  4. th3nolo commented on Oct 11, 2026

    @th3nolo
    Author

    Follow-up — October 11, 2026. This update adds read-only local verification; no new cloud download was attempted.

    The boundary to investigate is:

    1. The consuming cloud task resolves the Library references and attachment metadata.
    2. The supported transfer helper returns library file transfer failed: download failed with HTTP status 403.
    3. No readable destination files are obtained.

    The prior run reported this for all three visible attachments.

    The successful comparison remains authenticated browser download into the Windows host. Today, the two downloaded ZIPs were read again and their SHA-256 hashes still exactly match the recorded originals:

    File Bytes
    ZIP A 3,202,402
    ZIP B 2,857,638

    This provides a usable route for a local task. It does not repair or demonstrate recovery of the consuming cloud transfer. Neither ZIP was extracted or executed in today's check.

    Another user now reports the identical helper error in #52636, affecting Library images transferred into a local macOS project. The symptom matches; a shared cause is unconfirmed.

    Could the Library/Cloud owner provide a supported diagnostic or recovery procedure? In particular, please expose a safe correlation ID and redacted response details that distinguish file/task authorization, temporary download URL validation, and proxy/edge rejection. The current helper output does not let us identify which layer returned the 403.

    Private file contents, filenames, hashes, paths, account/task identifiers, credentials, and signed URLs are omitted.

  5. CTristan commented on Oct 14, 2026

    @CTristan

    I’m still running into this as of October 14, and we found a workaround that might help narrow it down.

    In a saved coding environment, we tried to retrieve a Library .tar.gz archive around 7:27–7:30 a.m. Arizona time. The original attempt, a retry, and another attempt with a refreshed Library reference all failed with:

    library file transfer failed: download failed
    

    That output didn’t include an HTTP status or anything actionable to explain the failure. So I can’t confirm whether this is the same 403 reported elsewhere in this thread.

    What finally worked was transferring the files through the connected Google Drive tools into the same consuming environment. We verified both recovered archives against their expected byte counts and SHA-256 hashes. The newer archive also passed verification of all 99 files in its source manifest. The consumer was then able to continue the actual implementation work using the recovered source.

    A few details that seem worth separating:

    • Refreshing the Library reference didn’t fix the Library transfer.
    • The archive bytes were intact. We didn’t have to recreate the source or switch the consuming environment.
    • The first archive we recovered was an older revision. We separately recovered and verified the newer accepted revision before using it, so this wasn’t just a case of successfully downloading a different file and assuming it was equivalent.
    • The Drive path that returned a file reference alone wasn’t enough to materialize the file in this workflow. A bounded download through the connector, with the returned bytes written locally and then verified, did work.
    • We also hit local transfer-plumbing mistakes while setting up that workaround, but those were resolved separately. I’m not counting them as additional Library failures.

    This doesn’t prove what’s broken in the Library path, but it does show that the same consumer could receive and use the expected files through another supported route. No source data was lost, and the workaround has unblocked our work.

    Is there a safe diagnostic/correlation ID we can capture when this generic error happens? It would also be helpful to have a documented recovery path that doesn’t require moving the artifact through another service.

    This is still the hosted Library-to-saved-environment workflow; I haven’t established a standalone Codex CLI reproduction. I’ve left out private file/task identifiers, filenames, repository names, archive contents, credentials, and transfer URLs.

  6. rg147258 commented on Oct 16, 2026

    @rg147258

    Additional reproduction: October 15, 2026, approximately 17:05–17:06 UTC (October 16, 01:05–01:06 Asia/Taipei), in a fresh task started from a saved cloud environment.

    The supported Library preparation/materialization flow resolved metadata successfully, including an expected file size of 7,507,118 bytes. Downloading the bytes then failed while establishing the HTTP proxy CONNECT tunnel to sdmntprwestus.oaiusercontent.com:

    URLError: Tunnel connection failed: 403 Forbidden
    library file transfer failed: download failed
    

    Both the original download and one controlled retry using require_escalated failed. No safety-review denial was reported. No readable bytes were obtained, so SHA-256 verification and the planned non-destructive tests could not begin. This comment reports that run; no additional download attempt was made for this update.

    This adds a specific failure stage: proxy CONNECT failed before the file contents could be retrieved. The root cause remains unconfirmed. The effective Internet preset, Enterprise Agent Security settings, and proxy policy were not established; unrestricted network access should not be assumed. There is no evidence here that file permissions were revoked.

    Could the hosted Library/Cloud owners confirm whether this belongs to the same issue and advise:

    • Which supported, safe diagnostics or correlation IDs distinguish expected network-policy enforcement from a hosted Library/proxy defect?
    • What is the supported least-privilege recovery path for retrieving the authorized file into the consuming task?

    Private filenames, contents, account details, Library/task/configuration IDs, credentials, and signed download URLs are omitted.

  7. focaxisdev commented on Oct 21, 2026

    @focaxisdev

    Update from October 21, 2026, in a saved Codex Cloud environment. Two ZIPs (approximately 6 MB and 25 MB) were readable in the parent cloud workspace, but the consuming task still could not obtain local bytes.

    • The original Library transfer helper failed with the generic download failed error.
    • A fresh UI upload succeeded and produced persisted Sediment attachment references. The consumer reported no mounted file bytes and no exposed download_file tool.
    • We then tried the connected Google Drive route with the same two files. Metadata retrieval and one authenticated fetch(download_raw_file=true, include_base64=false) per file succeeded, returning file_uri references but no workspace_path. The consuming executor had no exposed supported tool to materialize those references as local files.

    We therefore could not reproduce the successful Drive workaround described above in this executor. Consumer-side SHA-256, ZIP CRC validation, and parsing did not run because no local bytes were obtained. A returned file reference alone is not evidence that the consuming task can read the file.

    These observations do not establish a network denial or a common root cause with earlier reports; the latest blocker is the missing exposed materialization path in this particular executor.

    Could the hosted Cloud/Library owners document a supported way to turn an authenticated raw-fetch file_uri into readable local bytes in the same saved-environment executor, or confirm that this path is currently unsupported?

    Private file contents, filenames, repository names, task/attachment/Drive identifiers, account details, hashes, credentials, and transfer URLs are omitted.

  8. shusai0-crypto commented on Oct 23, 2026

    @shusai0-crypto

    Additional reproduction on October 23, 2026 (UTC). Our consuming task runs on a connected Windows computer, rather than a saved cloud environment.

    The parent cloud workspace successfully uploaded and fully read back the same small ZIP through Library. In the Windows task, Library metadata resolution succeeded, but materialization failed with "download failed." The supported helper also returned "hosted apps tools/list request failed: network." No HTTP status was exposed, so we cannot identify this as a 401/403 or determine which network/service layer failed.

    A later attempt encountered a missing companion module and temporary skill unavailability. Those were separate preparation failures; after the preparation issue was resolved, the tools/list network error remained.

    The same ZIP was subsequently transferred through the connected Google Drive route, written to disk, and verified against its expected byte count and SHA-256. This unblocked access to the file, but did not repair or verify recovery of the Library route. A manual Library download also did not produce a successful result; its UI error was not captured.

    The exact client and helper versions were not verified. No VPN or network-configuration comparison was performed, and we are not asserting a VPN, authorization, or server-side root cause.

    Could the maintainers provide a supported way to capture a safe correlation ID, identify the failing layer, and recover Library transfer into the consuming task?

    Private identifiers, file contents, filenames, hashes, local paths, credentials, and signed URLs are omitted.

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

    bugcodex-webconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions