question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not connect to Bittrex server

See original GitHub issue

Hey @JKorf ,

first of all many thanks for making this project public. I was trying it out with the example code. The REST part works fine, but I have a problem with signalr client.

While I’m trying to run this:

using System;
using Bittrex.Net;
using Bittrex.Net.Logging;


namespace Examples
{
    class Program
    {
        static void Main(string[] args)
        {
            BittrexDefaults.SetDefaultApiCredentials("***", "***");
            BittrexDefaults.SetDefaultLogOutput(Console.Out);
            BittrexDefaults.SetDefaultLogVerbosity(LogVerbosity.Debug);

            var socketClient = new BittrexSocketClient();
            var subcribtion = socketClient.SubscribeToMarketDeltaStream("BTC-ETH",
                summary => { Console.WriteLine($"BTC-ETH: {summary.Last}"); });
                      
            Console.ReadLine();
            socketClient.UnsubscribeFromStream(subcribtion.Result);

        }
    }
}

I’m getting this output:

01:29:38:783 | Debug | Going to subscribe to BTC-ETH
01:29:38:800 | Debug | Starting connection to bittrex server
01:29:38:806 | Debug | Socket state: Disconnected -> Connecting
01:29:39:058 | Debug | Socket state: Connecting -> Disconnected
01:29:39:065 | Debug | Socket closed
01:29:39:067 | Warning | Call failed: Could not connect to Bittrex server

Could you give me some tips what am I doing wrong?

Cheers, Wojtek

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JKorfcommented, Nov 13, 2017

I’ve been able to replicate the issue and I came to the same conclusion, when targeting .net core2 it fails. I will look into this and try to find the underlying issue, but can’t provide a quick fix for you right now, sorry!

I created a new Issue for this. #6

0reactions
wklmcommented, Nov 13, 2017

thanks a lot 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Call failed: Could not connect to Bittrex server #7
It seems that Bittrex changed some things on the server side regarding the websockets. I have to check what they changed and how...
Read more >
Log In Issues - Bittrex Support - Zendesk
Having issues logging in to your Bittrex account? We can help with that! Our platform is usually pretty straightforward and easy to use, ......
Read more >
How to Fix bittrex by bittrex inc App Not Working / Not Loading ...
2. The bittrex by bittrex inc app server could be down the server is offline. This could happen due to power outages in...
Read more >
Bittrex down today August, 2023? Bittrex.com not working ...
Bittrex.com website down Today August, 2023? Can't log in? Real-time problems and outages - here you'll see what is going on.
Read more >
Problem with your connection. : r/Bittrex
Everytime I try to sign into my account it fails and says there is a problem with my connection. But, my connection is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found