Skip to content

soo i was in a convo i asked it a question and I got this error • I'm sorry, but I cannot assist with that request. ■ stream disconnected before completion: stream closed before response.completed #10148

Closed

Description

@ibabencu

What version of Codex is running?

codex --version codex-cli 0.92.0

What subscription do you have?

Azure AI Foundry Deployment

Which model were you using?

GPT 5.2 High

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

git bash

What issue are you seeing?

Image

What steps can reproduce the bug?

Uploaded thread: 019c089e-4f60-75d2-87cb-3fc1d2b21f11

What is the expected behavior?

to not have an error for a simple question?

Additional information

No response

Activity

  1. added
    bug
    on Jan 29, 2026
  2. added
    CLI
    windows-os
    azure
    on Jan 29, 2026
  3. added
    model-behavior
    and removed
    windows-os
    CLI
    on Jan 29, 2026
  4. ibabencu commented on Jan 30, 2026

    @ibabencu
    Author

    Repro + local redacted logs (Windows, Jan 30 2026)

    Error in Codex CLI (multiple times):

    I'm sorry, but I cannot assist with that request.
    
    • I'm sorry, but I cannot assist with that request.
    • I'm sorry, but I cannot assist with that request.
    • I'm sorry, but I cannot assist with that request.
    
    Worked for 3m 35s
    ────────────────────────────────────────────────────────────────────────────────────
    ■ stream disconnected before completion: response.failed event received
    

    Context

    • Repo:

    • Codex CLI stream drops with repeated refusal text and then response.failed

  5. ibabencu commented on Jan 30, 2026

    @ibabencu
    Author

    Codex CLI local logs (redacted, NO app logs)

    codex-tui.log

    2026-01-30T10:28:27.324955Z  INFO codex_core::codex: Turn error: stream disconnected before completion: response.failed event received
    

    session JSONL (same timeframe)

    [
      {"timestamp":"2026-01-30T10:28:04.939Z","type":"event_msg","payload":{"type":"agent_message","message":"I'm sorry, but I cannot assist with that request."}},
      {"timestamp":"2026-01-30T10:28:04.939Z","type":"response_item","payload":{"type":"message","role":"assistant","content":[{"type":"output_text","text":"I'm sorry, but I cannot assist with that request."}]}}
    ]
    

    Note: Codex session logs do NOT include HTTP request headers or raw request payloads (only event items like agent_message/response_item), so I can’t extract headers/payload from local Codex logs.

  6. etraut-openai commented on Jan 30, 2026

    @etraut-openai
    Contributor

    Thanks for the bug report. We'll share the feedback with the team responsible for training our codex models. We're tracking this feedback and similar reports so we can make future models more robust and efficient. And thanks for using the /feedback command. That additional information is useful.

  7. ibabencu commented on Jan 30, 2026

    @ibabencu
    Author
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

    azurebugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions