Giter Club home page Giter Club logo

Comments (4)

psun888 avatar psun888 commented on July 22, 2024

Here is the detailed error:

BitcoinLib.ExceptionHandling.Rpc.RpcInternalServerErrorException: dummy first argument must be excluded or set to "*". ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at BitcoinLib.RPC.Connector.RpcConnector.MakeRequest[T](RpcMethods rpcMethod, Object[] parameters) in C:\bitcoinlib-master\src\BitcoinLib\RPC\Connector\RpcConnector.cs:line 57
--- End of inner exception stack trace ---
at BitcoinLib.RPC.Connector.RpcConnector.MakeRequest[T](RpcMethods rpcMethod, Object[] parameters) in C:\bitcoinlib-master\src\BitcoinLib\RPC\Connector\RpcConnector.cs:line 106
at BitcoinLib.Services.CoinService.GetBalance(String account, Int32 minConf, Nullable`1 includeWatchonly) in C:\bitcoinlib-master\src\BitcoinLib\Services\RpcServices\RpcService\RpcService.cs:line 148

from bitcoinlib.

moodmosaic avatar moodmosaic commented on July 22, 2024

Just to make sure we know exactly where to troubleshoot, this isn't the case with 0.17.0 either, right?

from bitcoinlib.

psun888 avatar psun888 commented on July 22, 2024

I tested 0.17.0, not working either. Only version 0.16.3 or lower versions are working. thanks

from bitcoinlib.

moodmosaic avatar moodmosaic commented on July 22, 2024

I just used the demo app with 0.17.0 and 0.17.1, and run it up to GetBalance where you seem to be getting the error and it works fine:

Connecting to Bitcoin TestNet via RPC at http://localhost:18332...[OK]

Bitcoin Network Difficulty: 13,279,725

My balance: 0.00000000 BTC
Current block: 1,451,550

In Bitcoin Core, go to Settings, in the Main tab click on the Open Configuration File button and make sure your bitcoin.conf looks like this:

rpcuser = MyRpcUsername
rpcpassword = MyRpcPassword
server=1
txindex=1

The BitcoinLib version I used to test this is 1.12.0.


Closing this as I can't seem to reproduce it. Feel free to reopen it or add comments to it. Thank you for your feedback.

from bitcoinlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.