我的所有服务器上突然开始出现此错误,尽管尝试了此处建议的所有内容,但我仍无法解决它。 无论我尝试访问哪个 URL(例如,包括“google.com”),问题仍然存在。我的环境由 Windows Server 2019 和 Node.js 版本 21.7.3 组成。 我尝试使用 Axios 和 Node-fetch 发出请求,但两者都遇到了相同的错误。令人惊讶的是,当使用“CURL”时,一切都按预期运行。 下面是我一直在使用的代码示例。
const axios = require('axios');
axios.get('https://google.com')
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
经过数小时的故障排除,我可以确认这是最近的 Eset Internet Security 更新。
我的 Node 应用程序中的问题如下所示:
Error occurred while trying to proxy request /elastic from localhost:8080 to https://myserver.example (UNABLE_TO_VERIFY_LEAF_SIGNATURE)
对我的情况有帮助的 - Eset Internet Security 设置: