n0mad01 / node.bittrex.api

No longer maintained
MIT License
183 stars 187 forks source link

connection aborted #45

Open webdeveloper0429 opened 7 years ago

webdeveloper0429 commented 7 years ago

I am receiving all ticker as real time via web-socket. Btw it was writing empty data so I checked console.log I noticed web-socket connection was disconnected. There was log 'connection aborted' So I inserted this code...

websocketsclient.serviceHandlers.reconnecting = function (retry) {
    console.log("reconnecting");
    return false;
}

I believe this should reconnect since it is described as that in readme... But 'connection aborted' was occurred again and it didn't reconnect. stop working...

Please teach me how can i solve this issue... Thanks in advance

n0mad01 commented 7 years ago

this duplicates #32 i tried different websocket clients as an alternative but it's not ready yet - also i can't guarantee that it'll work better with another wss client underneath.