Skip to content

[Error] [GitHub.copilot-chat] unhandlederror-An unexpected error occurred: {"type":"networkError","reason":"Please check your fire... #325643

Description

@vs-code-engineering

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

  1. added
    bugIssue identified by VS Code Team member as probable bug
    error-telemetryVS Code - Issues generated by telemetry
    ai-generatedGenerated by AI automation workflows
    *fixTrigger a agentic workflow to provide analysis and propose PR.
    on Jul 13, 2026
  2. vs-code-engineering commented on Jul 13, 2026

    @vs-code-engineering
    ContributorAuthor

    Stable Release Anomaly Details

    • Anomaly type: new
    • Previous stable: 0.55.0
    • Current stable: 0.56.0

    This error signature is new in GitHub.copilot-chat 0.56.0 and did not appear in 0.55.0. It surfaces as an unhandled networkError (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)

    Bucket Users Platform
    b6664b01 (representative) 4737 win32
    368bc58a 4441 win32
    de00fa46 4279 win32
    220d2689 2041 win32
    98782794 2015 win32

    Combined impact: ~17.5K users across 5 buckets.

    Note: This is extension telemetry, so insider-build commit-range narrowing (last-good / first-bad / GitHub compare) does not apply.

    Generated by errors-stable-scan · 2K AIC · ⌖ 24.8 AIC · ⊞ 52.5K · ◷

  3. added a commit that references this issue on Jul 13, 2026
    da2fa51
  4. added
    ai-analyzedAI automation workflow has run an analysis of this issue and provided a comment.
    and removed
    *fixTrigger a agentic workflow to provide analysis and propose PR.
    on Jul 13, 2026
  5. berkutta commented on Jul 27, 2026

    @berkutta

    Seeing a similar problem with VSCode (1.122.1-1) and BYOK:

    Reason: Please check your firewall rules and network connection then try again. Error Code: net::ERR_NETWORK_CHANGED.: Error: Please check your firewall rules and network connection then try again. Error Code: net::ERR_NETWORK_CHANGED. at dG._provideLanguageModelResponse (/opt/visual-studio-code/resources/app/extensions/copilot/dist/extension.js:1710:16552) at async dG.provideLanguageModelResponse (/opt/visual-studio-code/resources/app/extensions/copilot/dist/extension.js:1710:17555)
    

    This seems to fix it:

    sudo sysctl -w net.ipv6.conf.br0.disable_ipv6=1
    
  6. vs-code-engineering commented on Aug 26, 2026

    @vs-code-engineering
    Author
  7. vs-code-engineering commented on Oct 5, 2026

    @vs-code-engineering
    ContributorAuthor

    Regression Details — continuing into copilot-chat 0.68.0

    The NES networkError signature tracked by this issue (first seen 0.56.0) continues in the latest extension regression scan comparing GitHub.copilot-chat 0.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).

    • Product: VSCode · Extension: GitHub.copilot-chat
    • Regression type: new (bucket-ID drift — new minified hashes for the same logical error)
    • Baseline → current: 0.63.0 → 0.68.0 (stable)

    Continuing buckets on v0.68.0 (new minification-drift IDs; 599051c3 linked in Kusto)

    Bucket Users (0.68.0) Platform Error code
    599051c3 7,665 win32 ERR_NAME_NOT_RESOLVED
    9a29b3ed 3,138 win32 ERR_NETWORK_CHANGED
    321825d2 3,125 win32 ERR_NETWORK_CHANGED

    The 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 599051c3 linked to this issue in the errors dashboard.

    Note: This is extension telemetry, so insider-build commit-range narrowing (last-good / first-bad / GitHub compare) does not apply.

    Generated by errors-regression-scan · copilot · opus48 · 252.2 AIC · ⌖ 29.1 AIC · ⊞ 8.8K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ai-analyzedAI automation workflow has run an analysis of this issue and provided a comment.ai-generatedGenerated by AI automation workflowsbugIssue identified by VS Code Team member as probable bugerror-telemetryVS Code - Issues generated by telemetryextensionrecent-regressionstable-anomaly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions