當 GitHub Copilot 顯示以下錯誤時的解決方法
大約從 2024 年 4 月 19 日起,GitHub Copilot 無法使用。錯誤訊息如下:
1
2
| [ERROR] [ghostText] [2024-04-21T04:06:46.900Z] Error on ghost text request: (FetchError) unable to verify the first certificate
[ERROR] [certificates] [2024-04-21T04:06:46.901Z] Your current Copilot license doesn't support proxy connections with custom certificates. Please visit https://gh.io/copilot-network-errors to learn more. Original cause: {"type":"system","_name":"FetchError","code":"UNABLE_TO_VERIFY_LEAF_SIGNATURE"}
|
解決方法
這似乎是 ESET 的錯誤。在 ESET 的進階設定中,將「啟用 SSL/TLS」關閉。

參考
似乎 AWS CDK 也發生了相同的錯誤。