node.bittrex.api icon indicating copy to clipboard operation
node.bittrex.api copied to clipboard

connection aborted

Open webdeveloper0429 opened this issue 8 years ago • 1 comments

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

webdeveloper0429 avatar Aug 17 '17 13:08 webdeveloper0429

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.

n0mad01 avatar Aug 19 '17 11:08 n0mad01