Featured image of post GitHub Copilot的证书错误解决方法(UNABLE_TO_VERIFY_LEAF_SIGNATURE)

GitHub Copilot的证书错误解决方法(UNABLE_TO_VERIFY_LEAF_SIGNATURE)

解说在GitHub Copilot中因发生“unable to verify the first certificate”等证书错误而无法使用时的解决方法。介绍了通过修改ESET设置来解决该问题的具体步骤。

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的一个bug。在ESET的高级设置中,将“启用SSL/TLS”关闭即可。 img_1.png

参考

AWS CDK中似乎也发生了同样的错误。

comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计