binance-api-node
binance-api-node copied to clipboard
Websocket was closed before the connection was estabilshed with binance-api-node candles
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)
Yes, happening the same here. Sad it is not being fixed.
It seems to now be working. Closing the issue for now, but feel free to reach out with any questions or other issues