Repository navigation
Description
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
- In Codex on Windows, ask Sites to create a new Site showing only
Hello World2. - 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>
- Call native
create_site. This succeeds and returns a source-repository credential (provider: cloudflare_artifact,auth_mode: http_extra_header). - Persist the returned project ID using the documented helper:
node <sites-plugin>/scripts/set-project-id.mjs --project-id <project-id> --static-directory dist - Run the documented source/package helper from the checkout in a PTY:
node <sites-plugin>/scripts/site-workflow.mjs --project-id <project-id> - After
Ready for Site workflow JSON on stdin (input is hidden)., provide the returned credential through stdin withcommands: []and an absolute deployment archive path. - 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 -QuickTimeoutBoth 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
- Sites Git DNS failure blocks both existing and newly created private Sites on macOS #56576 — same Sites Git DNS error on macOS, including a newly created Site.
- Windows: Site publishing blocked by approval policy, then network/Git HTTPS errors after update #53966 — Windows Sites publishing blocked by approval/network/Git issues.
- Private ChatGPT Sites source unavailable: git.chatgpt-team.site getaddrinfo thread failed to start #54015 — Windows private Sites Git hostname-resolution failure with a different getaddrinfo error.
- Cannot resolve git.chatgpt-team.site #52577 — cannot resolve git.chatgpt-team.site.
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
github-actions commentedon Nov 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
TheBlune commentedon Nov 12, 2026
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_contextcontaining: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
Could not resolve host: git.chatgpt-team.site; local Git againstgithub.comalso failed hostname resolution.site-workflow.mjsflow, source synchronization, push, and archive packaging succeeded.github.comis 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/sitesrepository 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:
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.
gonchanh commentedon Nov 21, 2026
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).
HSIAMH commentedon Nov 23, 2026
still facing the same today 23 Nov, what's the work around for this or ??
Lesterffx commentedon Nov 28, 2026
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.