在heroku的节点上查找CERT_UNTRUSTED错误的来源

我们在heroku上运行一个节点应用程序。 该应用程序使传出https连接到许多服务,但我们不能重现我们的任何这些服务的问题。 我们偶尔会(在过去的30分钟内有6次)看到这个错误出现,并且很难追踪到它:

Error: CERT_UNTRUSTED at SecurePair.<anonymous> (tls.js:1381:32) at SecurePair.emit (events.js:92:17) at SecurePair.maybeInitFinished (tls.js:980:10) at CleartextStream.read [as _read] (tls.js:472:13) at CleartextStream.Readable.read (_stream_readable.js:341:10) at EncryptedStream.write [as _write] (tls.js:369:25) at doWrite (_stream_writable.js:226:10) at writeOrBuffer (_stream_writable.js:216:5) at EncryptedStream.Writable.write (_stream_writable.js:183:11) at write (_stream_readable.js:602:24) at flow (_stream_readable.js:611:7) at Socket.pipeOnReadable (_stream_readable.js:643:5) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:427:10) at emitReadable (_stream_readable.js:423:5) at readableAddChunk (_stream_readable.js:166:9) at Socket.Readable.push (_stream_readable.js:128:10) at TCP.onread (net.js:529:21) at TCP.onread (/app/node_modules/newrelic/node_modules/continuation-local-storage/node_modules/async-listener/glue.js:177:31) 

关于文件的唯一提示是底部的newrelic模块,我认为它会在任何堆栈跟踪中。 有没有人有build议找出这个错误来自哪里?

如果你正在使用节点0.10.34,这可能是问题https://github.com/joyent/node/issues/8894

现在推荐使用v0.10.33。