Codex App (Azure) intermittent stream disconnect + false content_filter; CLI works with same config
What version of the Codex App are you using (From “About Codex” dialog)?
26.409.20454
What subscription do you have?
Azure OpenAI (custom deployment via Foundry)
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
This issue started after updating the Codex app last week. Prior to the update, the same workflows, prompts, and Azure configuration worked reliably without reconnect loops or content_filter errors.
Using Codex desktop app with Azure provider results in intermittent failures with:
- "Reconnecting..."
- "stream disconnected before completion"
- "Incomplete response returned, reason: content_filter"
- repeated "I'm sorry, but I cannot assist with that request."
This occurs even for harmless prompts (e.g., "hi") and normal workflows (e.g., generating slides from provided content + PDF). The response often starts correctly, then disconnects mid-stream and enters a retry/refusal loop. This behavior is intermittent but frequent and reproducible across multiple models and over multiple days.
What steps can reproduce the bug?
Uploaded thread: 019d8ca1-ca17-7732-9de9-5d659f9a4f56
What is the expected behavior?
The Codex desktop app should behave consistently with the CLI when using the same Azure provider, config, and model. Harmless prompts and standard workflows should not trigger content_filter errors or stream disconnects. Responses should complete without reconnect loops or fallback refusal messages.
Additional information
This behavior did not occur prior to updating the Codex app last week. The same setup (Azure provider, same models, same prompts, same workflows) worked reliably before the update.
No changes were made to:
- Azure deployments
- API keys or permissions
- config.toml (outside of debugging attempts after issue began)
This suggests a regression in the Codex app related to:
- streaming / reconnect handling
- model selection / config state
- or interaction with Azure content filtering
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗