-
Notifications
You must be signed in to change notification settings - Fork 160
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
Opening Channels Stock in Pending Open
#1280
Comments
@jairunet This transaction did not reach to the mempool. Can you check |
Hello @ShahanaFarooqui , Thank you for looking into this issue. Correct, the transaction never made it to any of the public mempools. Here are the results related to the channels: #lightning-cli listfunds
# lightning-cli listpeerchannels
I provided the details of one of them as there is so much information...I will be fine with joining a video call or audio chat to get to the bottom of this if preferred. Thank you again for all your hard work. Sincerely, |
Hello @ShahanaFarooqui, Regarding this issue I believe is more a CLN related issue, because even after removing RTL completely I can see the same issue with other lightning applications such as spark Or CLN UI Maybe I should bring this issue to CLN instead, I let you close it if that makes sense to you? Sincerely, |
hi @jairunet looking this issue again. It appears that these channel opens never confirmed. I was able to scrape a transaction id from the screenshot above and couldn't find it in the mempool. If the funds are back in your wallet, the only logical action left to take is to |
@saubyk Hi there, I will check that option via the CLN CLI see if I can clear them out without affecting the one lightning channel valid with the same peer. I will update. Sincerely, |
@jairunet please make sure of two things for each of your channels that you'll attempt to
Please note that |
Hello @saubyk I believe I will hold for the mining fees to go lower (if there is such an event) then just close the channel I have with the peer LND that is currently using this channel with my lightning node, I think it is better for me to close it, verify that the sats left from the mutual channel returns to the on-chain wallet of my node, close/forget the other fake/never confirmed channels and the re-open the channel towards that node again clean slate. I will post the final results here and close this issue if that solves the problem I have once and for all. Thank you for all your great help and suggestions. Sincerely, |
@saubyk I proceeded to close all the channels related to the peer that also have those other three channels: I am not sure if this will clear itself out after a few days. Your advice will be really appreciated. Sincerely, |
Hi @jairunet are you able to track the channel closing transactions in the mempool? |
Hello @saubyk I am trying this at the command line:
But these three (3) channels were never opened or seen in the bitcoin blockchain: And if I check the details of one of the channels I can see that there was never a short channel ID: I just don't understand why they just don't get cleared... Thank you for your patience and help! |
@ShahanaFarooqui is there a way to derive short channel id from the channel id? |
@saubyk @jairunet As per bolt standard described here: As per Rene Pickhardt: Also please confirm that you are following CLN troubleshooting section for channel awaiting locking and forget channels: I will check what else can be done in this case and get back to you in a week. For posterity: How to get short channel id if the funding transaction is in the mempool (testnet example):
|
Hello @ShahanaFarooqui unfortunately we are pretty stuck at the moment. I closed the channel I had with that LND node to see if the other three (never confirmed / nor registered in the bitcoin blockchain) would clear out and no luck, the channel with the peer cleared fine but the other three "orphans" (if I can call them that) remained, I tried those two ways:
But again, the channels never got a short channel ID, and for the forget channel it wants a peer ID (which I have) and also the channel ID, but in short format. For the time being I will hold and come back see if there are any suggestions to clear those annoying channels... Thank you very much @ShahanaFarooqui and @saubyk for the help with this strange scenario. Again, this is one of the issues we run into when opening channels between different lightning implementations CLN + LND. Sincerely, |
OK, so you missed the existence of the "channel_id" parameter to dev-forget-channel? You want:
Hope that helps! |
@rustyrussell an honor again! and thank you so much for taking the time to check my issue, I can now see what I was missing in my previous tries, your solution did the trick! below is the output from one of the channels I applied your recommendation on:
{ Solving this was a nightmare for me, I really appreciate your clarification and solution once again, all the very best! NOTE: the issue can be now close ^^ Sincerely, |
@rustyrussell @ShahanaFarooqui @saubyk Thank you all for your excellent support. Closing, |
Describe the bug
I am running startOS 0.3.4
4, with Core Lightning version 23.02.26, and RTL version 0.13.6~beta (API Version: 0.10.2)When I try to open the lightning channel with RTL I got a quick resulted error (I am sorry I was not fast enough to captured it) and the channel remains on the
Pending Open
status.And in the detailed information:
CHANNELD_AWAITING_LOCk
RTL never generate a channel id and the funding ID does not show up in any of the mempools.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Your environment
RTL version 0.13.6~beta
core lightning version 23.02.2~6
bitcoin core 25.0.0~3
uname -a
on *Nix) Darwin XXXXXXXX 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64Additional context
I was able to open the channel by using the lightning-cli tool from CLN, but the three pending channels I try to open with RTL are still
Pending Open
and I believe that is not the correct behavior of RTL.Thank you in advance for your suggestions.
Sincerely,
The text was updated successfully, but these errors were encountered: