-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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]: Unexpected insufficient balance error on SendPaymentV2 #9204
Comments
Might be related to #6987 |
Try settting the debuglevel for |
Trace level logs for attempted payment
|
what does |
My guess is that you have no outgoing policy set for this channel, that's why in the pathfinding logic we don't consider this this channel. |
It gives Also tried That return: "failed_updates": [ |
can you reproduce this behavior with other CLN channels opened to you, seems like you did not get the ChanAnnouncement from you peer, can you verify if the CLN node can use this channel. |
My CLN can pay invoices on this channel, I just retested that. I also can open new channels in either direction and they work normally. I suspect this is something to do me just shutting down LND and something unlucky happened. |
Seems like this channel was never in its lifetime useable for sending : |
I wonder if CLN ever resends the ChanAnnouncment (Signatures), do you still have the logs at channel confirmation time ? (CLN and LND logs) EDIT: can you provide the channel.db of the regtest LND node. |
No logs anymore sadly. But here is the channel.db |
Background
On regtest when sending payment over grpc with SendPaymentV2 I get insufficient balance error eventough there is a direct channel with balance when checking with
listchannels
. The receiving node is CLN v24.05. Payments to the other direction on the channel work fine and the channel balance onlistchannels
is updated correctly.Logs show this error for the channel:
[ERR] NANN: Unable to retrieve chan status for Channel(ecd587ecb1df5098ce707143a4a7b4166cd1bea9a87a3f3c6f8a4a1abddb944a:0): edge not found
Your environment
Steps to reproduce
Not sure how to reproduce.
Expected behaviour
Payment should be successful
Actual behaviour
Get Payment_FAILED with FAILURE_REASON_INSUFFICIENT_BALANCE
GRPC request:
GRPC response:
List channels response:
The text was updated successfully, but these errors were encountered: