Open pvtrn opened 7 years ago
I am getting this error too. I am also writing a python websocket connector as well. Its having the same issue.
Having the same issue as well
@treeform and @franciskim722 I was having the same error: https://github.com/dparlevliet/node.bittrex.api/issues/2 It sounds like @dparlevliet has taken over maintenance of the repo. His fork is at v0.7.4. In that fork they use a package named cloudscraper to prevent this error (related to cloud flare blocking calls and stuff)
@n0mad01, When I do npm install node.bittrex.api I still get v0.6.6 NPM's repo is still not updated: https://www.npmjs.com/package/node.bittrex.api @n0mad01 how can the npm repo be updated to follow @dparlevliet's repo?
@bernatfortet thanks for the quick response, will take a look!
Same here... I've been searching for the websocket docs on Bittrex API's website and failed to find them... have they been disabled?
I don't think Bittrex ever published documentation on their websocket... People have just figured it out by analyzing their browser traffic while navigating the site.
I believe @bernatfortet is right, though -- this seems to be a Cloudflare issue. Bittrex was hit by a DDoS attack a few days ago, so this seems to be a counter measure against that (you will notice that when you visit the site normally via your browser now you get a Cloudflare redirect page for a few seconds).
To compound the issue, the original author of this package has abandoned it but has not transferred ownership on the npm registry to the new maintainer (see: https://github.com/dparlevliet/node.bittrex.api/). For now, installing that fork manually will fix this issue.
Thing is, this repo is directly linked from Bittrex API documentation...
Thank you for the explanation!
WebSocket don't working
This code write error: Error Message: Negotiate Unknown Exception: undefined Error Data: 503 Error Message: Negotiate Unknown Exception: undefined Error Data: 503
var websocketsclient = bittrex.websockets.listen( function( data ) { if (data.M === 'updateSummaryState') { data.A.forEach(function(data_for) { data_for.Deltas.forEach(function(marketsDelta) { console.log('Ticker Update for '+ marketsDelta.MarketName, marketsDelta); }); }); } });