Title: RPC Connection Post by: DaCryptoRaccoon on May 21, 2019, 12:11:38 PM I seem to be having some trouble connecting Bitcoin core v0.17.0 with RPC
In the wallet configuration I have set the bitcoin.conf with the following. Code: server=1 On checking I can see bitcoin listening on local host with Code: netstat --ip -lpa|grep bitcoin In my connecting configuration I have set the connection to. Code: "btc": { The connecting module is running from bitcoin npm so it should pass to localhost as default. But when I call the command for balance or deposit address to be called it fail's to return the address or the balance. The commands are being read but the wallet fail's to respond and return the requested info. Code:
Everything seems to be setup and running but for some reason the RPC won't pass the requested info back to the bot. Thanks. Title: Re: RPC Connection Post by: achow101 on May 21, 2019, 03:31:40 PM What is the actual response from bitcoind? Usually the error messages are informative.
Title: Re: RPC Connection Post by: DaCryptoRaccoon on May 21, 2019, 03:49:29 PM It seems to have connected once but still failed to get address
from debug.log it shows Code: 2019-05-21T15:42:23Z Binding RPC on address 0.0.0.0 port 8332 failed. I ran with -deprecatedrpc=accounts to test but same result Title: Re: RPC Connection Post by: linenoise on May 22, 2019, 05:37:40 PM Are you sure your RPC connector works? There are multiple bitcoin RPC libraries for connecting, you could always try another just to make sure it's not the client having an issue.
|