Skip to content

After system reboot >> Could not connect to 'lightning-rpc': Connection refused #3859

Description

@jodobear

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:

  1. Fresh install bitcoind
  2. Install lightningd
  3. Run rpc commands - all good.
  4. Reboot system
  5. Get the error

Following is the output of lightnind after reboot:

2020-07-20T02:59:44.639Z UNUSUAL plugin-bcli: Could not connect to 'lightning-rpc': Connection refused
2020-07-20T02:59:44.652Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2020-07-20T02:59:44.730Z UNUSUAL lightningd: Waiting for initial block download (this can take a while!)
2020-07-20T02:59:44.732Z UNUSUAL lightningd: Unable to estimate opening fees
...
2020-07-20T02:59:44.732Z UNUSUAL lightningd: Unable to estimate max_acceptable fees
2020-07-20T02:59:44.925Z UNUSUAL plugin-bcli: bitcoin-cli getblock 00000000000000ad6082acfe902b2ee294f4d1219f12b67bf59f88bb9d4af729 0 exited with status 1

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 output

Could not connect to 'lightning-rpc': Connection refused

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions