codex icon indicating copy to clipboard operation
codex copied to clipboard

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

Open ibabencu opened this issue 10 months ago • 5 comments

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

ibabencu avatar Jan 29 '26 09:01 ibabencu

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

  • #9995
  • #9936
  • #9635

Powered by Codex Action

github-actions[bot] avatar Jan 29 '26 09:01 github-actions[bot]

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 avatar Jan 30 '26 10:01 ibabencu

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.

ibabencu avatar Jan 30 '26 13:01 ibabencu

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.

etraut-openai avatar Jan 30 '26 17:01 etraut-openai

[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 GitHubhttps://github.com/openai/codex/issues/10148#issuecomment-3824851457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWJOXJZWTNVN7W7FLBUQXKL4JOIORAVCNFSM6AAAAACTJEG5I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQMRUHA2TCNBVG4. You are receiving this because you authored the thread.Message ID: @.***>

ibabencu avatar Jan 30 '26 17:01 ibabencu