error sending request for url (https://api.openai.com/v1/responses)
Resolved 💬 11 comments Opened Oct 7, 2025 by buildinpublichub Closed Oct 9, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
⚠️ stream error: error sending request for url (https://api.openai.com/v1/responses); retrying 1/5
in 212ms…
⚠️ stream error: error sending request for url (https://api.openai.com/v1/responses); retrying 2/5
in 368ms…
⚠️ stream error: error sending request for url (https://api.openai.com/v1/responses); retrying 3/5
in 873ms…
⚠️ stream error: error sending request for url (https://api.openai.com/v1/responses); retrying 4/5
in 1.705s…
⚠️ stream error: error sending request for url (https://api.openai.com/v1/responses); retrying 5/5
in 3.33s…
■ error sending request for url (https://api.openai.com/v1/responses)
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
have you solve your problem ? I came across the same one. I have tried different version, but it doesn't work.
I guess it's a network proxy problem. Last week I solve it by change my proxy point. But this week I can't fix it again
export ALL_PROXY="http://127.0.0.1:7890" is ok
that works for cli, but not for vscode codex entension with ssh connection in linux server.
you can try cursor`s codex extension.
did anyone resolve this?
I have experienced that simply switching versions will do.
问题一般是 VSCode 从 GUI 启动时没有继承代理/环境变量。从能用 codex 的终端输入
code .启动vscode(先在终端中先运行一下codex,然后退出codex,最后再启动vscode),如果新打开的vscode里能用codex插件,则就是这个问题!想要根治这个问题有两大方法:①在vscode里配置系统代理;②把代理/Key写入到“系统级环境”,使得GUI启动vscode也可以走代理。When connecting to a Linux server via SSH, the Codex CLI (Version 26.5513.21555)in VS Code, Positron, and similar IDEs keeps showing errors. Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5 Reconnecting... 1/5 Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5 unexpected status 403 Forbidden: <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style global>body{font-family:Arial,Helvetica,sans-serif}.container{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}@keyframes enlarge-appear{0%{opacity:0;transform:scale(75%) rotate(-90deg)}to{opacity:1;transform:scale(100%) rotate(0deg)}}.logo{color:#8e8ea0;padding-bottom:1.5rem}.scale-appear{animation:enlarge-appear .4s ease-out}@media (min-width:768px){.scale-appear{height:48px;width:48px}}.data:empty{display:none}.data{border-radius:5px;color:#8e8ea0;max-width:420px;text-align:center;width:100%}.data ul{list-style:none;padding:0}.blocked-icon{color:#ef4444}.message{align-items:center;display:flex;font-size:1.5rem;gap:1rem;justify-content:center}.explanation{font-size:.9rem;line-height:1.5;max-width:420px;opacity:50%;text-align:center;width:100%}.explanation a{color:#000}@media (prefers-color-scheme:dark){body{background-color:#343541;c..., url: https://chatgpt.com/backend-api/codex/responses, cf-ray: 9ff5d69b08c128ee-HKG
<img width="2048" height="1419" alt="Image" src="https://github.com/user-attachments/assets/eba9a6b9-de53-4c5d-9636-939066c67fd5" />
restart your computer