Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pxr-mm opened this issue Aug 31, 2024 · 1 comment

Comments

@pxr-mm
Copy link

pxr-mm commented Aug 31, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@pxr-mm and others