4
過期
在Heroku我的生產節點的應用程序隨機啓動拋出以下錯誤:由兩件事情錯誤:證書已在節點
Error: certificate has expired
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:584:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)
error: Forever detected script exited with code: 1
error: Script restart attempt #1
Creating a pool connected to blah.thing.com:port
Running migrations for database 'app_name'...
events.js:160
throw er; // Unhandled 'error' event
^
我很困惑。我的證書是最新的,所以我不知道它爲什麼說它已過期,其次,我的app目錄中只有兩個名爲「events.js」的文件在兩個看似不相關的節點模塊(inquirer和twilio)中,甚至沒有第160行。這可能是什麼原因,我應該怎麼調試呢?
編輯:此外,它只是生產應用程序(當然),不是分期或本地,這很奇怪,因爲分期和生產都指向相同的證書。
您的服務器可能不會在意證書已過期。這可能是您連接到的某個服務器。 – Brad