Skip to content

Codex Cloud runtime cannot access outbound network: proxy unreachable and direct DNS fails #50988

Open

Description

@skymy8706-debug

What issue are you seeing?

Codex Cloud runtime cannot access external network resources.

The configured proxy (http://proxy:8080) is unreachable:

curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server

No HTTP headers were received.

When bypassing the proxy, direct access also fails because DNS resolution does not work (curl exit code 6).

So both outbound paths fail:

  • normal connection → proxy connection failure
  • proxy bypass → DNS resolution failure

This blocks external downloads and prevents tools such as Google Cloud CLI from being installed or used.

Task/session reference:
01a10970-6917-7415-92b9-69f6c0cfe0b8

What steps can reproduce the bug?

  1. Start a Codex Cloud task/session.

  2. Check the proxy environment variables:
    env | grep -iE '^(http|https|all|no)_proxy='

    The environment shows:
    http://proxy:8080

  3. Test normal outbound access:
    curl -I --max-time 10 https://dl.google.com

  4. Observe the failure:
    curl: (7) Failed to connect to proxy port 8080 after 0 ms: Could not connect to server

    No HTTP headers are received.

  5. Test direct access while bypassing the proxy:
    curl --noproxy '*' -I --max-time 10 https://dl.google.com

  6. Observe that DNS resolution also fails with curl exit code 6.

  7. Retry the same tests and observe the same failures.

Result:

  • Normal outbound access fails because proxy:8080 is unreachable.
  • Proxy bypass also fails because DNS resolution does not work.
  • External downloads and services cannot be reached from the Codex Cloud runtime.

What is the expected behavior?

The Codex Cloud runtime should have working outbound network access.

If the environment is configured to use http://proxy:8080, that proxy should be reachable and able to forward HTTPS requests.

If direct network access is allowed, DNS resolution should also work when bypassing the proxy.

Expected result:

Additional information

Task/session reference:
01a10970-6917-7415-92b9-69f6c0cfe0b8

Approximate occurrence time:
2026-10-05 around 09:48 KST

Additional details:

  • The issue was reproduced multiple times.
  • Retrying the same curl command produced the same proxy failure.
  • The configured proxy was http://proxy:8080.
  • Normal outbound access failed with curl exit code 7.
  • Bypassing the proxy failed because DNS resolution did not work, with curl exit code 6.
  • No HTTP headers were received through the proxy path.
  • The failure occurred before any request reached dl.google.com.
  • Changing the gcloud installation command did not help because the network layer itself was unavailable.
  • This appears to be specific to the Codex Cloud runtime/network environment rather than the repository, script, or Google Cloud CLI.
  • No credentials, access tokens, verification codes, service-account keys, or other secrets are included in this report.

Activity

  1. added
    bug
    on Oct 5, 2026
  2. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. added
    codex-web
    connectivity
    on Oct 5, 2026
  4. hermanho commented on Oct 5, 2026

    @hermanho

    I faced same issue.

    My feedback ID:
    no-active-thread-01a10d56-6665-7bd3-8c51-b618ade78f07

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

    bugcodex-webconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions