[Bug] Channel opens/closes only after restart
Describe the bug
tried opening a channel - was waiting for 30 min - the channel state said Connection Open but when I switched on Dev Mode the channel was bot Not Usable and Not Ready.
Order ID - Order ID - 12a83f07-fd31-4d37-be52-5ea8c2668f0c
Sev suggested it is a peer connection issue - I tried to refresh the app multiple times, then closed and opened the app and received notification that the channel was finally opened.
Reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Screenshots / Recording
Operating system
Graphene OS Pixel 6A
Bitkit version
v66
Log output
Experiencing the same issue on occasion. Have to sometimes restart Bitkit for the channel to be opened, refreshing alone is not enough.
Also an issue when closing channels.
Couldn't repro yet, will keep trying.
While I couldn't repro this issue yet I noticed an error that was reported twice in the logs:
2023-09-19 23:12:19 ERROR (LDK): Peer sent channel_ready when we needed a channel_reestablish.
The peer is likely lnd,
see https://github.com/lightningnetwork/lnd/issues/4006
(lightning::ln::channelmanager 7085)
Just wanted to add it here, even though I'm skeptical this is the cause of the issue. I mean, I wouldn't expect this error to resolve automatically after restart 🤷
bitkit_ldk_logs_1709043704903.zip here the logs from Pav. he had the same issue
Latest theory is this was caused by electrum issues and may have been resolved in other updates. Restarting allowed it to reconnect and see the funding tx making the channel usable.
Putting this in the backlog again for now, will keep an eye out for this issue.
Seems to be fixed, closing.
Also think maybe it was caused by dropped peer connections. And now we have a patch that reconnects right away if a peer is dropped.