Repository navigation
Description
Summary
Codex on Windows repeatedly terminates with {"detail":"Bad Request"} after local tool commands successfully finish (exit code 0). Retrying and forking the affected conversation did not resolve the failure. A completely new, empty conversation has not yet been tested.
Environment
- Windows desktop app
- Bundled Codex CLI:
0.163.0-alpha.11 - Model:
gpt-6.1-sol; reasoning:xhigh - ChatGPT authentication
- System proxy and
HTTP_PROXY/HTTPS_PROXYconfigured; their involvement is unconfirmed. No credentials or proxy addresses are included.
Observed sequence
Times below are 2026-10-21, Asia/Shanghai (UTC+08:00):
- 23:31:08–23:31:31: five retries following stream disconnections, Windows OS error 10054 (connection forcibly closed by remote host).
- 23:31:39: client logs
falling back to HTTP. - Two local diagnostic commands complete successfully.
- 23:33:24: POST to
https://chatgpt.com/backend-api/codex/responsesreturns HTTP 400 with{"detail":"Bad Request"}and the turn fails.
This is an observed sequence, not a minimal deterministic reproduction. The trigger and underlying cause are not yet known.
Request IDs for server-side correlation
Latest x-oai-request-id:
e051a19a-e729-4f7c-a171-0de206135a15
Earlier occurrences with the same visible error:
eca298d3-0cd3-4fdd-87d2-659b41d7f8f0c18b9c15-49e1-408c-bd49-988163d021a9
Expected behavior
Resume model generation after successful tool execution, or return an actionable error identifying the rejection and recovery steps.
Actual behavior and impact
A generic Bad Request terminates the task after tools have already executed. Repeated retries and a fork reproduce the failure, interrupting work without an actionable explanation.
Investigation request
Please correlate the request IDs and investigate the HTTP 400 rejection, including any relationship to stream resets, HTTP fallback, or inherited conversation history. These are possible factors, not asserted root causes. OpenAI Help Center AI support mentioned an active Responses service incident, but its relationship to this specific failure is unconfirmed, and directed this report to the Codex issue tracker.
Privacy
Project source, prompts, full logs, session transcripts, local paths, account details, credentials, and conversation identifiers are intentionally omitted. This report contains only a sanitized diagnostic summary and request IDs.
Activity
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action