Skip to content

Plugin killed with no explanation #212

@Sjors

Description

@Sjors

On Ubuntu 24.04 the plugin seems to die:

$ tail -f ~/log/debug.log | grep clrest
2024-05-10T18:43:27.433Z DEBUG   plugin-manager: started(428245) /home/lightning/src/c-lightning-REST/clrest.js
2024-05-10T18:44:22.188Z UNUSUAL plugin-clrest.js: --- Starting the cl-rest server ---
2024-05-10T18:44:22.195Z UNUSUAL plugin-clrest.js: --- cl-rest api server is ready and listening on :::3001 ---
2024-05-10T18:44:22.195Z UNUSUAL plugin-clrest.js: --- cl-rest doc server is ready and listening on :::4001 ---
2024-05-10T18:44:22.210Z INFO    plugin-clrest.js: Killing plugin: exited during normal operation

If I run it as a regular node application it seems fine:

$ node cl-rest.js 
Reading config file
warn: --- Starting the cl-rest server ---
warn: --- cl-rest api server is ready and listening on :::3001 ---
warn: --- cl-rest doc server is ready and listening on :::4001 ---

I'm pretty sure the config is equivalent.

v0.10.7 built with npm install

Lightningd v24.02.2 running via systemd.

Metadata

Metadata

Assignees

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