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
Stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses) #13245
When using codex from the CLI I am frequently getting a "Reconnecting" message and codex fails to reconnect after 5 attempts. I see this message Stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses). The thread ID is 019caee5-4280-7290-a4ca-6456a7f599c4
From your logs, this looks like a basic network connectivity issue. We see these frequently with VPNs and proxies, but it might also just be flakiness with your connection.
Cool Thank you. For additional context, I use Tailscale and have a hardwired connection to my router. No other VPNs running other than Tailscale. I see this issue about once an hour or so, but it's unpredictable.
Hi @etraut-openai , looks like even I'm facing the same issue, both on cli and codex app. I dont use any VPN nor behind any corporate firewall or proxy. It works well for few hours and then doesn't at all for few.
Feedback id - 019caf97-3bf2-7361-ae77-16d4ba5ab89a
Reacted by LeeHao, Lythaeon, Vitaly Kravchenko, Lukas Willin, Ximeng Wang and Mickey Shmueli
I started getting this at my office on Wednesday evening March 4, 2026 and regularly receiving them at my home since then Wednesday through Friday March 6, 2026.
I ran into the same issue on my Mac. After testing, I found that only Codex 5.3 in the CLI works; all models in the app, as well as the other models in the CLI, are unavailable for local tasks.
From your logs, this looks like a basic network connectivity issue. We see these frequently with VPNs and proxies, but it might also just be flakiness with your connection.
This is not a network issue. Changing model works. I'm pretty sure there is a hidden rate-limit for openclaw bots that open ai doesn't tell. Because of this, I can't use Codex at all.
From your logs, this looks like a basic network connectivity issue. We see these frequently with VPNs and proxies, but it might also just be flakiness with your connection.
This is not a network issue. Changing model works. I'm pretty sure there is a hidden rate-limit for openclaw bots that open ai doesn't tell. Because of this, I can't use Codex at all.
It seems like I encountered the same situation, but changing model only works for a short while for me.
i am having this issue with the CLI as well, it hard to tell exactly what is going on since i can't get any verbose output from the CLI, but it looks like its not even getting to the point of making any request to the server, since i am not seeing anything coming into my llama.cpp server from the codex cli session. and this is with a local model that i can use with the Zoo Code extension in vscode.
Activity
etraut-openai commentedon Mar 2, 2026
From your logs, this looks like a basic network connectivity issue. We see these frequently with VPNs and proxies, but it might also just be flakiness with your connection.
joe5saia commentedon Mar 2, 2026
Cool Thank you. For additional context, I use Tailscale and have a hardwired connection to my router. No other VPNs running other than Tailscale. I see this issue about once an hour or so, but it's unpredictable.
hhmoud-acerta commentedon Mar 2, 2026
@etraut-openai My thread ID is 019caf1f-0131-7303-8f3c-5d92be272875, any idea what is going on? Not using a VPN.
etraut-openai commentedon Mar 2, 2026
@hhmoud-acerta, yours looks like a connectivity issue as well. You mentioned you are not using a VPN. How about a corporate proxy or firewall?
SaiKayala commentedon Mar 2, 2026
Hi @etraut-openai , looks like even I'm facing the same issue, both on cli and codex app. I dont use any VPN nor behind any corporate firewall or proxy. It works well for few hours and then doesn't at all for few.
Feedback id - 019caf97-3bf2-7361-ae77-16d4ba5ab89a
0xNiloy commentedon Mar 2, 2026
Hey @etraut-openai I am getting the exact same issue .
Here is the feedback ID : 019cb060-a88e-77b2-a9df-4bb9825f238d
Supercox72 commentedon Mar 7, 2026
What can you tell me about these sessions?
019cc2a1-ca49-7b11-b4b4-a1aeae73c146
019cc43c-7ad5-7fe0-b4c7-ffcd5454d2fe
■ stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
I started getting this at my office on Wednesday evening March 4, 2026 and regularly receiving them at my home since then Wednesday through Friday March 6, 2026.
Supercox72 commentedon Mar 7, 2026
Somebody recommended that I log out & that would fix it.
Token exchange failed: error sending request for url (https://auth.openai.com/oauth/token)
I took the bait... desperate to get this working again and then I can't get logged back in!
Five separate times (& counting) without luck!
yukuanj commentedon Mar 11, 2026
Same to me.
s1f102500012 commentedon Mar 12, 2026
I ran into the same issue on my Mac. After testing, I found that only Codex 5.3 in the CLI works; all models in the app, as well as the other models in the CLI, are unavailable for local tasks.
cihadturhan commentedon Mar 26, 2026
This is not a network issue. Changing model works. I'm pretty sure there is a hidden rate-limit for openclaw bots that open ai doesn't tell. Because of this, I can't use Codex at all.
phuturesh commentedon Mar 31, 2026
It seems like I encountered the same situation, but changing model only works for a short while for me.
Nowi5 commentedon Apr 1, 2026
Same issue. Looks like throtteling:
hasani114 commentedon Apr 2, 2026
stream disconnected before completion: Connection reset by peer (os error 54)
AndrewXiGua commentedon Apr 3, 2026
threadID:019d5287-e006-7c20-85a8-8ab299d53d7e
arjitj2 commentedon Apr 6, 2026
Same issue. threadID 019d5f83-d0c4-7ad0-a6cf-5b3b13cc287b
Super frustrating.
windgentle commentedon Apr 28, 2026
我每天也遇到这个问题
telami commentedon May 13, 2026
same question
anishp55 commentedon May 17, 2026
i am having this issue with the CLI as well, it hard to tell exactly what is going on since i can't get any verbose output from the CLI, but it looks like its not even getting to the point of making any request to the server, since i am not seeing anything coming into my llama.cpp server from the codex cli session. and this is with a local model that i can use with the Zoo Code extension in vscode.
lwen554 commentedon May 28, 2026
stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
我一直提示这样,使用的codex客户端昨天下午还好好的,但是突然到了晚上就不行了,一直reconnecting...然后得到上面那一串。。。到底改怎么解决
LukasWillin commentedon Jul 21, 2026
I seemed to be able to mostly "fix" / work around this issue by following this link (https://learn.chatgpt.com/docs/config-file/config-advanced#azure-provider-and-per-provider-tuning) and setting:
I don't know however if this works outside the Azure AI Foundry provider.