Skip to content

ENETUNREACH in Codex cloud #4771

Open
Open

Description

@jakeleventhal

What version of Codex is running?

0.44.0

Which model were you using?

gpt-5

What platform is your computer?

codex cloud

What steps can reproduce the bug?

I am trying to use the Vercel SDK with this code:

await vercel.deployments.createDeployment({
  // ...
});

an get a ENETUNREACH error from codex despite having unrestricted web access

Image

What is the expected behavior?

Codex should be able to access the web here.

What do you see instead?

No response

Additional information

Found a similar issue in the community but no clear fix suggested/made.

Activity

  1. github-actions commented on Oct 5, 2025

    @github-actions
    Contributor
  2. WillCalderwood commented on Oct 11, 2025

    @WillCalderwood

    I'm having the same problem. All internet access allowed, but test calls to AWS services are failing with ENETUNREACH.

  3. etraut-openai commented on Nov 25, 2025

    @etraut-openai
    Contributor

    I think this bug is no longer relevant. If you're still seeing this with the most recent version of codex web, let us know.

  4. cjnqt commented on Nov 25, 2025

    @cjnqt

    @etraut-openai
    This is still happening. With all internet access allowed, test calls from node.js to public internet (for example to some AWS services) are failing with ENETUNREACH.

    The setup script has internet access, for example apt-get works, but after setup the internet access is shut off even though the setting is always allowed.

    Node-related?

  5. etraut-openai commented on Nov 25, 2025

    @etraut-openai
    Contributor

    OK, thanks for the confirmation. Reopening issue.

  6. removed their assignment
    on Jan 6, 2026
  7. rebelliard commented on Feb 25, 2026

    @rebelliard

    I have this error as well, when trying to have Codex Cloud interact with the Linear API:

    `fetch failed` with root cause `ENETUNREACH` when trying to reach `api.linear.app`.
  8. jakeleventhal commented on Mar 7, 2026

    @jakeleventhal
    Author

    Any way to move around this?

  9. bselleslagh commented on Mar 17, 2026

    @bselleslagh

    Also have this issue, for example I am unable to authenticate with WorkOS using the client credentials flows

    Commands run
    ✅ bun run dev -- --host 0.0.0.0

    ❌ node -e "fetch(process.env.M2M_TOKEN_URL,{method:'POST',headers:{'content-type':'application/x-www-form-urlencoded'},body:'grant_type=client_credentials&client_id=x&client_secret=y'}).then(r=>r.text().then(t=>console.log(r.status,t.slice(0,120)))).catch(e=>{console.error(e);process.exit(1)})"

    ❌ curl --noproxy '*' -4 -sS -o /tmp/m2m_resp2.txt -w '%{http_code}\n' -X POST "$M2M_TOKEN_URL" -H 'Content-Type: application/x-www-form-urlencoded' --data 'grant_type=client_credentials&client_id=x&client_secret=y'

  10. neoromantic commented on Apr 4, 2026

    @neoromantic

    I can't even install deps with fully open access for codex cloud agent:

    On bun install postinstall script fails: error: postinstall script from "inngest-cli" exited with 1

    📦 Installing [1557/1633] 📦 Installing [1604/1633] 📦 Installing [1611/1633] 🚚 lru-cache... 🚚 lru-cache... 🚚 lru-cache... 🚚 lru-cache... 🚚 lru-cache... ⚙️ inngest-cli [8/10] ⚙️ lefthook [8/10] ⚙️ supabase [8/10] ⚙️ supabase [8/10] ⚙️ supabase [9/10] FetchError: request to https://github.com/inngest/inngest/releases/download/v1.17.6/inngest_1.17.6_linux_amd64.tar.gz failed, reason: connect ENETUNREACH 140.82.112.4:443 - Local (0.0.0.0:0)

  11. RicSala commented on Apr 15, 2026

    @RicSala

    Hi,

    I am also getting this issue when trying to generate basehub types (which makes a request to "https://basehub.com/api/..."

    That's despiste granting internet access to all domains, all methods.

    Is there workaround in the meantime?

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 workingcodex-webIssues related to Codex WebsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions