Windows local file links open external browser with broken file+.vscode-resource.vscode-cdn.net URL instead of opening the file in VS Code
What version of the IDE extension are you using?
26.318.11754 (openai.chatgpt-26.318.11754-win32-x64)
What subscription do you have?
Plus
Which IDE are you using?
VS Code 1.112.0 (Stable, x64)
What platform is your computer?
Windows 11 Pro x64
What issue are you seeing?
When Codex returns a local file link in the VS Code extension on Windows, clicking it opens my external browser instead of opening the file in VS Code.
The browser is opened with a broken URL like:
https://file+.vscode-resource.vscode-cdn.net/c%3A/.../openai.chatgpt-26.318.11754-win32-x64/webview/
and it fails with:
DNS_PROBE_FINISHED_NXDOMAIN
This makes file links from Codex unusable in my environment.
For comparison, in GitHub Copilot Chat I can click file references such as pom.xml:9 and jump directly to the file/line in the editor. In Codex, the generated markdown-style file links do not open the file correctly.
What steps can reproduce the bug?
- Open a local workspace in VS Code on Windows.
- Open the Codex sidebar.
- Ask Codex to provide a link to a local workspace file, for example pom.xml or pom.xml:9.
- Click the link rendered in the Codex response.
- Observe that an external browser opens instead of VS Code opening the file.
- Observe that the browser tries to load a file+.vscode-resource.vscode-cdn.net URL and fails with DNS_PROBE_FINISHED_NXDOMAIN.
What is the expected behavior?
Clicking a file reference in Codex chat should open the referenced file directly in VS Code, ideally at the requested line.
Additional information
Reproducible every time in my environment.
VS Code version: 1.112.0
VS Code commit: 07ff9d6178ede9a1bd12ad3399074d726ebe6e43
Extension version: 26.318.11754
Extension folder name: openai.chatgpt-26.318.11754-win32-x64
VS Code is installed via Scoop.
The broken URL appears to point into the extension webview path, so this looks like a webview link-handling issue on Windows.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗