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

[bug]: htcinterceptor stops reading from lnds interceptor stream locking the htlcswitch in lnd from further accepting or resolving htlcs #101

Open
ziggie1984 opened this issue Dec 28, 2023 · 1 comment

Comments

@ziggie1984
Copy link

Raising this issue as a reference to lightningnetwork/lnd#8318. I have not yet analysed the Circuitbreaker part yet, but the logs in lnd might reveal that the problem has its origin in the circuitbreaker maybe ? Seems like the CB stops reading from the LND Interceptor Stream.

Will provide logs as soon as some of them are available.

carlaKC added a commit to carlaKC/circuitbreaker that referenced this issue May 23, 2024
@carlaKC
Copy link
Collaborator

carlaKC commented May 24, 2024

CB should always cancel its context on exit (via ErrGroup) which I'd expect to clean up the grpc connection correctly. There's one case where we'd error out without context cancellation - opened #104 to address this - but I doubt that's the cause of the issue because people reporting this wouldn't even be able to start CB up properly.

Open to suggestions of other things that can be done on this end, but I haven't been able to reproduce this yet. Possibly no longer an issue now that LND has keepalive.

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