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.

could not connect to bitcoind using json-rpc

See 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.server.public-ips = [""]
eclair.bitcoind.wallet="Lightning wallet"

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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

BinaryJavacommented, Feb 12, 2021

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.

t-bastcommented, Feb 8, 2021

We haven’t added support for 0.21.0 yet, we’re waiting for the minor bug fix release (0.21.1).

Read more comments on GitHub >

github_iconTop 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 >

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 Post

No results found

github_iconTop Related Hashnode Post

No results found