Skip to content

the certificate of the web socket has expired #18

@dick10

Description

@dick10

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'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions