Skip to content

on remote servers connected via SSH, connection errors always appear. The server can connect to the network, but Codex cannot connect #8188

Closed as not planned

Description

@lijin-2000

What version of Codex is running?

0-73

What subscription do you have?

I can use Codex normally on Windows, but on remote servers connected via SSH, connection errors always appear. The server can connect to the network, but Codex cannot connect

Which model were you using?

No response

What platform is your computer?

No response

What issue are you seeing?

› 你好

■ stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)

What steps can reproduce the bug?

Uploaded thread: 019b2cdb-1a5c-7041-afdc-8f7af32fc67b

What is the expected behavior?

No response

Additional information

No response

Activity

  1. github-actions commented on Dec 17, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  2. etraut-openai commented on Dec 17, 2025

    @etraut-openai
    Contributor

    Codex is often used on ssh servers, so this is most likely a configuration issue with your remote server. It's likely that certain endpoints are being blocked. You'll need to diagnose this on your system.

    I tried to look up the session that you referenced, but it was never uploaded. I suspect that was also blocked.

  3. lijin-2000 commented on Dec 18, 2025

    @lijin-2000
    Author

    How can I find out what port the remote server is using? I can retrieve information about OpenAI using curl on the remote server, but why can't I connect to CodeX? If I hadn't copied the Windows auth. json file to the remote server, I wouldn't have been able to log in. I have uninstalled and reinstalled, but it still hasn't been resolved. I've been troubled for 2 days now, please point me to a clear path.

    Image
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

    CLIIssues related to the Codex CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions