Skip to content

New install: codex stream and install assistant errors (with Codex CLI already configured for web account usage) #377

@darlingm

Description

@darlingm

EDIT: Cause found

TLDR: See the last comment and the linked issue. DNS was partially malfunctioning. Other programs and Code compiled by source weren't affected. I am confused still in settings why agents show code-gpt and -codex are not installed, even though I'm able to use these models now, and claude and gemini show enabled but I've never installed a custom agent for them.

What version of Code is running?

code 0.4.4

Which model were you using?

GPT-5-Codex (high)

What platform is your computer?

Linux 6.17.5-arch1-1 x86_64 unknown

What steps can reproduce the bug?

  1. Install OpenAI Codex CLI v0.50.0
  2. Run codex and configure it to use an OpenAI account (not the API.)
  3. Observe that Codex CLI works fine, and that ~/codex/auth.json contains id_token, access_token, refresh_token, and account_id.
  4. Install @just-every/code v0.4.4.
  5. Run code.
  6. Observe the banner says: Code • Model: GPT-5-Codex • Reasoning: high • Directory: /mnt/...
  7. Type hello and press enter.

What is the expected behavior?

I expect to get a response back like Hey there! What can I help you with today?

What do you see instead?

  1. Type hello and press enter. Observe Thinking...
  2. After a number of seconds, observe stream error: error sending request for url (https://chatgpt.com/backend-api/codex/responses); retrying 1/5 in 217ms, then 2/5 in 363ms, 3/5 in 728ms, 4/5 in 1.697s, 5/5 in 3.157s, and error sending request for url (https://chatgpt.com/backend-api/codex/responses).
  3. Run settings, and observe Model shows Model: gpt-5-codex Effort: High.
  4. Enter Agents, and observe that code-gpt-5-codex and code-gpt-5 say not installed Enter to install.
  5. Observe Terminal - Install code-gpt-5-codex\nRunning... Preparing install assistant... After a number of seconds, observe Install helper error: model stream failed. After several minutes of retries, I hit Esc and Ctrl+C.
  6. Run curl 'https://chatgpt.com/backend-api/codex/responses', and observe {"detail":"Method Not Allowed"}. This of course isn't posting the required data so also gets an error, but shows connecting to the endpoint is fine.

Additional information

I have a straightforward networking setup. (No VPNs, etc.)

I also tried running OPENAI_WIRE_API=chat code but it had no effect.

I'm a little surprised that a fork of OpenAI Codex CLI needs something extra to be installed to use code-gpt-5-codex, but that's not a big deal.

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