Repository navigation
Description
Summary
Sites source synchronization fails with Could not resolve host: git.chatgpt-team.site in the macOS desktop execution environment. The failure occurs for both an existing, working private Site and a newly created private Site.
Environment
- Observed on 23 October 2026.
- Codex Desktop user-agent version: 26.1016.62342, macOS arm64.
- Bundled Sites plugin: 1.1.1.
- Local workspace execution with workspace-write filesystem sandboxing and restricted network access.
- Bundled Codex CLI version was not collected.
Reproduction observed in this session
-
Open an existing private Site. Its published page loads normally.
-
Use the native Sites tools to read the Site and obtain fresh source-repository credentials. These operations succeed.
-
Run the documented source helper in the existing checkout:
node <sites-plugin>/scripts/site-workflow.mjs --project-id <private-project-id> -
Provide the credential object through the helper's hidden stdin prompt.
-
The helper exits with code 128 and the error below.
-
Create a separate, brand-new private Site with the native create_site tool. Creation succeeds, and get_site confirms owner-only access.
-
Prepare a separate copy of the application with the new Site identity and origin, then run the same documented source helper using the new Site's returned credentials.
-
The new Site fails with the same DNS error.
Actual result
fatal: unable to access 'https://git.chatgpt-team.site/<redacted-workspace>/<redacted-project>.git/': Could not resolve host: git.chatgpt-team.site
The helper accepts the stdin input and reaches the Git access attempt. The reported failure in these attempts is DNS resolution, rather than a credential-input approval rejection.
Working operations and impact
- Native Site metadata reads, credential creation, and new private Site creation succeed.
- The existing published website remains available.
- Production builds succeed for both local copies.
- All 40 selected automated checks pass, covering routing, localization, source-rendered HTML, price comparisons, stay state, and photo gestures.
- Source synchronization cannot complete, so the required source push and subsequent publication cannot proceed.
- The new private Site remains unpublished. Recreating the Site did not resolve the problem.
A local preview-server attempt also returned listen EPERM on a loopback port. This may be relevant to the execution sandbox, but no causal relationship to the DNS failure has been established.
Expected result
The documented Sites source workflow should have supported network access to the Sites Git host, or return an actionable environment/capability error with a supported recovery path.
Please investigate source-host DNS/network access in the desktop execution environment, including why native Sites tools work while the documented Git helper cannot connect.
Related reports
- Desktop Ask for approval blocks Sites source sync; /feedback unavailable #52971
- Sites helper credential handoff blocked by automatic review #53487
- Sites existing-project source connection fails at browser-proxy:8889 #50444
The reproduction here adds that a newly created private Site fails in the same session as an existing Site. No credentials, private Site identifiers, repository paths, account email, or application source are included in this report.
Activity
github-actions commentedon Oct 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
BeeKnown commentedon Nov 3, 2026
Same iMac, different DNS results in Terminal and ChatGPT Work
I reproduced this on November 3, 2026, using an M4 iMac running macOS 26.6.2. My private ChatGPT Site loads in Brave, and I see no errors in its developer tools. I compared fresh
Host | macOS Terminal | ChatGPT Work shell -- | -- | -- git.chatgpt-team.site | HTTP 400 from the server root | curl: (6) Could not resolve host Private dashboard (*.chatgpt.site) | HTTP 401 without browser credentials | curl: (6) Could not resolve host status.openai.com | HTTP 200 | curl: (6) Could not resolve hostcurlrequests from macOS Terminal with requests from the ChatGPT Work session on the same machine.The Sites service reported that my project was active and issued a fresh repository write credential. The Work session then ran
git ls-remoteagainst the exact repository URL supplied by Sites. Git exited with code128andCould not resolve host: git.chatgpt-team.site, before authentication.The
400in Terminal was forhttps://git.chatgpt-team.site/. It confirms that the hostname resolved and the server answered. I haven’t tested an authenticated push from Terminal.Is there a supported diagnostic I can run or a log I can collect to help determine why hostname resolution fails inside the Work session?
victor-yeest commentedon Nov 13, 2026
I have concluded that this was (for me) caused that I swtiched from Local to Cloud conversations. I switched back to local and it worked for me.
one540-spec commentedon Nov 21, 2026
Additional macOS ChatGPT Work/Codex reproduction (22 Nov 2026, Australia/Melbourne): Editing an existing ChatGPT Site and running its local production build/tests succeeds, but publishing remains blocked at the source sync stage with
Could not resolve host: git.chatgpt-team.site. A new Work session and another official source-sync attempt produce the same DNS error. The execution environment also returnedOperation not permittedduring an outbound direct-IP connectivity test. This leaves the existing site unpublished; no application-level build failure was observed. Please investigate DNS/proxy/network permissions for the managed Work/Codex executor and provide a supported way to reconnect the existing Site and publish without recreating it. Private project IDs and paths intentionally omitted.mcjarryd commentedon Nov 22, 2026
Reproduced on macOS arm64 with Codex Desktop
26.1117.41037. Work internet access is enabled.I ran
curl -I --max-time 10 https://git.chatgpt-team.sitein three environments:curl: (6) Could not resolve host: git.chatgpt-team.site. A fresh local chat and a newly generated~/.codex/config.tomlreproduced the error.400from the server root, confirming the host was reachable.400from the same URL. Switching back to restricted Local still produced the DNS error.Under restricted Local permissions, Sites could read the project, but publishing failed when Git tried to upload the source. No approval prompt appeared. The same publishing operation succeeded with Full Access.
Possibly related: the follow-up on #61162 reports that Sites publishing started working in a restricted Windows session after the app supplied a network allowlist that included git.chatgpt-team.site. No local config changes were needed. Could the affected macOS sessions be missing the same Sites network grant?
jambronner commentedon Nov 23, 2026
I reproduced this on November 23, 2026 in a local ChatGPT Work session on macOS 26.4.1 (arm64), Codex Desktop 26.1117.41037, Sites plugin 1.1.7. Work network access is enabled in the app. The active session nevertheless reports a managed workspace-write profile with restricted network access.
In the same session:
git ls-remote https://git.chatgpt-team.site/both exit 128 withCould not resolve host: git.chatgpt-team.site. The private Site still has zero saved versions and no live URL.dns.lookupreturnsENOTFOUNDforgit.chatgpt-team.site,github.com, andexample.com.ssh -o BatchMode=yes -o ConnectTimeout=8 <tailnet-host> hostnameresolves the SSH target to its tailnet IP, but the TCP connection to port 22 fails immediately withOperation not permitted. The same SSH check previously succeeded in another local chat using per-command escalation.Could you confirm which policy determines effective network access for a local Work session, and how to enable both Sites publishing and Tailscale SSH? The Sites and SSH failures have different error signatures, so a shared cause is still unconfirmed.
Related: #55307, #51624, and #48968.
scarpaal-jpg commentedon Nov 30, 2026
Still reproducible on November 30, 2026 in my local macOS ChatGPT Work/Codex execution environment.
26.1120.50957, build30866, read from the installed ChatGPT.app bundle's Info.plist.workspace-writefilesystem sandbox with restricted network access.Result: exit code
6, with:No HTTP response was received. This check did not use repository credentials or attempt authenticated publishing. No permissions, network settings, or project files were changed, and nothing was published.
Could the OpenAI team confirm whether there is a supported recovery path for Sites network access in restricted local sessions, and identify any confirmed fix and the desktop app version or rollout that includes it? In particular, is there a supported way to refresh or reapply the Sites network grant without broadening permissions to Full Access?
The session-specific network-allowlist recovery reported in #61162 is encouraging, but my current local execution environment still reproduces the hostname-resolution failure.