Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Channel stuck at the opening stage. #33

Open
sneakingweasel opened this issue Dec 15, 2022 · 7 comments
Open

Channel stuck at the opening stage. #33

sneakingweasel opened this issue Dec 15, 2022 · 7 comments

Comments

@sneakingweasel
Copy link

Recently tried to open my first channel, it seems the on-chain tx broadcast fine but the channel is stuck at the opening stage despite hundreds of on-chain confirmations. I have network activity displayed at the taksbar in Android which doesnt show any activity after the initial chain sync upon opening the app. It seems like LN connectivity is broken for me. Already tried to close the channel but nothing happens, tor doesnt work either.

[Lineage 19.1, Android 12]

@fiatjaf
Copy link
Contributor

fiatjaf commented Dec 15, 2022

This has happened to me multiple times when opening a channel to LND. The channel is missing a message from either OBW to LND or vice-versa. Weirdly, when trying to debug once it looked like the problem was with OBW, others it was with LND. After a while and a couple restarts the message always does get sent though, and the channel works, still unclear triggered by what.

@sneakingweasel
Copy link
Author

I see, not just me then. I have opened the app probably 10 times a day for 4 days now but the channel has never worked. Is there any way I can dump a log file from the app to help get this fixed? I'm completely stuck and would like to use this LN wallet.

In the meantime, I guess force-closing the channel to at least regain control over my funds is the best thing to do...

If you don't mind, can you tell me which node you're connected to that works?

@fiatjaf
Copy link
Contributor

fiatjaf commented Dec 31, 2022

Sorry for the lack of responses here. Did this have any other development? Did you force-close?

@sneakingweasel
Copy link
Author

sneakingweasel commented Jan 6, 2023 via email

@fiatjaf
Copy link
Contributor

fiatjaf commented Jan 6, 2023

Thank you very much. I'm keeping this in mind. This issue will be fixed, but I can't give you a date for that. Maybe you should stick to SBW for now.

@Darth-Coin
Copy link

Darth-Coin commented Jan 17, 2023

I have the same situation.
OBW 0.2.1.-12, fresh install, opened a channel with a LND node, tx confirmed, on the LND node side the channel appear as online, but in my OBW is in "opening" state.
I opened using clearnet node URI and also using OBW in clearnet, no Tor.

@SkanderHelali
Copy link

SkanderHelali commented Feb 17, 2023

Can confirm. Channel stuck 'opening' despite hundreds of confirmations.
Had to force close.
Force close wouldn't sweep after the required block delay and stuck in 'waiting' for hundreds more blocks.

OBW would become slow, and crash with variations of this:

java.lang.OutOfMemoryError: Failed to allocate a 5240 byte allocation with 31696 free bytes and 30KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.

Phone has plenty of RAM available.

Restored with OBW's backupfile + seed to SBW and it immediately swept the FC funds.
Something is (very) broken. I'd try to warn against using OBW for anything other than onchain and HCs for the time being.

Edit: peer was CLN btw, so not an LND<->OBW issue.

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

No branches or pull requests

4 participants