Last active
July 16, 2021 07:28
-
-
Save damarowen/865a0b07f804c56cf57bdf6ae8ec69cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR Error: certificate has expired | |
at TLSSocket.onConnectSecure (_tls_wrap.js:1498:34) | |
at TLSSocket.emit (events.js:315:20) | |
at TLSSocket.EventEmitter.emit (domain.js:485:12) | |
at TLSSocket._finishInit (_tls_wrap.js:940:8) | |
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:698:12) { | |
code: 'CERT_HAS_EXPIRED', | |
check this link | |
https://stackoverflow.com/questions/62128611/nodejs-certificate-has-expired | |
ganti pake private url notif nya ke ES, | |
if db still timeout try below | |
try { | |
var query = articles.select(where, options, join); | |
var queryArticles = articles.query(query); | |
return new Promise(function (resolve, reject) { | |
queryArticles.then(function(doc) { | |
if (doc.length == 0) return resolve(null); | |
resolve(self.toRowElastic(doc[0])); | |
}, function(err){ | |
reject(err); | |
}); | |
}); | |
} catch (error) { | |
console.log(error) | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment