Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: handle LND restarts #191

Open
AndySchroder opened this issue Oct 11, 2024 · 1 comment
Open

Feature: handle LND restarts #191

AndySchroder opened this issue Oct 11, 2024 · 1 comment

Comments

@AndySchroder
Copy link

Restarting LND causes LNDK to hang or crash with the following in the log:

thread 'tokio-runtime-worker' panicked at /LNDK/lndk/src/onion_messenger.rs:210:18:
peer subscription failed: Status { code: Unknown, message: "connection error: unexpected end of file", source: Some(hyper::Error(Io, Kind(UnexpectedEof))) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If it doesn't crash, then I get a bunch of

2024-10-10T10:02:29.720894896-04:00 TRACE ldk - Failed to find path when sending OffersMessage

messages and things don't work until I manually restart LNDK.

Would be nice for it to auto reconnect instead when LND comes back up, or at the bare minimum, always crash instead of sometimes hang so that you can use systemd to auto restart LNDK if it does crash.

@orbitalturtle
Copy link
Collaborator

Ah interesting. To help with this, it might be worth trying to bring #100 back to life :)

Thanks for all the issue reports btw @AndySchroder. I've been a bit swamped but I hope we'll be able to clean up some of these things soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants