Repository navigation
Description
Error Message
unhandlederror-An unexpected error occurred: {"type":"networkError","reason":"Please check your firewall rules and network connection then try again. Error Code: net::ERR_NAME_NOT_RESOLVED.","reasonDetail":"net::ERR_NAME_NOT_RESOLVED: : {\"<REDACTED: user-file-path>":true,\"<REDACTED: user-file-path>":false}","requestId":"33f26bd3-8d95-453c-bd77-7b372d5c68e0"} Error: An unexpected error occurred: {"type":"networkError","reason":"Please check your firewall rules and network connection then try again. Error Code: net::ERR_NAME_NOT_RESOLVED.","reasonDetail":"net::ERR_NAME_NOT_RESOLVED: : {\"<REDACTED: user-file-path>":true,\"<REDACTED: user-file-path>":false}","requestId":"33f26bd3-8d95-453c-bd77-7b372d5c68e0"} at Object.n [as fromUnknown] (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:1166:3925) at bbr (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2815:13437) at ag._performFetch (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:16150) at async ag._streamEditsImpl (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:16728) at async ag.streamEdits (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:14656) at async ag.streamEditsWithFiltering (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:14109) at async ag.doGetNextEditWithSelection (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:10523) at async ag.provideNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:5383) at async O2._executeNewNextEditRequest (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:14762) at async O2.fetchNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:10410) at async O2._getNextEditCanThrow (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:4772) at async O2.getNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:2550)
Stack Trace
at Object.n [as fromUnknown] (../src/util/common/errors.ts:19:9)
at bbr (../src/extension/xtab/node/xtabProvider.ts:1758:55)
at mapChatFetcherErrorToNoNextEditReason (../src/extension/xtab/node/xtabProvider.ts:961:39)
at async ag._streamEditsImpl (../src/extension/xtab/node/xtabProvider.ts:1002:22)
at async ag.streamEdits (../src/extension/xtab/node/xtabProvider.ts:835:10)
at async ag.streamEditsWithFiltering (../src/extension/xtab/node/xtabProvider.ts:790:10)
at async ag.doGetNextEditWithSelection (../src/extension/xtab/node/xtabProvider.ts:562:9)
at async ag.provideNextEdit (../src/extension/xtab/node/xtabProvider.ts:215:13)
at async O2._executeNewNextEditRequest (../src/extension/inlineEdits/node/nextEditProvider.ts:956:13)
at async O2.fetchNextEdit (../src/extension/inlineEdits/node/nextEditProvider.ts:702:14)
at async O2._getNextEditCanThrow (../src/extension/inlineEdits/node/nextEditProvider.ts:427:18)
at async O2.getNextEdit (../src/extension/inlineEdits/node/nextEditProvider.ts:305:12)
at Timeout._onTimeout (./src/vs/base/common/errors.ts:32:11)
at listOnTimeout (node:<REDACTED: user-file-path>:605:17) [not deminified]
at process.processTimers (node:<REDACTED: user-file-path>:541:7) [not deminified]
Raw Stack Trace (minified)
Error: An unexpected error occurred: {"type":"networkError","reason":"Please check your firewall rules and network connection then try again. Error Code: net::ERR_NAME_NOT_RESOLVED.","reasonDetail":"net::ERR_NAME_NOT_RESOLVED: : {\"<REDACTED: user-file-path>":true,\"<REDACTED: user-file-path>":false}","requestId":"33f26bd3-8d95-453c-bd77-7b372d5c68e0"} Error: An unexpected error occurred: {"type":"networkError","reason":"Please check your firewall rules and network connection then try again. Error Code: net::ERR_NAME_NOT_RESOLVED.","reasonDetail":"net::ERR_NAME_NOT_RESOLVED: : {\"<REDACTED: user-file-path>":true,\"<REDACTED: user-file-path>":false}","requestId":"33f26bd3-8d95-453c-bd77-7b372d5c68e0"} at Object.n [as fromUnknown] (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:1166:3925) at bbr (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2815:13437) at ag._performFetch (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:16150) at async ag._streamEditsImpl (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:16728) at async ag.streamEdits (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:14656) at async ag.streamEditsWithFiltering (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:14109) at async ag.doGetNextEditWithSelection (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:10523) at async ag.provideNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2813:5383) at async O2._executeNewNextEditRequest (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:14762) at async O2.fetchNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:10410) at async O2._getNextEditCanThrow (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:4772) at async O2.getNextEdit (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:2666:2550) at Timeout._onTimeout (<REDACTED: user-file-path> VS <REDACTED: user-file-path>/resources\app\extensions\copilot\dist\extension.js:3:12) at listOnTimeout (node:<REDACTED: user-file-path>:605:17) at process.processTimers (node:<REDACTED: user-file-path>:541:7)
Details
| Property | Value |
|---|---|
| Bucket ID | b6664b01-d888-45c7-001f-01cfb00d8f8e |
| Extension Version | 0.56.0 |
| Last Seen | Sun Jul 12 2026 23:54:30 GMT+0000 (Coordinated Universal Time) |
| Platforms | win32 |
| Product | VSCode |
This issue was automatically created from the VS Code Errors Dashboard
Activity
vs-code-engineering commentedon Jul 13, 2026
Stable Release Anomaly Details
newThis error signature is new in
GitHub.copilot-chat0.56.0 and did not appear in 0.55.0. It surfaces as an unhandlednetworkError(ERR_NAME_NOT_RESOLVED/ERR_INTERNET_DISCONNECTED/ERR_NETWORK_CHANGED) originating in the NES fetch path (Object.n [as fromUnknown]→bbr→ag._performFetch→provideNextEdit). These are user-connectivity failures that are currently escaping as unhandled errors rather than being caught and handled gracefully.Affected buckets (same signature, coalesced into this issue)
b6664b01(representative)368bc58ade00fa46220d268998782794Combined impact: ~17.5K users across 5 buckets.
fix: don't report NES fetch failures as unexpected errors (fixes #325643
berkutta commentedon Jul 27, 2026
Seeing a similar problem with VSCode (1.122.1-1) and BYOK:
This seems to fix it:
vs-code-engineering commentedon Aug 26, 2026
vs-code-engineering commentedon Oct 5, 2026
Regression Details — continuing into copilot-chat
0.68.0The NES
networkErrorsignature tracked by this issue (first seen 0.56.0) continues in the latest extension regression scan comparingGitHub.copilot-chat0.63.0→0.68.0(product VSCode). These remain user-connectivity failures (ERR_NAME_NOT_RESOLVED/ERR_NETWORK_CHANGED) escaping as unhandled errors in the NES fetch path (fromUnknown→_performFetch→streamEdits→provideNextEdit→fetchNextEdit).GitHub.copilot-chatnew(bucket-ID drift — new minified hashes for the same logical error)0.63.0→0.68.0(stable)Continuing buckets on v0.68.0 (new minification-drift IDs;
599051c3linked in Kusto)599051c3ERR_NAME_NOT_RESOLVED9a29b3edERR_NETWORK_CHANGED321825d2ERR_NETWORK_CHANGEDThe NES fetch path continues to surface these connectivity failures as unhandled errors at high volume (~13.9K users across these buckets) on current stable. Representative bucket
599051c3linked to this issue in the errors dashboard.