我在 Windows 10 和 WSL2 上运行了带有 gitub co-pilot 的 vscode。直到今天,两者上的一切都运行正常。突然,当打开 WSL2 工作区时,我收到 github copilot 初始化错误:
Error sending telemetry FetchError: unable to get local issuer certificate
at fetch (/home/XXX/.vscode-server/extensions/github.copilot-1.176.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at cachingFetch (/home/XXX/.vscode-server/extensions/github.copilot-1.176.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16)
at DU.fetch (/home/XXX/.vscode-server/extensions/github.copilot-1.176.0/lib/src/network/helix.ts:78:22) {
type: 'system',
_name: 'FetchError',
code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',