VS Code Codex extension DNS failures: Could not resolve any host name
Resolved 💬 14 comments Opened May 5, 2026 by mobayat-te Closed May 26, 2026
What version of the IDE extension are you using?
26.429.30905
What subscription do you have?
Enterprise
Which IDE are you using?
VS Code
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
Environment:
- macOS
- VS Code
- Extension: openai.chatgpt-26.429.30905-darwin-arm64
- Codex CLI: codex-cli 0.125.0
What happens:
When activating/using the Codex VS Code extension, the extension-side Codex process fails DNS/network requests.
Relevant log:
2026-05-05 17:11:44.659
fatal: unable to access 'https://github.com/openai/plugins.git/':
Could not resolve host: github.com
Also saw repeated TypeError: fetch failed / timeouts to:
- chatgpt.com
- api.github.com
- ab.chatgpt.com
Important detail:
From a normal terminal DNS does not work, ping google.com hangs, but ping 8.8.8.8 works
What steps can reproduce the bug?
- Open VS Code on macOS with the OpenAI ChatGPT/Codex extension installed.
- Open a trusted workspace.
- Open the Codex side panel or start a Codex conversation so the extension activates.
- Wait for Codex to initialize and sync plugins/apps.
- Check the Codex extension log at:
~/Library/Application Support/Code/logs/<latest>/window*/exthost/openai.chatgpt/Codex.log
- Observe DNS/network failures from the extension-side Codex process, for example:
fatal: unable to access 'https://github.com/openai/plugins.git/':
Could not resolve host: github.com
- In a normal macOS terminal outside VS Code, run:
ping google.com
What is the expected behavior?
_No response_
Additional information
_No response_
14 Comments
Also experiencing this issue, VS plugin
26.504.30809cli0.181.0Same here with the latest version of the plugin
Same. Started last Friday.
Seeing also the same. Do any of you have network extensions in place from a corporate VPN client or is this just on personal macs?
it doesn't seem to matter. I initially thought it was our corporate network which I connect to using a hardware network device (not any extension), then I tried it with just my personal internet (with and without a software vpn client). All configurations resulted in the problem as soon as I sent a message to codex through the VSCode extension. Using terminal seems to work fine.
I'm experiencing this on my corporate Mac laptop. When it happens, all DNS queries (in terminal, browser, etc) just hang for several minutes. I suspect it might be related to an installed network inspecting extension. My workaround has been to use the Codex CLI, which doesn't trigger this issue.
That's interesting. I'm able to consistently reproduce it using the Secure Client with the ZTA module. However, if I strip it back to just using AnyConnect and Umbrella I can't consistently reproduce the issue. I just wondered if there was a correlation to whether to any network extensions at all on macOS and the use of Codex extension would trigger the scenario.
Equally I've noticed that using the Codex app directly doesn't cause the issue either. I did a bit of a dig and may seem that the extensions won't necessarily to any proxy or network handling should I say to VScode it itself. It's interesting to why / how this behaviour has only just appeared within the last week or so.
I think I managed to isolate it to
appsfeature, disabling it seems to help:or through
~/.codex/config.toml:Okay, I did a little bit more digging around (with Codex CLI obviously), and prepared somewhat proper technical report.
I don't think that anyone from OpenAI will see this and the extension does not seem to be open source, so not sure if anyone would even fix this, but I'll post it anyway.
Problem statement
With the
appsfeature enabled, messaging Codex through VS Code extension can completely break DNS/network resolution on a corporate laptop for a couple of minutes. While the issue is active, the browser, terminal commands, and other network clients also fail to resolve/connect. The only recovery is waiting several minutes or rebooting the laptop.This makes the Codex VS Code extension unusable.
This may not reproduce on every laptop/network, but it consistently reproduces on several corporate laptops. The standalone Codex CLI works normally.
Investigation summary
Using Codex CLI to inspect local extension logs and the installed extension bundle, I narrowed the trigger to the
appsfeature.Workaround:
With
apps=false, the DNS/network failure goes away.With
apps=true, opening/reloading VS Code with the Codex extension triggers a large burst of failed connector-logo fetches.Log path:
Example failed run:
Example failing URLs:
During the same window, system-wide networking/DNS becomes unreliable, affecting browser and terminal as well.
Local bundle finding
The extension is bundled/compiled/minified. The relevant file in my installed extension was:
The relevant logic, deminified for readability, appears to:
connectors://...logo URLs from the app catalog./aip/connectors/<id>/logo?theme=<theme>.Promise.all(...)over the whole connector list.Equivalent deminified snippet:
In my failing run, this produced 1334 unique logo requests.
Diagnostic patch 1: disable logo hydration only
I locally patched the connector-logo loader to return an empty map:
Result with
apps=true:Codex VS Code extension worked, and the laptop networking/DNS did not break.
Diagnostic patch 2: bounded concurrency
Then I replaced the no-op with bounded concurrency, keeping logo fetching enabled but limiting it to 4 concurrent requests:
Result with
apps=true:Multiple fresh logs stayed clean, and system-wide DNS/networking did not break.
Hypothesis
The
appsfeature eagerly hydrates the full connector/app logo catalog at startup or early extension activation. On some environments, the unboundedPromise.all(...)fan-out over ~1300 logo requests appears to overload or destabilize networking/DNS at the system level, not just inside VS Code.The issue does not appear to be:
appsfeature.It appears specifically related to eager/bulk connector-logo hydration.
Suggested fix
The product likely does not need to disable app connectors. A narrower fix should be enough:
The strongest local evidence is that
apps=trueworks when only connector-logo hydration is no-op'd or concurrency-limited.@etraut-openai you seem to be active in issues labeled
extensionandbug, will someone be able to take a look?I tried to provide as much information as possible here, though full disclosure - most of the work of reading the logs and minified code was done by Codex.
I just update the extension to
26.519.32039and the issue is gone.I'm using
26.519.32039and I have still encountered this issue@thsands-te have you tried this fix?
https://github.com/openai/codex/issues/21218#issuecomment-4462467903
Seems to work just fine for me and a couple of my colleagues for the last 2 weeks.