could not connect to bitcoind using json-rpcSee original GitHub issue
Eclair 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 = ["184.108.40.206"] 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”
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
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).