could not connect to bitcoind using json-rpc
See original GitHub issueEclair gives me these errors when I try to launch through eclair-node.bat. I have the same rpcuser and rpcpassword for both eclair and bitcoin conf files. I have port forwarded incoming and outgoing connections over ipv4 for 9735 and 8333. I have enabled public and private connections to bitcoin core in windows firewall.
ERROR fr.acinq.eclair.Boot - fatal error: could not connect to bitcoind using json-rpcfr.acinq.eclair.BitcoinRPCConnectionException: could not connect to bitcoind using json-rpc
ERROR fr.acinq.eclair.Boot - fatal error: C:\Users\kiera\.eclair\eclair.conf: 6: Expecting end of input or a comma, got ':'
Here’s my bitcoin and eclair conf files:
eclair.chain=mainnet
eclair.node-alias=BinaryJava
eclair.bitcoind.rpcport=8332
eclair.server.port=9735
eclair.bitcoind.rpcuser=username
eclair.bitcoind.rpcpassword=password
eclair.bitcoind.zmq=tcp://127.0.0.1:29000
eclair.bitcoind.host=127.0.0.1
eclair.server.public-ips = ["90.194.127.165"]
eclair.node-color=ffa300
eclair.bitcoind.wallet="Lightning wallet"
testnet=0
server=1
rpcuser=username
rpcpassword=password
rpcport=8332
txindex=1
zmqpubrawblock=tcp://127.0.0.1:29000
zmqpubrawtx=tcp://127.0.0.1:29000
addresstype=p2sh-segwit
I am using eclair-node-0.5.0 and running from the .bat file.
Tested on windows 10 with java version “15.0.1”
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Could not connect to Bitcoin Core using JSON-RPC - Reddit
I'm using eclair to get a lightning node running. But i keep getting this error Could not connect to Bitcoin Core using JSON-RPC....
Read more >Can not connect to rpc server bitcoind 0.16
I have 2 server v0.18 and 0.16. They're nearly same config but I can't connect to v0.16 server via RPC though using command...
Read more >bitcoin-core-ts - npm
Connecting via SSL. On Bitcoin Core <0.12, you can start the bitcoind RPC server directly with SSL: docker run --rm -it - ...
Read more >Localhost peer not detected error when trying to connect to ...
I want to connect to the network from a java application running on the same machine via JSON RPC. I can connect to...
Read more >How to connect to Bitcoin or Ethereum with an RPC | Medium
It must be noted that to run bitcoind on versions below 0.3.14, you should call the HTTP JSON-RPC server, however, the basic authentication...
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 Free
Top 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
Solution was to downgrade bitcoin core version and wait until downloaded blockchain was completely indexed. The bitcoin core wallet does not have GUI to show progress of indexing. Indexing took over 5 days on my system and my indexes folder is currently 29.4gb. Only way I found to track progress was periodically checking size of index folder and to hear when my hard drive was no longer clicking.
We haven’t added support for 0.21.0 yet, we’re waiting for the minor bug fix release (0.21.1).