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
I'm unable to add a simple socket.on('error') handler, since the custom socket object exported by v4-client-js doesn't support it.
node:events:497
throw er; // Unhandled 'error' event
^
Error: Unexpected server response: 503
at ClientRequest.<anonymous> (/home/node_modules/@dydxprotocol/v4-client-js/node_modules/ws/lib/websocket.js:912:7)
at ClientRequest.emit (node:events:519:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:693:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:535:22)
at TLSSocket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/home/node_modules/@dydxprotocol/v4-client-js/node_modules/ws/lib/websocket.js:1033:13)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
The text was updated successfully, but these errors were encountered:
I'm unable to add a simple socket.on('error') handler, since the custom socket object exported by v4-client-js doesn't support it.
The text was updated successfully, but these errors were encountered: