Skip to content

error sending request for url (https://api.openai.com/v1/responses) #4885

Closed as duplicate

Description

@buildinpublichub

⚠️ 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)

Activity

  1. github-actions commented on Oct 7, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  2. efengshan commented on Oct 15, 2025

    @efengshan

    have you solve your problem ? I came across the same one. I have tried different version, but it doesn't work.

  3. Lillian-Yo commented on Oct 16, 2025

    @Lillian-Yo

    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

  4. Lillian-Yo commented on Oct 16, 2025

    @Lillian-Yo

    export ALL_PROXY="http://127.0.0.1:7890" is ok

  5. efengshan commented on Oct 16, 2025

    @efengshan

    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.

  6. TIMLONGG commented on Oct 25, 2025

    @TIMLONGG

    you can try cursor`s codex extension.

  7. khaotickb commented on Dec 16, 2025

    @khaotickb

    did anyone resolve this?

  8. newbie-jiang commented on Dec 16, 2025

    @newbie-jiang

    I have experienced that simply switching versions will do.

  9. GXL19940905 commented on Dec 20, 2025

    @GXL19940905

    问题一般是 VSCode 从 GUI 启动时没有继承代理/环境变量。从能用 codex 的终端输入code . 启动vscode(先在终端中先运行一下codex,然后退出codex,最后再启动vscode),如果新打开的vscode里能用codex插件,则就是这个问题!想要根治这个问题有两大方法:①在vscode里配置系统代理;②把代理/Key写入到“系统级环境”,使得GUI启动vscode也可以走代理。

  10. huangtao334334-commits commented on May 21, 2026

    @huangtao334334-commits

    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: <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

    Image
  11. jhonroxton commented on Jun 15, 2026

    @jhonroxton

    resolve

    restart your computer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions