dparlevliet / node.bittrex.api

Node Bittrex API is an asynchronous node.js library for the Bittrex API, the data can be received either via GET request or Stream.
MIT License
253 stars 100 forks source link

Can't make call to Signalr, 503 #143

Closed ca1987 closed 6 years ago

ca1987 commented 6 years ago

We are using C# HubConnection class and it does not allow us to make a call to wss://socket.bittrex.com/signalr

I tried connecting to there server and received following error:

InnerException = {"StatusCode: 503, ReasonPhrase: 'Service Temporarily Unavailable', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:\r\n{\r\n Transfer-Encoding: chunked\r\n Connection: close\r\n X-Frame-Options: SAMEORIGIN\r\n Expect-CT: max-age=604800, r...

I am relaying this for my programmer.

Could this be the same as https://github.com/n0mad01/node.bittrex.api/issues/67#issuecomment-343736593 ? Due to cloudflare, with a simple fix of connecting using cfscraper?

dparlevliet commented 6 years ago

Correct. You will need to compensate for Cloudflare.