繁体   English   中英

Application Insights:无法验证节点js中的第一个证书

[英]Application Insights : Unable to verify the first certificate in node js

应用程序洞察力每隔几分钟就会不断引发以下错误。

ApplicationInsights:Sender ['连续5次未达到提取端点。 可能会导致遥测丢失。 最新错误:',{错误:无法在TLSSocket上验证第一个证书。\\ u003canonymous \\ u003e(_tls_wrap.js:1116:38)在ZoneDelegate.invokeTask(/usr/src/app/node_modules/zone.js/dist在TLSSocket.ZoneTask.invoke(/ usr)上的Zone.runTask(/usr/src/app/node_modules/zone.js/dist/zone-node.js:151:47)上的/zone-node.js:275:35) /src/app/node_modules/zone.js/dist/zone-node.js:345:33在TLSSocket的emitNone(events.js:106:13)在TLSSocket.emit(events.js:208:7)。 TLSWrap.ssl.onhandshakedone(_tls_wrap.js:473:38)上的_finishInit(_tls_wrap.js:643:8)代码:'UNABLE_TO_VERIFY_LEAF_SIGNATURE'}]

我查看了有关GITHUB DISCUSSION的讨论,并尝试了一些建议的解决方案,但没有成功。

这是我用来连接到应用程序见解的代码。

let appInsights = require('applicationinsights');
appInsights.setup(config.APPINSIGHTS_KEY.trim())
  .setAutoDependencyCorrelation(true)
  .setAutoCollectRequests(true)
  .setAutoCollectPerformance(true)
  .setAutoCollectExceptions(true)
  .setAutoCollectDependencies(true)
  .setAutoCollectConsole(true)
  .setUseDiskRetryCaching(true)
  .start();

我不确定100%是否有遥测丢失,但是一直出现这些错误很烦人。 请帮忙。

我已经更新了github讨论线程。 正在解决摄取方面的问题。

https://github.com/Microsoft/ApplicationInsights-node.js/issues/180#issuecomment-475699485

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM