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.

Not sure what I am doing wrong

See original GitHub issue

I am sorry to be posting here but I dont know what else to do. I am experimenting with this project and I cannot get the simplest thing to work.

I have downloaded the source from Github and created a second project in the solution with a reference to the Binance.net project. In my blank Windows Forms VB project I have only the following:

    Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        Using client As New BinanceClient()
            Dim ping = client.Ping
        End Using
    End Sub

Regardless of what method I call, eg. client.Ping, client.GetAllPrices, etc., it hangs at the first call. If I press pause in the debugger after calling Ping, the code is waiting at line 128 in BinanceClient.cs

public BinanceApiResult<bool> Ping() => PingAsync().Result;

I have tried the following:

  • Turning off firewall
  • Using C# instead of VB code
  • Changing frameworks, currently on 4.7.1, although the framework in Binance.net properties is greyed and cannot be changed
  • Using Nuget to install Binance.net instead of the project
  • Tried VS2017 then VS2015

I am so confused… Any tips on how to get started would be greatly appreciated!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Transigentcommented, Jan 23, 2018

I forgot to say thank you for the support JKorf, we all appreciate it immensely. I tried the new version and it works great.

Thanks again.

0reactions
JKorfcommented, Jan 23, 2018

Thanks for the kind words, appreciated 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are good ways to find out what I'm doing wrong in ...
Look at the results of your actions. If they are bad or negative, it does not matter how good your theories are. The...
Read more >
Not sure what I'm doing wrong
Emily H is having issues with: Hi there, not sure what I'm doing wrong here, I've rewatched the "str" video in regards to...
Read more >
'What Is Wrong With Me?' What to Do If You Feel This Way
What's wrong with me? You might ask yourself this question if you are overwhelmed, stressed, or dealing with mental health issues.
Read more >
Don't know what I'm doing wrong - Support
I don't know what I did wrong, but I honestly feel like everything is my fault. no matter what the situation is, it's...
Read more >
Ep #142: Finding the Answer: What Am I Doing Wrong?
Discover how to answer the question, “What am I doing wrong?” and do so with the intention of self-healing instead of self-loathing.
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