Repository navigation
Description
Summary
Downloads in the Codex Windows desktop client fail: clicking download shows a spinner and then returns to the original icon without saving the file. Local diagnostics on 2026-10-12 found seven image-download failures with the same error:
Attempted to redirect, but redirect policy was 'error'
The logged request entry host is chatgpt.com. The redirect destination is not present in the inspected logs, so I cannot tell whether this is an expected file redirect, an authentication redirect, or a network-related redirect. Please investigate the desktop download handler and provide a supported recovery path.
Environment and evidence limits
- Native Windows desktop client.
- The inspected logs include version string
0.162.0-alpha.17.2. This is a log-reported component version, not a verified About-dialog desktop build number. - Diagnostics were performed on 2026-10-12, approximately 07:05–07:32 UTC.
- The download failure was previously observed by the user. This diagnostic pass inspected existing client failures; a fresh native-UI click could not be performed because remote UI tooling failed separately.
- The seven matched log entries concern image downloads. We have not established that archive downloads have the identical error.
Network checks
- A local proxy is configured; its listening port was reachable during an approved diagnostic run, and the actual file-download hostname resolved.
- One actual-file HEAD request ended with
URLError/SSLEOFError, without an HTTP status. That request's link was not expired at the time. This is insufficient to establish a VPN/proxy root cause. - No VPN, proxy, DNS, firewall, WinNAT, certificate, or security-policy configuration was changed.
Separate fallback failures
These blocked alternative diagnosis/download routes, but are not being asserted as the cause of the desktop redirect error:
- The current official Library consumer failed downloading a small 287,191-byte bundle at the metadata/identity-binding stage with
AttributeError: module 'os' has no attribute 'setxattr'. No completed destination file was available to verify. This matches [Windows] Official Library transfer helper crashes on os.setxattr, blocking metadata-preserving materialization #49767. - Native remote UI tooling failed to start with a missing Windows platform directory /
0x80070003, similar to [Windows] dot-started local tasks lack Computer Use tools while ordinary local Codex sessions work #49458. The built-in browser download navigation also failed.
The Library helper was not patched, and required metadata checks were not removed. No app files were modified or system services stopped.
Expected behavior
A supported download action should save the file successfully, or expose an actionable error. If the redirect is intentionally rejected, please identify the supported download path and whether this needs a client update, authentication refresh, or another specific action.
Please also clarify which desktop build/component version is needed for triage. This report deliberately excludes private file IDs, file contents, signed URLs, cookies, tokens, personal filesystem paths, and account details.
Activity
github-actions commentedon Oct 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ccfly-hub commentedon Nov 12, 2026
Additional reproduction on Windows 11:
Application version: OpenAI.Codex 26.1103.7773.0
Observed behavior:
Relevant log entry:
DIL response action failed errorMessage="Attempted to redirect, but redirect policy was 'error'"The error originates from the desktop app's async JavaScript bundle (
app://-/assets/async/...).Troubleshooting already performed:
The issue persists after all these steps.
Could the team confirm whether this is the same redirect-handling regression and provide a fixed build or a supported workaround?
No private file IDs, signed URLs, cookies, tokens, or account credentials are included.