-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I'm starting up my project again after some months of other priorities. But now I notice that the certificate of the web socket has expired, thus no connection is established.
throw er; // Unhandled 'error' event
^
Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket._finishInit (node:_tls_wrap:1017:8)
at ssl.onhandshakedone (node:_tls_wrap:803:12)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/usr/src/node_modules/ws/lib/websocket.js:1016:13)
at ClientRequest. (/usr/src/node_modules/ws/lib/websocket.js:864:5)
at ClientRequest.emit (node:events:517:28)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'CERT_HAS_EXPIRED'
}