Skip to content

[Bug]: DNS error using Codex #3024

@mrosati84

Description

@mrosati84

Bug Description

Hello,
I am getting this error using Codex, regardless of the agent I'm using

● [19:28:32] Initialize 31717f6e-4cbe-4b13-b053-fe5747b3d87b
● [19:28:32] ERROR: POST https://chatgpt.com/backend-api/codex/responses

Caused by:
    0: POST https://chatgpt.com/backend-api/codex/responses
    1: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
    2: client error (Connect)
    3: dns error
    4: failed to lookup address information: nodename nor servname provided, or not known

Steps to Reproduce

  1. ask any prompt to the :plan or :forge agents.
  2. experience the error.

Expected Behavior

Forgecode does not throw any DNS error interacting with Codex.

Actual Behavior

Forgecode throws DNS error immediately after invoking any agent command which implies LLM usage. Please note this is not impacting the normal behavior of forge, which apart from this error is working fine.

Forge Version

2.11.1

Operating System & Version

MacOS 26.4

AI Provider

OpenAI

Model

No response

Installation Method

npx forgecode@latest

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions