GitHub Copilot fails with managedSettings.resolve network fetch error on Windows
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 12/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- javascript, vscode
研究方向
Start with the stack trace, which points to managedSettings.resolve in @github/copilot-sdk/dist/client.js, and check how that call reaches https://api.github.com/copilot_internal/user. The reporter's curl.exe output shows SEC_E_UNTRUSTED_ROOT, so the cause may be the Windows certificate store or a TLS-inspection proxy rather than the code. Done means the root cause is confirmed, or the logs needed to confirm it are listed on the issue.
由索引模型根據 Issue 內容生成。
描述
Environment
GitHub Copilot is not working in Visual Studio Code. When attempting to use Copilot, the following error occurs:
Error: Request managedSettings.resolve failed with message:
network fetch failed: request failed: error sending request for url
https://api.github.com/copilot_internal/user
The error originates from the GitHub Copilot SDK within VS Code and prevents the request from completing.
Environment
Operating System: Windows
Editor: Visual Studio Code
Feature: GitHub Copilot / Copilot Chat
Network connectivity: TCP connection to api.github.com:443 succeeds.
TLS verification: Windows curl.exe reports SEC_E_UNTRUSTED_ROOT when accessing the GitHub API.
Steps to Reproduce
Launch Visual Studio Code on Windows.
Open GitHub Copilot or Copilot Chat.
Attempt to initiate a Copilot request.
Observe the network fetch error.
Expected Behavior
GitHub Copilot should successfully connect to the GitHub API, retrieve the required user or managed settings, and allow Copilot features to function normally.
Actual Behavior
The request to https://api.github.com/copilot_internal/user fails with a network fetch error. Copilot cannot complete the operation.
The error stack references the following components:
vscode-jsonrpc connection handling
@github/copilot-sdk/dist/client.js
managedSettings.resolve
Additional Diagnostics
The following command confirms that the destination is reachable over TCP:
Test-NetConnection api.github.com -Port 443
Result:
TcpTestSucceeded : True
However, this request fails during TLS certificate validation:
curl.exe -v https://api.github.com/copilot_internal/user
Reported error:
schannel: SEC_E_UNTRUSTED_ROOT (0x80090325)
The certificate chain was issued by an authority that is not trusted.
The certificate displayed in Chrome for *.github.com identifies Sectigo Public Server Authentication CA DV E36 as the issuer.
Investigation Requested
Please investigate whether this failure is related to TLS certificate-chain validation, the Copilot SDK's network handling, or a regression in the VS Code Copilot integration.
Please advise which diagnostic logs or additional information are needed to identify the root cause.
Note: The available diagnostics suggest a certificate-trust issue, but the underlying cause has not yet been confirmed.
How to Reproduce
Install and launch Visual Studio Code on Windows.
Install or update the GitHub Copilot and GitHub Copilot Chat extensions.
Sign in to GitHub with an account that has Copilot access.
Open Copilot Chat and attempt to start a conversation or execute a Copilot request.
Observe the error related to managedSettings.resolve and the request to https://api.github.com/copilot_internal/user.
Expected behavior
GitHub Copilot should successfully establish a secure connection to the required GitHub API endpoints, retrieve the necessary user and managed settings, and initialize the Copilot session without network errors. Copilot Chat and other enabled Copilot features should work normally.
Screenshots & Logs
- 主要語言
- 沒有語言資料
- 星號
- 19
- 分支
- 8
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/github-copilot-appmod 的其他 Issue
-
[Bug]:未關閉bug
難度 1/5 1 小時以內 新手友好度 15/100
-
bug
難度 3/5 1-2 天 新手友好度 48/100
-
[Bug]:未關閉bug
難度 1/5 1 小時以內 新手友好度 10/100
-
bug
難度 1/5 1 小時以內 新手友好度 15/100
-
bug
難度 3/5 半天 新手友好度 55/100
查看 microsoft/github-copilot-appmod 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
wasi-gfx/wasi-gfx-runtime#152 ·
-
難度 2/5 1-3 小時 新手友好度 84/100
andromarces/agent-loops#976 ·
維護者通常 1 天內回覆
-
bug raised-by:verifier
難度 2/5 1-3 小時 新手友好度 78/100
medici-finance/assay#3817 ·
維護者通常 1 天內回覆
-
area:cli bug good first issue priority:medium
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
area:frontend size:S status:ready type:bug
難度 2/5 1-3 小時 新手友好度 83/100
維護者通常 1 天內回覆