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

Resolved 💬 5 comments Opened Jan 29, 2026 by ibabencu Closed Jan 30, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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?

<img width="1763" height="917" alt="Image" src="https://github.com/user-attachments/assets/c059765d-3774-4559-9db6-1ff21ac40830" />

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_

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 7 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #9995
  • #9936
  • #9635

Powered by Codex Action

ibabencu · 7 months ago

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
ibabencu · 6 months ago

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.

etraut-openai contributor · 6 months ago

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.

ibabencu · 6 months ago

[like] Ionut Babencu reacted to your message:
________________________________
From: Eric Traut @.*>
Sent: Friday, January 30, 2026 5:31:20 PM
To: openai/codex
@.*>
Cc: Ionut Babencu @.>; Author @.>
Subject: Re: [openai/codex] 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 (Issue #10148)

[https://avatars.githubusercontent.com/u/223546144?s=20&v=4]etraut-openai left a comment (openai/codex#10148)<https://github.com/openai/codex/issues/10148#issuecomment-3824851457>

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.

—
Reply to this email directly, view it on GitHub<https://github.com/openai/codex/issues/10148#issuecomment-3824851457>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWJOXJZWTNVN7W7FLBUQXKL4JOIORAVCNFSM6AAAAACTJEG5I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQMRUHA2TCNBVG4>.
You are receiving this because you authored the thread.Message ID: @.***>