[macOS Work] Sudden GitHub DNS failure after hours of successful Git operations
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT macOS 26.1023.50603 (Oct 27, 2026), ChatGPT Work
What subscription do you have?
ChatGPT Plus
What platform is your computer?
macOS; Work execution environment: Darwin 25.6.0, x86_64
What issue are you seeing?
ChatGPT Work suddenly lost GitHub network access after several hours of successful repository development, commits, and pushes.
The issue appeared on October 29, 2026, without any changes to my network settings or permissions.
Work network access is enabled in ChatGPT settings.
Actual errors:
git fetch origin step-4-2-quiet-field-prototype
fatal: unable to access 'https://github.com/eigenheit/THEOK.git/': Could not resolve host: github.com
nslookup github.com || dig github.com
Both DNS tools failed with Operation not permitted when opening a DNS socket.
The GitHub connector continues to access the repository successfully, but Git commands in Work cannot resolve github.com.
The issue occurs in multiple Work sessions and persists after fully restarting the ChatGPT macOS application.
This is a sudden regression of a previously working development workflow.
What steps can reproduce the bug?
Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded
What is the expected behavior?
- Open ChatGPT Work in the macOS desktop application.
- Open a repository-based Work conversation using eigenheit/THEOK.
- Confirm that Work network access is enabled.
- Run
git ls-remote https://github.com/eigenheit/THEOK.git HEAD. - Observe exit code 128 and
Could not resolve host: github.com. - Run
nslookup github.com || dig github.com. - Observe
Operation not permittedfor DNS sockets. - Fully quit and relaunch ChatGPT, then repeat. The failure persists.
The Git remote is correctly configured. No HTTP_PROXY, HTTPS_PROXY, ALL_PROXY or NO_PROXY variables are set.
No repository files or settings were changed during these tests.
When Work network access is enabled, Git commands should be able to resolve and connect to github.com, as they did successfully earlier the same day.
Work should be able to fetch, commit, and push repository changes without requiring unrestricted access to my local computer.
Additional information
ChatGPT macOS version: 26.1023.50603, released October 27, 2026.
Affected workflow: ChatGPT Work, repository eigenheit/THEOK.
Work shell diagnostics reported Darwin 25.6.0 (x86_64), but the application does not clearly identify whether the affected executor was local or cloud-based.
This may be related to the existing macOS Work networking report #49768, although the root cause has not been confirmed.
I have already submitted diagnostic feedback with logs.
Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded
Please investigate the effective network sandbox policy and whether the execution environment changed unexpectedly. I would prefer a solution that preserves existing Work sessions and project data.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #56808
Powered by Codex Action
Update — October 30, 2026 (13:08 UTC+3): issue still reproducible.
I repeated the GitHub connectivity test from the existing ChatGPT Work conversation:
git ls-remote https://github.com/eigenheit/THEOK.git HEAD
The command again failed (completed in about 6 seconds):
exit=128
fatal: unable to access 'https://github.com/eigenheit/THEOK.git/': Could not resolve host: github.com
This is the same DNS resolution failure originally reported on October 29, including after a full application restart. The GitHub connector remains functional, while the Work shell's Git transport cannot resolve github.com. No relevant settings were changed.
Impact: repository-based development in ChatGPT Work remains blocked. Please investigate whether the execution sandbox's DNS/network restrictions can be restored without requiring unrestricted filesystem permissions or resetting the project. Diagnostic Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded.
Additional isolation results — October 30, 2026: the failure is not specific to THEOK or one Work conversation.
I tested the same public GitHub repository from three different environments:
| Environment | Command | Result |
|---|---|---|
| Normal macOS Terminal, outside the ChatGPT app | git ls-remote https://github.com/openai/codex.git HEAD |
Success. Returned f752c97f7d0be0cbef5cece327f52a16ad6fb1c6\tHEAD |
| Fresh ChatGPT Work conversation, outside the THEOK project | Same command | Failure, exit 128. Could not resolve host: github.com |
| Fresh Codex-mode conversation inside the ChatGPT macOS app | Same command | Failure. Could not resolve host: github.com |
The original THEOK Work conversation also continues to fail with exit 128, as documented in my previous comment.
This comparison confirms that:
- GitHub DNS resolution and HTTPS Git access work from the Mac's ordinary Terminal on the same computer.
- The failure occurs in multiple independent execution conversations within the ChatGPT macOS app, including a new Work conversation and a new Codex-mode conversation.
- The problem is not limited to the private THEOK repository, since it also reproduces against the public
openai/codexrepository, and is not explained by GitHub repository credentials. - The Codex-mode test above was performed inside the ChatGPT desktop app, not using a separately installed Codex CLI; the latter has not been tested.
Request: Please investigate the ChatGPT app's effective command-execution sandbox networking / DNS policy and why it differs from the normal macOS Terminal. This is blocking repository-based development across projects.
Diagnostic Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded.
Update — October 30, 2026: Verified GitHub workaround in Codex Cloud; original macOS Work issue remains unresolved.
I investigated Codex Cloud as an alternative to the affected macOS Work execution environment.
Findings:
- A fresh Codex Cloud environment successfully accessed GitHub during setup, but Git commands inside regular cloud tasks failed with exit 128:
Failed to connect to proxy port 8080. - The failure persisted after enabling internet access, publishing the configuration, and starting a new task.
- Based on the workaround reported in #54179, I requested per-command network permissions:
sandbox_permissions: with_additional_permissionsadditional_permissions.network.enabled: true
- This worked. Both public and private GitHub repositories became accessible through
git ls-remote. - I also verified the complete Git write workflow in a disposable private repository: branch creation, commit, and successful
git push(exit 0).
Verified commit: d3b89d770b50c677553d493fd6f553813200b1b3
No proxy configuration, Git credentials, macOS networking settings, or unrestricted local filesystem permissions were changed.
Important distinction: This workaround is confirmed only in Codex Cloud. The original ChatGPT Work / Codex macOS application continues to experience the separately documented DNS resolution failure.
Could the team investigate whether the macOS Work execution sandbox has a similar network-permission restriction, and whether a supported per-command network authorization mechanism can be exposed without granting unrestricted local access?
Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded
Update — October 30, 2026: Network-only permission restores GitHub access directly in ChatGPT Work on macOS. Verified read AND write.
Following the Codex Cloud tests reported above, I tested the same per-command network permission approach in a fresh, independent ChatGPT Work conversation inside the macOS app (not the THEOK project).
I requested only the following execution permissions:
{
"sandbox_permissions": "with_additional_permissions",
"additional_permissions": {
"network": { "enabled": true }
}
}
Results:
git ls-remote https://github.com/openai/codex.git HEADsucceeded (exit 0), returningf2ac9983552d187aa1c9a53c4707cf3b2c4afde6. The same command had previously failed in Work withCould not resolve host: github.com(exit 128).- In the disposable private repository
eigenheit/codex-cloud-diagnostics, Work successfully cloned the repository into a separate subdirectory, created branchwork-network-write-test, committed a test file, and pushed the branch to GitHub without--force. - The push and remote branch were verified; the commit is
aebfc333ae6971f7668a0db6d4b298e06fbb49d5. The defaultmainbranch was not modified. - Only network permission for the current turn was granted. No additional filesystem permissions, unrestricted Mac access, proxy/DNS changes, credential changes, or destructive resets were required.
Conclusion: A practical, verified workaround exists in the affected macOS ChatGPT Work environment itself, not just in Codex Cloud: explicitly request network-only additional permissions for network-dependent Git operations.
This is not yet a permanent fix: the permission was limited to the current turn, and the original default execution policy still appears to block GitHub access. Please clarify whether the default networking behavior is expected, and whether Work can expose or persist an appropriately scoped, supported network authorization without granting full computer access.
Please keep this issue open pending an actual fix or documented behavior.
Feedback ID: 01a18481-be3a-7c30-8611-b63e3fd71ded
We're seeing the same DNS failure in ChatGPT Work on macOS (Apple Silicon, Codex Desktop 26.1111.21308). It blocks us from publishing our documentation to a Bitbucket repository.
git ls-remote origin refs/heads/mainexits with code 128 andCould not resolve host: bitbucket.org.curl -I https://github.comalso fails withCould not resolve host. In the same Work session,scutil --dnsreturnsNo DNS configuration available.
We've been able to access Bitbucket from the regular macOS Terminal on this Mac. The affected Work session reports restricted networking and doesn't let us request the network-only permission described above. Could the Codex team check how Work applies network permissions to shell commands on macOS and make that network-only permission available in these sessions?
Additional macOS Work occurrence — November 19, 2026
During a local release preflight, the affected Work session reported that git ls-remote origin failed with Could not resolve host: github.com. The agent reported successful access to the same repository through Chrome, and a separate local agent reported that github.com resolved and that git ls-remote origin succeeded on the same Mac. The affected agent later clarified that the failure was specific to its terminal session. Git's error occurred before authentication; this is not a claim that the GitHub account, the Mac's entire network, or GitHub DNS globally was down.
This was not a simultaneous, permission-matched A/B run. The exact affected turn's effective network grant and whether the network-only retry described above was available or attempted were not verified. Please make the effective network permission and reason for denial visible for the affected runner, and provide a supported, scoped retry when the active policy allows it. A useful read-only comparison is git ls-remote https://github.com/openai/codex.git HEAD from the affected runner and ordinary Terminal on the same Mac.
Private repository details, paths and credentials omitted. This comment covers the runner/DNS symptom, not the agent's task-recovery behavior.