You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
constantly getting stream disconnected before completion: An error occurred while processing your request #5130
i am getting the error on a different platform and with a different extension.
EDIT: I confirm that the issue is happening on both vscode extension and codex cli on Ubuntu 24.04. The same error does not explicitly appear when using codex web interface.
If it can be of any help, I did not hit Rate limits, and I am using codex for a single project.
Moreover, I started to notice the error exactly after I reached the maximum token context length.
Starting a new chat, disabling or uninstalling the extension or the CLI plugin does not solve the issue.
We are prioritizing looking into this. I will mark as duplicate here because there are a few other reports, but we are actively working on resolving these issues.
I still often get this error myself (getting it right now, for example: stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2dd5f36ad74ae7-DEN I assume the DEN is for Denver, which is the closest nearby city to me at the moment.
For people getting this issue with Azure, you are likely using a Foundry Project or Foundry Hub endpoint, instead of the OpenAI Services endpoint. Instead of:https://my-foundry.services.ai.azure.com/openai Use:https://my-foundry.openai.azure.com/openai/v1/
[model_providers.azure]
name = "Azure OpenAI"
base_url = "https://my-foundry.openai.azure.com/openai/v1/"
env_key = "AZURE_OPENAI_API_KEY"
wire_api = "responses" And make sure you also don't have:query_params = { api-version = "2025-04-01-preview" }
Activity
github-actions commentedon Oct 12, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
fras3c commentedon Oct 12, 2025
i am getting the error on a different platform and with a different extension.
EDIT: I confirm that the issue is happening on both vscode extension and codex cli on Ubuntu 24.04. The same error does not explicitly appear when using codex web interface.
If it can be of any help, I did not hit Rate limits, and I am using codex for a single project.
Moreover, I started to notice the error exactly after I reached the maximum token context length.
Starting a new chat, disabling or uninstalling the extension or the CLI plugin does not solve the issue.
fras3c commentedon Oct 13, 2025
@gpeal the issue is still here and super annoying. Please help!
chall37 commentedon Oct 14, 2025
This seems to be an issue with the ChatGPT endpoint rather than the app itself.
fras3c commentedon Oct 14, 2025
Maybe. It happens while coding locally with both vs-code extension and codex cli. Conversely, it does not seem to happen if I use codex web.
tibo-openai commentedon Oct 16, 2025
We are prioritizing looking into this. I will mark as duplicate here because there are a few other reports, but we are actively working on resolving these issues.
SDGLBL commentedon Oct 22, 2025
Same error
aaronash commentedon Nov 23, 2025
I still often get this error myself (getting it right now, for example:
stream disconnected before completion: Transport error: Error while reading the server response: error decoding response body, request id: 9a2dd5f36ad74ae7-DENI assume the DEN is for Denver, which is the closest nearby city to me at the moment.Master-cai commentedon Nov 23, 2025
Same error
Asentrixx commentedon Nov 27, 2025
Same getting this nonstop / constantly
Falven commentedon Dec 9, 2025
For people getting this issue with Azure, you are likely using a Foundry Project or Foundry Hub endpoint, instead of the OpenAI Services endpoint.
Instead of:
https://my-foundry.services.ai.azure.com/openaiUse:
https://my-foundry.openai.azure.com/openai/v1/And make sure you also don't have:
query_params = { api-version = "2025-04-01-preview" }jonydev commentedon Dec 13, 2025
I'm using Azure Openai like base_url = "https://my-foundry.openai.azure.com/openai/v1/", also see this error.
Falven commentedon Dec 13, 2025
You're likely hitting your quota limit.
lbouriez commentedon Jan 31, 2026
Not working for me and clearly not hitting our quota :/
RDMurray commentedon Mar 5, 2026
I am getting this error constantly in the latest codex, using 5.3 codex in wsl.
Falven commentedon Mar 5, 2026
Another thing that causes this is using some kind of AI Gateway. If not implemented properly, using sticky headers, etc, it can cause these issues.