Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

lightning-cli plugin stop /path/to/watchtower.py kills lightningd #308

@svewa

Description

@svewa

It seems when plugin stop is called on the watchtower right after Sending appointment, before Appointment accepted and signed, it crashes lightningd

022-02-09T19:15:37.554Z INFO    plugin-watchtower.py: Remaining slots: 159981005
2022-02-09T19:15:37.554Z INFO    plugin-watchtower.py: Start block: 722518
2022-02-09T19:15:37.607Z INFO    plugin-watchtower.py: Adding tower to Tower's db (id=$id)
2022-02-09T19:15:37.616Z INFO    plugin-watchtower.py: Sending appointment 531c53e4279195a08711033ed88aef73 to $id
2022-02-09T19:15:37.998Z INFO    plugin-watchtower.py: Killing plugin: stopped by lightningd via RPC
2022-02-09T19:15:37.999Z **BROKEN** lightningd: Already in transaction from lightningd/jsonrpc.c:948
2022-02-09T19:15:38.049Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v0.10.2)
2022-02-09T19:15:38.049Z **BROKEN** lightningd: backtrace: common/daemon.c:38 (send_backtrace) 0x556f12436da1
2022-02-09T19:15:38.049Z **BROKEN** lightningd: backtrace: common/daemon.c:46 (crashdump) 0x556f12436df0
--
2022-02-09T21:24:59.406Z INFO    plugin-watchtower.py: Appointment accepted and signed by $id
2022-02-09T21:24:59.407Z INFO    plugin-watchtower.py: Remaining slots: 159979073
2022-02-09T21:24:59.407Z INFO    plugin-watchtower.py: Start block: 722533
2022-02-09T21:24:59.438Z INFO    plugin-watchtower.py: Adding tower to Tower's db (id=$id)
2022-02-09T21:24:59.584Z INFO    plugin-watchtower.py: Killing plugin: stopped by lightningd via RPC
2022-02-09T21:25:05.432Z INFO    plugin-watchtower.py: A key file for the watchtower client already exists. Loading it
2022-02-09T21:25:05.433Z INFO    plugin-watchtower.py: Plugin watchtower client initialized. User id = $uid
2022-02-09T21:25:08.916Z INFO    plugin-watchtower.py: Sending appointment 07dffc4311d765151942e619bee13e80 to $id
2022-02-09T21:25:09.689Z INFO    plugin-watchtower.py: Appointment accepted and signed by $id
--
2022-02-09T21:25:12.496Z INFO    plugin-watchtower.py: Appointment accepted and signed by $id
2022-02-09T21:25:12.496Z INFO    plugin-watchtower.py: Remaining slots: 159979069
2022-02-09T21:25:12.496Z INFO    plugin-watchtower.py: Start block: 722533
2022-02-09T21:25:12.522Z INFO    plugin-watchtower.py: Adding tower to Tower's db (id=$id)
2022-02-09T21:25:58.038Z INFO    plugin-watchtower.py: Killing plugin: stopped by lightningd via RPC
2022-02-09T21:26:02.717Z INFO    plugin-watchtower.py: A key file for the watchtower client already exists. Loading it
2022-02-09T21:26:02.718Z INFO    plugin-watchtower.py: Plugin watchtower client initialized. User id = $uid
2022-02-09T21:26:07.638Z INFO    plugin-watchtower.py: Killing plugin: stopped by lightningd via RPC
2022-02-09T21:26:10.497Z INFO    plugin-watchtower.py: A key file for the watchtower client already exists. Loading it
2022-02-09T21:26:10.498Z INFO    plugin-watchtower.py: Plugin watchtower client initialized. User id = $uid
2022-02-09T21:26:12.463Z INFO    plugin-watchtower.py: Killing plugin: stopped by lightningd via RPC
2022-02-09T21:26:14.627Z INFO    plugin-watchtower.py: A key file for the watchtower client already exists. Loading it
2022-02-09T21:26:14.627Z INFO    plugin-watchtower.py: Plugin watchtower client initialized. User id = $uid

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