Skip to content

[Dots] GitHub CLI blocked, preventing local app setup #54403

Open

Description

@kendonB

My dot can read a private repository through the GitHub connector, but can’t complete CLI authentication to check it out on its cloud computer.

After I approved gh auth login, the execution tool returned:

Network access to "https://api.github.com:443" was blocked by policy.

gh auth status still reports no login. The connector exposes no clone operation, leaving us without a verified route to check out the app, run it locally and work with it on the dot’s computer.

Is this intentional? What is the supported workflow for checking out and running a private app on a dot’s cloud computer?

Hosted Linux environment; no network-policy escalation tested.

Activity

  1. added
    bug
    dots
    auth
    sandbox
    connectivity
    on Oct 15, 2026
  2. finitein commented on Oct 20, 2026

    @finitein

    I can reproduce this on a dot's own hosted Linux cloud computer.

    Environment:

    • GitHub CLI: gh version 2.46.0 (2025-01-13 Debian 2.46.0-3).
    • Used the dot's command-execution tool, not a terminal on my Mac.
    • A writable GH_CONFIG_DIR was explicitly set.

    Latest reproduction, 2026-10-20 (UTC):

    1. Restarted the dot's cloud computer.
    2. At about 03:39, ran gh auth login --hostname github.com --git-protocol https --web.
    3. The CLI obtained a device authorization code. I completed authorization on GitHub's official device page.
    4. At 03:41, the command-execution tool returned:
      Unified exec process failed: Network access to "https://api.github.com:443" was blocked by policy.

    Thus, obtaining the code and completing browser authorization did not establish a completed CLI login. Restarting did not resolve this reproduction. This failure was not a configuration-directory write error.

    Separate execution-channel problem observed on 2026-10-19:
    An attempt through the permission-checked execution channel failed during executor startup with a read-only-filesystem error, before gh started or a network request was made. I do not have the complete original startup error text available, so this is a description, not a verbatim error quote. It was distinct from an earlier gh configuration-directory write failure.

    Could you clarify the supported network/access configuration for gh authentication on the dot's cloud computer, and whether the executor-startup failure should be tracked separately?

    No tokens, authorization codes, account email addresses, private repository details, or screenshots are included here.

  3. szz1233 commented on Oct 23, 2026

    @szz1233

    I’m seeing a similar problem with my dot’s cloud computer. Downloads from a third-party HTTPS API previously worked, then the tool reported that network access was blocked by policy. Ordinary Python and local file operations still work.
    A credential-free HEAD test through the supported elevated execution path fails before Python or any network request starts:
    bwrap: Can't create file at /home/agent/.codex/sessions: Read-only file system
    After a restart, the same error occurred at 12:20 UTC on October 23, 2026. I’m not sure whether the network restriction and launcher failure are related. Is this a known issue, and is there a supported way to recover?

  4. afk101 commented on Nov 11, 2026

    @afk101

    I encountered a similar issue: GitHub authorization completed in the browser, but gh could not reach the GitHub API to finish authentication.

    After the dot environment was restarted/recreated, the API became reachable again. I then repeated the browser authorization, and gh successfully logged in. Git could read my private repository, and a push dry run completed successfully.

    I can’t confirm whether restarting the environment was the cause of the recovery, but it may be worth trying.

  5. 3VILALLIUM commented on Nov 17, 2026

    @3VILALLIUM

    Adding evidence from a November 16, 2026 incident involving my personal Dot on ChatGPT Pro. In this case, CLI authentication and a GitHub API request did succeed through the visible cloud desktop terminal, while the Dot later reported a denial through its command-execution tool.

    Observed sequence:

    1. An early check used the default gh configuration and showed no login. The Dot later acknowledged checking a different directory from the working recovery configuration and incorrectly generalizing that result.
    2. With GH_CONFIG_DIR explicitly set to the existing writable recovery directory, device authorization completed and gh reported a saved login.
    3. gh auth status recognized the expected account. An actual gh api --hostname github.com user --jq .login request from the visible Linux terminal returned that account. The handle and configuration path are omitted here.
    4. The Dot subsequently reported that its command tool recognized the same recovery configuration and active account, but an API request returned Forbidden when reaching api.github.com.

    The exact underlying tool response, headers and exit status for that last denial are not retained in the supplied evidence. I therefore cannot attribute it to GitHub, an execution policy or a proxy. The successful terminal request and reported denial were not a controlled same-runtime comparison; screenshots show a runtime identifier change during the wider incident.

    Remote CLI: gh 2.46.0, Debian package 2.46.0-3. The local Windows app is a separate environment and its VPN/proxy configuration does not control this hosted shell's outbound GitHub connection.

    A separate contemporaneous symptom was Chromium repeatedly emitting net_error -202 (ERR_CERT_AUTHORITY_INVALID), including while idle. The emitting process was confirmed as Chromium, but the failed destination was not identified. A later NetLog spanned 9.864 seconds of events and contained no -202 events, so it did not reproduce or explain that failure.

    This was the same incident and recovery described in #49682 for unavailable workspace state and #49802 for remote-control/input failures. A shared cause is unverified.

    Please clarify the supported network controls for a personal Dot's command tool versus its visible desktop terminal, and the safest diagnostic for identifying which component issued the denial without repeating authentication or replacing the workspace.

  6. ntaraujo commented on Nov 27, 2026

    @ntaraujo

    at this point this feels like intentional sabotage.

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

    authbugconnectivitydotssandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions