-
Notifications
You must be signed in to change notification settings - Fork 971
Open
Milestone
Description
Core lightning node crashes when a non-important plugin fails to run, despite the documentation indicating that only important plugins should cause the daemon to crash on failure.
Expected Behavior
- According to the documentation, non-important plugins should not cause lightningd to crash.
- When a plugin is installed via reckless (which does not mark plugins as important), the failure of that plugin should be logged but should not cause the entire daemon to crash.
Actual Behavior
When the backup plugin installed via reckless fails to run, it causes the entire Core Lightning node to crash.
Steps to Reproduce
- Install backup plugin using reckless:
lightning-cli reckless install "backup" - lightningd crashes and the command fails with error
lightning-cli: reading response: socket closed
Proposed Solution
- lightningd should distinguish between important and non-important plugins and handle their failures accordingly
- reckless plugin could add another rpc as
listfailedwith metadata likeplugin_name,plugin_url,last_failed_date,failure_reason, etc.
Metadata
Metadata
Assignees
Labels
No labels