Skip to content

Windows: model continuation fails with HTTP 400 Bad Request after stream resets and HTTP fallback #55930

Open

Description

@OutLawZhangSan-liii

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_PROXY configured; their involvement is unconfirmed. No credentials or proxy addresses are included.

Observed sequence

Times below are 2026-10-21, Asia/Shanghai (UTC+08:00):

  1. 23:31:08–23:31:31: five retries following stream disconnections, Windows OS error 10054 (connection forcibly closed by remote host).
  2. 23:31:39: client logs falling back to HTTP.
  3. Two local diagnostic commands complete successfully.
  4. 23:33:24: POST to https://chatgpt.com/backend-api/codex/responses returns 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-659b41d7f8f0
  • c18b9c15-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

  1. added
    bug
    app
    windows-os
    connectivity
    on Oct 21, 2026
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

    appbugconnectivitywindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions