You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:events:505
throw er; // Unhandled 'error' event
^
Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:692:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1586:19)
at TLSSocket.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1344:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/home/jmerelo/Code/Python/shibot/node_modules/ws/lib/websocket.js:1008:13)
at ClientRequest.<anonymous> (/home/jmerelo/Code/Python/shibot/node_modules/ws/lib/websocket.js:856:5)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:454:9)
at TLSSocket.emit (node:events:527: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: 'ECONNRESET',
path: undefined,
host: 'stream.aisstream.io',
port: 443,
localAddress: undefined
}
Activity
Change to use eventListeners