Consistently get 503 errors using BittrexSocketClient
See original GitHub issueUsing:
var socketClient = new BittrexSocketClient();
socketClient.SetLogVerbosity(LogVerbosity.Debug);
await socketClient.SubscribeToAllMarketDeltaStreamAsync(...)
I keep getting this:
03:12:02:046 | Debug | Going to subscribe to all markets
03:12:02:102 | Debug | Starting connection to bittrex server
03:12:02:137 | Debug | Socket state: Disconnected -> Connecting
03:12:02:396 | Debug | Socket state: Connecting -> Disconnected
03:12:02:403 | Warning | Couldn't connect to Bittrex server, going to try CloudFlare bypass
03:12:02:449 | Debug | Socket closed
03:12:08:326 | Debug | CloudFlare cookies retrieved, retrying connection
03:12:08:332 | Debug | Socket state: Disconnected -> Connecting
03:12:08:952 | Error | Socket error: HTTP/1.1 503 Service Temporarily Unavailable
03:12:08:992 | Error | Socket error: Socket is not connected
03:12:13:534 | Debug | Socket state: Connecting -> Disconnected
03:12:13:541 | Debug | Socket closed
03:12:13:556 | Warning | Call failed: Could not connect to Bittrex server
This is also after I try visiting the website through a browser to trigger the CloudFlare check on the browser. BittrexClient
meanwhile seems to work fine.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to Fix 503 Service Unavailable Error in 7 Steps
In this tutorial, learn what the 503 service unavailable error means and 7 proven methods to fix it to get your website back...
Read more >Fix Websocket connection for platforms without ...
Consistently get 503 errors using BittrexSocketClient #27 ... on win7 i get the following error when using longpolling.
Read more >How to Fix the HTTP Error 503 Service Unavailable
The HTTP Error 503 status code indicates that the server is currently unable to handle the request. Find out more about the causes...
Read more >503 Service Unavailable Error: What It Is and How to Fix It
A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request.
Read more >What is HTTP error 503 and how do you fix it?
Seeing a 503 error indicates that something has stopped your browser from accessing the server of the affected website, and is typically an ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I´ve managed to fix it, but I had to use the ClientWebsocket class to get it to work. This means that sadly the stream connection only works on platforms where the WebSocket protocol is available. Windows 7 doesn´t have this, so the current implementation only works on Windows 8 +.
I’ll try to fix it without relying on the ClientWebsocket class, but for now it should work at least on Windows 8/ Windows 10. See #36.
I have same issue if i open browser and go bittrex then my apps working but if i dont do this it working sometimes