Skip to content

'lightning-rpc': Connection refused #1358

Closed
@Sjors

Description

@Sjors

This started happening somewhere in the past few days on Ubuntu and is still happening with the latest master.

cli/lightning-cli help
lightning-cli: Connecting to 'lightning-rpc': Connection refused

The log is happily spitting out lightningd and lightning_gossipd messages, but I can't use RPC.

ps aux | grep lightningd
bitcoin  21805  0.0  0.1  26184  2980 ?        Ss   19:28   0:00 SCREEN -S lightningd
bitcoin  22008  0.2  0.5  26128 12220 pts/3    S+   19:28   0:00 lightningd/lightningd --network=bitcoin --ipaddr=... --log-level=debug --log-file=/home/bitcoin/.lightning/debug.log
bitcoin  22015  0.0  0.1  11112  2776 pts/3    S+   19:28   0:00 /home/bitcoin/lightning/lightningd/lightning_hsmd
bitcoin  22016  4.6  0.9  28264 20428 pts/3    S+   19:28   0:11 /home/bitcoin/lightning/lightningd/lightning_gossipd

I think it's still catching up so that might be related, but that didn't use to matter. I also noticed that when running with -daemon it doesn't daemonize, at least not in the first minute that I waited.

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