Skip to content

Windows: Site publishing blocked by approval policy, then network/Git HTTPS errors after update #53966

Open

Description

@xikirexhepi93-collab

What version of the Codex App are you using (From “About Codex” dialog)?

26.1007.71326 (Build 20398); originally 26.1007.21434 (Build 13901)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Windows x64

What issue are you seeing?

Publishing an existing Site is blocked in the Codex Windows desktop app.

With “Ask for approval” enabled, after approving network access and write access to the repository Git directory, write_stdin failed with:

write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false

No additional approval prompt appeared. A full restart did not resolve this on version 26.1007.21434 (Build 13901).

After updating to 26.1007.71326 (Build 20398), a fresh Site workflow helper accepted stdin, but repository access failed:

fatal: unable to access https://git.chatgpt-team.site/[repository path redacted]/: Failed to connect to git.chatgpt-team.site port 443: Could not connect to server

A later Test-NetConnection resolved the hostname but returned TcpTestSucceeded: False. A separate git ls-remote attempt then failed with:

git: remote-https is not a git command.
fatal: remote helper https aborted session

The Git selected by the command runner is the bundled Codex runtime Git. git-remote-https.exe was not found at its reported exec-path. The reason has not been established. The session currently has restricted network access and no request_permissions tool, so these checks do not prove a remote server outage or that the original failure is fixed after a network permission grant.

What steps can reproduce the bug?

  1. Use the Windows desktop app with Ask for approval enabled.
  2. Ask the agent to publish an existing Site.
  3. Approve the requested network and repository Git-directory permissions.
  4. Start the supported Site workflow helper in an interactive terminal; it waits for JSON on stdin.
  5. Call write_stdin to provide the input. On the original version, it is rejected with the approval-policy error before delivery. Even an empty JSON object is rejected in that session.
  6. A separate basic stdin test without the additional grant succeeds.
  7. After the app update and restart, the helper accepts stdin but fails connecting to the repository host. A subsequent read-only git ls-remote fails because the HTTPS remote helper is unavailable.

What is the expected behavior?

Granted permissions should permit the operation, or an actionable approval prompt should appear. The supported Site workflow should be able to reach its source repository, and the bundled Git installation should include the HTTPS remote helper it needs.

Additional information

Feedback ID: 01a02d9d-8711-7433-ac3a-571c5c205f23

Related reports: #53134, #52210, #53610. The reporter of #53610 closed it after switching to a web browser; this does not establish a desktop fix. This report adds the observed behavior after updating and the bundled Git/network errors.

The Site update remains unpublished. No credentials or customer data are included.

Activity

  1. added
    app
    on Oct 14, 2026
  2. added
    bug
    windows-os
    sandbox
    tool-calls
    connectivity
    on Oct 14, 2026
  3. WanxinPrecision commented on Oct 17, 2026

    @WanxinPrecision

    I am experiencing the same ChatGPT Sites Git connectivity issue on Windows.

    I use a personal ChatGPT Plus account, and Work Network Access is already enabled.

    For several days, ChatGPT Work has been unable to synchronize changes to the Sites Git repository at git.chatgpt-team.site, preventing updates to our company's production website.

    The errors include:

    • Could not resolve host: git.chatgpt-team.site
    • getaddrinfo() thread failed to start
    • curl: (7) Failed to connect to git.chatgpt-team.site port 443
    • Git push failed

    DNS resolution sometimes succeeds, but TCP 443 and HTTPS connectivity still fail within the Work execution environment.

    Our existing production deployment remains available, and all unpublished changes have been preserved. However, we cannot publish even a small homepage update.

    We have performed extensive diagnostics and reported the issue to OpenAI Support, but have not received a confirmed root cause, resolution timeline, or verified workaround.

    This issue is affecting a real business website. Could the engineering team please investigate the Work-to-Sites Git connectivity failure and provide an update?

    Thank you.

  4. kingsman142 commented on Nov 21, 2026

    @kingsman142

    I reproduced the Sites publishing failure on November 20, 2026 in a ChatGPT Work conversation running commands on Windows. Settings → Data controls → Work network access → Allow public internet access was already enabled.

    1. With an update committed locally for an existing public Site, ask Work to publish it. Sites successfully issues a fresh repository write credential.
    2. Run the Sites publishing workflow. The helper accepts its input and starts Git. Git then reports Failed to connect to git.chatgpt-team.site port 443 after 150128 ms: Network unreachable.
    3. In a later turn of the same conversation, run curl.exe -sS -o NUL -w "%{http_code}" --connect-timeout 5 https://git.chatgpt-team.site/. It exits with curl error 7 and HTTP status 000. The shell also reports CODEX_SANDBOX_NETWORK_DISABLED=1.

    When Work requested approval to run the publishing command with network access, the runtime rejected the request with sandbox_approval: false and request_permissions: false. No approval prompt appeared. Sites still lists the previous release as the latest version, and the new commit remains local.

    Is there a supported way to see which policy governs outbound Git access for an existing Work conversation, or to refresh that policy after enabling Work network access?

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

    appbugconnectivitysandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions