Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.1007.21434, OpenAI.Codex 26.1007.2314.0 (reported by Get-AppxPackage)
What subscription do you have?
Plus
What platform is your computer?
Windows 11
What issue are you seeing?
Git networking fails inside ChatGPT Work’s local Windows command environment, while the identical command succeeds in normal PowerShell on the same computer.
This reproduces the networking symptoms reported in #14221. I have not confirmed that the underlying cause is identical.
What steps can reproduce the bug?
Steps to reproduce:
- Set Settings > Configuration > Work > Local network access to On.
- Fully exit and reopen the desktop app.
- Confirm Local network access remains On.
- Start a fresh Work task.
- Ask Work to run:
git ls-remote https://github.com/openai/codex.git HEAD - Use an explicitly accessible project working directory.
Actual result inside Work:
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.
fatal: unable to access 'https://github.com/openai/codex.git/': getaddrinfo() thread failed to start
Exit code: 1.
Feedback ID: 1bb19715-69f6-4f75-9723-5685eda69188
What is the expected behavior?
The command should connect and return the repository’s HEAD commit when command network access is permitted.
Comparison outside Work:
The identical command succeeds in normal Windows PowerShell and returns a HEAD commit.
Resolve-DnsName github.com also succeeds outside Work.
Additional information
affected product is ChatGPT desktop Work using local execution
Additional diagnostics:
- Both environments use Git 2.54.0.windows.1.
- Both use C:\Program Files\Git\cmd\git.exe.
- Inside Work, Resolve-DnsName github.com reports “Access is denied.”
- Inside Work, .NET DNS lookup reports “No such host is known.”
- Key Windows environment variables, including SystemRoot, WINDIR and ComSpec, are present.
- Saved configuration selects [windows] sandbox = "elevated".
- Work’s shell reports PowerShell 7.6.5.
- An earlier sandbox startup failure reported helper_sandbox_lock_failed. Commands now start, but networking still fails.
- An initial test failed with “cannot change to C:/Users/”; explicitly selecting the project directory got past that error.
Activity
github-actions commentedon Oct 12, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
tom-stayner commentedon Oct 12, 2026
Control tests in normal Windows PowerShell:
The same DNS, curl and Git tests fail inside Work. This isolates the observed failure to the Work execution environment on this computer.
tom-stayner commentedon Oct 12, 2026
Additional reproduction:
Resolve-DnsName chatgpt.com fails with “Access is denied.”
curl.exe -I https://chatgpt.com fails with “curl: (6) Could not resolve host: chatgpt.com.”
Both exit with code 1 and report the PowerShell InitializeDefaultDrives warning.
This shows the failure also affects DNS/network tools outside Git.
philippkolbe commentedon Nov 13, 2026
Additional reproduction on November 13, 2026, in ChatGPT Work with a local Windows/PowerShell workspace.
Local network access is set to On. Fully exiting/restarting the application and starting a completely new Work chat did not resolve the issue. The exact desktop application version and Windows build have not been verified.
Inside the affected Work command executor:
The Git command also failed when run with the execution tool's login/profile handling disabled. A .NET DNS lookup failed with “Der angegebene Host ist unbekannt.”
Control tests in ordinary PowerShell on the same computer succeed: Resolve-DnsName github.com returns an IPv4 address, and the identical git ls-remote command returns HEAD successfully.
The execution context supplied to this Work conversation still explicitly says “Network access is restricted.” This establishes the observed difference between the enabled UI setting and the affected execution path; the underlying cause has not been confirmed.
Feedback submitted from the affected conversation:
b8667baa-61ff-4e5f-be73-0772f2adf33dPlease advise how to inspect and correct the effective network policy while retaining workspace filesystem restrictions.