Closed jodobear closed 4 years ago
Do you use some kind of lightning.conf
? What command line do you use to start lightningd
?
nope, no conf
file. I just use lightningd --daemon
immediately after install and also after reboot.
EDIT: In fact, before in my initial attempts i was using a config file which resulted in the same error, so i did a step by step install and found a way to reproduce it without doing anything over and above basic installation. So, no config, no systemd service setup, no tor config or anything else
With lightningd
running, can you show output of tree -apug $LIGHTNINGDIR
?
@ZmnSCPxj is possible if the user run the lightningd
without --daemon and maybe with the --log-level=debug
is possible to see the stack trace if there is some error?
Yes, good suggestion.
This is a bitcoind
"issue", you just need to wait for IBD.
I added a commit to the fixup queue in #3857 that removes the, often misinterpreted, warning about being unable to connect to the JSON-RPC. So we should now scare users a bit less :-)
Issue
I have read everything there is to read about this error but, the only answer i've found is that
lightningd
isn't running. Well, that isn't the case with here.System
OS: Debian/buster64 ENV: Vagrant bitcoind dir: ~/.bitcnoind lightningd dir: ~/.lightnind
Steps to reproduce:
bitcoind
lightningd
Following is the output of
lightnind
after reboot:Is this a case of file permissions? Directory paths? ..? I have no clue what i'm doing wrong. I've followed the install process to the T.
Any help highly appreciated.
getinfo
outputCould not connect to 'lightning-rpc': Connection refused