binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

Websocket was closed before the connection was estabilshed with binance-api-node candles

Open pxr-mm opened this issue 1 year ago • 1 comments

client.ws.candles(symbol, interval, candle => { console.log('candle--', candle) });

this error: node:events:495 throw er; // Unhandled 'error' event Error: WebSocket was closed before the connection was established Emitted 'error' event on WebSocket instance at: at emitErrorAndClose (D:\ww\workspace\webs\quants_app\QuantBotServer\node_modules\ws\lib\websocket.js:1033:13)

pxr-mm avatar Aug 31 '24 06:08 pxr-mm

Yes, happening the same here. Sad it is not being fixed.

Djarrieta avatar Apr 17 '25 15:04 Djarrieta

It seems to now be working. Closing the issue for now, but feel free to reach out with any questions or other issues

pcriadoperez avatar Oct 22 '25 04:10 pcriadoperez