Skip to content

Windows: Sites publication blocked by Git DNS failures in restricted Codex execution (also affects github.com) #61162

Open

Description

@TheBlune

Summary

Publishing even a minimal new private Site from Codex on Windows is blocked because the documented Sites source workflow cannot resolve git.chatgpt-team.site.

The problem has persisted for approximately two days according to the reporter. Reproduced on 2026-11-12, approximately 19:20–19:29 CET (18:20–18:29 UTC).

Native Sites creation succeeds and returns a private project and source-repository credential, but the local Git source synchronization fails before publication. A separate Git check against github.com also fails to resolve that hostname in the same execution session. This report therefore does not establish a public DNS outage or a Sites-only server problem.

Environment

Component Observed value
Client Codex Windows desktop execution / ChatGPT Work Mode
Codex app package version 26.1106.6628.0 (from the active executable/package path; About dialog was not inspected)
Bundled CLI codex-cli 0.167.0-alpha.4.1
OS architecture x64
Windows version/build 10.0.26200.9457, DisplayVersion 25H2
OS identification caveat Runtime reports Microsoft Windows 10.0.26200; registry ProductName reports Windows 10 Pro. These are recorded verbatim rather than inferring an edition from the build.
PowerShell 7.6.9
Node.js v22.20.0
Git 2.55.0.windows.3
Sites plugin 1.1.6
Project type Buildless static HTML; no dependencies or build step
Execution policy workspace-write filesystem sandbox; restricted network
Approval policy Granular; sandbox_approval=false, rules=false, skill_approval=false; mcp_elicitations may prompt
Proxy-related observations CODEX_NETWORK_PROXY_ACTIVE and SITES_MANAGED_LINUX_CONTAINER were not set; general proxy configuration was not inspected
Model / subscription Not independently collected for this report

Reproduction

  1. In Codex on Windows, ask Sites to create a new Site showing only Hello World2.
  2. Create a minimal dist/index.html:
    <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Hello World2</title></head><body>Hello World2</body></html>
  3. Call native create_site. This succeeds and returns a source-repository credential (provider: cloudflare_artifact, auth_mode: http_extra_header).
  4. Persist the returned project ID using the documented helper:
    node <sites-plugin>/scripts/set-project-id.mjs --project-id <project-id> --static-directory dist
    
  5. Run the documented source/package helper from the checkout in a PTY:
    node <sites-plugin>/scripts/site-workflow.mjs --project-id <project-id>
    
  6. After Ready for Site workflow JSON on stdin (input is hidden)., provide the returned credential through stdin with commands: [] and an absolute deployment archive path.
  7. Git repository access fails with:
    fatal: unable to access 'https://git.chatgpt-team.site/<redacted-workspace>/<redacted-project>.git/': Could not resolve host: git.chatgpt-team.site
    

The helper remained silent during the attempt and was interrupted after it stalled; its final output contained the DNS error above. A separate bounded read-only Git probe reproduced the same error immediately. The checkout had no commits, and source push, version save, and deployment were not reached.

Additional diagnostics from the same session

Read-only Sites Git probe

git -c http.connectTimeout=10 -c http.lowSpeedLimit=1 -c http.lowSpeedTime=10 ls-remote https://git.chatgpt-team.site/<redacted-workspace>/<redacted-project>.git

fatal: unable to access 'https://git.chatgpt-team.site/<redacted-workspace>/<redacted-project>.git/': Could not resolve host: git.chatgpt-team.site

This separate probe omitted credentials; its failure occurs at hostname resolution, before authentication.

Public Git host control

git -c http.connectTimeout=10 -c http.lowSpeedLimit=1 -c http.lowSpeedTime=10 ls-remote https://github.com/openai/codex.git HEAD

fatal: unable to access 'https://github.com/openai/codex.git/': Could not resolve host: github.com

Direct DNS checks

Resolve-DnsName git.chatgpt-team.site -DnsOnly -QuickTimeout
Resolve-DnsName github.com -DnsOnly -QuickTimeout

Both returned Zugriff verweigert (“Access denied”). These tests were performed inside the restricted Codex execution environment; DNS outside that environment was not tested.

A local preview HTTP request also failed with the Windows socket-permission message equivalent to “An attempt was made to access a socket in a way forbidden by its access permissions.” No causal relationship between this and Git DNS resolution has been established.

Native Sites creation and GitHub connector operations work in the conversation, while local shell Git/DNS checks fail. Those connectors may use a different network path.

Expected behavior

The supported Sites workflow should have a supported route to its required source host after the user requests Site creation/publication. If the active policy prevents that network access, Codex should expose an actionable explanation and supported recovery or permission path instead of leaving an otherwise trivial Site unpublished.

Please investigate whether Windows sandbox network permissions, DNS access, or proxy integration prevents the documented Sites helper from reaching its source host under this granular approval profile.

Actual impact

A one-line static Site can be created locally and registered with Sites but cannot be synchronized or published. Repeating creation with another simple Site has not provided a usable publishing workflow for the reporter.

Related reports

This new report adds a minimal Windows reproduction with current collected versions and a public Git-host control that also fails in the same restricted session.

No credentials, account email, private project/repository IDs, or personal filesystem paths are included.

Activity

  1. added
    bug
    app
    windows-os
    connectivity
    sandbox
    on Nov 12, 2026
  2. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor
  3. TheBlune commented on Nov 12, 2026

    @TheBlune
    Author

    Update: this session received a network allowlist and publication now succeeds; another session remains unchanged

    On 2026-11-12, the same conversation received a new runtime-provided environment_context containing:

    <network enabled="true">
      <allowed>chatgpt.com,git.chatgpt-team.site,oaisdmntpr*.blob.core.windows.net,oaisdmntpr*aws.s3.*.amazonaws.com,oaisdsorpr*.blob.core.windows.net,sdmntpr*.oaiusercontent.com</allowed>
    </network>

    Earlier context described restricted networking without this explicit network-enabled/domain-allowlist block. This XML was delivered as session environment information, not written into the project by the assistant.

    Observed before/after

    • Before: local Git failed with Could not resolve host: git.chatgpt-team.site; local Git against github.com also failed hostname resolution.
    • After the context update: a credential-free Sites Git probe reached an authentication attempt instead of failing DNS.
    • With a fresh source-repository credential and the unchanged documented site-workflow.mjs flow, source synchronization, push, and archive packaging succeeded.
    • The originally blocked minimal static Site then deployed successfully at 18:37:39 UTC.
    • A second, newly created private Site containing an imported static website also synchronized and deployed successfully at 19:07:02 UTC.
    • No assistant changes to Windows DNS, Git networking/proxy configuration, or application source were required to clear the DNS failure. The assistant did not edit a permissions file to add the allowlist.
    • A targeted local search found neither this XML nor the Sites Git domain in the project configuration files or the local Codex configuration files inspected. This does not establish where the host stores the policy.
    • The reporter checked their other conversation/session and says no corresponding permission change occurred there. The improvement therefore has not been shown to apply across sessions.
    • github.com is absent from the new allowlist; its local connectivity was not retested after the change. Working GitHub connector calls are a separate path and should not be treated as proof of local Git network access.

    Diagnostic hint — hypothesis, not a confirmed cause

    The shape of the new allowlist (ChatGPT, the Sites Git host, and file-transfer hosts) suggests the host/client may have refreshed or attached a scoped network permission profile for Sites/file operations to this particular session. An automatic capability grant, delayed permission propagation, or session policy refresh could explain why this conversation started working while another did not.

    We cannot identify the event that caused the change. Sites was already invoked before the failure, so merely selecting/using Sites is not established as a reliable trigger. The environment update was received between turns before the successful retry; checking the public openai/sites repository happened afterward and should not be credited with granting access. No specific user-facing settings action or reproducible grant procedure has been identified.

    Could maintainers investigate:

    1. Which host-side event generated this session's network-enabled allowlist?
    2. Whether Sites permission grants are conversation-scoped and can fail to propagate to an existing session.
    3. Whether a supported “refresh/reapply Sites network access” action exists.
    4. Why a blocked local DNS/network operation is surfaced as a generic hostname-resolution failure rather than an actionable permission error.

    The successful deployments strongly support session-specific network policy/integration as the earlier blocker; they do not prove the exact permission mechanism or that the underlying issue is globally resolved. Please keep this report open pending clarification of the inconsistent session behavior.

    No credentials, private Site URLs/IDs, account identifiers, or personal filesystem paths are included in this update.

  4. gonchanh commented on Nov 21, 2026

    @gonchanh

    Suffering from the same or very similar issue to this but on linux fedora.
    (Update 2026-11-28 switching from the ChatGPT's desktop app "Work" mode to "Codex" mode fixes the issue).

  5. HSIAMH commented on Nov 23, 2026

    @HSIAMH

    still facing the same today 23 Nov, what's the work around for this or ??

  6. Lesterffx commented on Nov 28, 2026

    @Lesterffx

    I can reproduce a similar Sites publishing failure on Windows 11. A normal PowerShell session can reach git.chatgpt-team.site directly and receives HTTP 400 from the root URL. The Codex Work execution environment had HTTP_PROXY and HTTPS_PROXY pointing to 127.0.0.1:7897, where the TCP connection fails. After adding a host-specific NO_PROXY entry in the Work execution environment, curl still reported Could not resolve host. I’m testing the same private Site and local project with Codex CLI v0.172.0 launched from PowerShell with NO_PROXY set.

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

    appbugconnectivitysandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions