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] Channel opens/closes only after restart #1261

Closed
thisispav opened this issue Sep 19, 2023 · 9 comments
Closed

[Bug] Channel opens/closes only after restart #1261

thisispav opened this issue Sep 19, 2023 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@thisispav
Copy link

thisispav commented Sep 19, 2023

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

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots / Recording

Operating system

Graphene OS Pixel 6A

Bitkit version

v66

Log output

bitkit_ldk_logs_1695133081875.zip

@thisispav thisispav added bug Something isn't working triage This issue needs to be looked over by the team labels Sep 19, 2023
@JeanlChristophe JeanlChristophe removed the triage This issue needs to be looked over by the team label Sep 19, 2023
@pwltr
Copy link
Collaborator

pwltr commented Sep 19, 2023

Experiencing the same issue on occasion. Have to sometimes restart Bitkit for the channel to be opened, refreshing alone is not enough.

@pwltr pwltr changed the title Channel Open with big Delay [Bug] Channel opens only after restart Sep 29, 2023
@pwltr
Copy link
Collaborator

pwltr commented Oct 2, 2023

Also an issue when closing channels.

@JeanlChristophe JeanlChristophe assigned ovitrif and unassigned Jasonvdb Feb 13, 2024
@JeanlChristophe JeanlChristophe added this to the v.1 milestone Feb 13, 2024
@ovitrif
Copy link
Contributor

ovitrif commented Feb 21, 2024

Couldn't repro yet, will keep trying.

@ovitrif
Copy link
Contributor

ovitrif commented Feb 26, 2024

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 🤷

@JeanlChristophe
Copy link

bitkit_ldk_logs_1709043704903.zip
here the logs from Pav. he had the same issue

@JeanlChristophe JeanlChristophe added the triage This issue needs to be looked over by the team label Mar 5, 2024
@pwltr pwltr changed the title [Bug] Channel opens only after restart [Bug] Channel opens/closes only after restart Mar 29, 2024
@pwltr pwltr self-assigned this May 14, 2024
@pwltr pwltr removed the triage This issue needs to be looked over by the team label May 14, 2024
@Jasonvdb
Copy link
Collaborator

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.

@pwltr
Copy link
Collaborator

pwltr commented May 21, 2024

Putting this in the backlog again for now, will keep an eye out for this issue.

@pwltr
Copy link
Collaborator

pwltr commented Aug 19, 2024

Seems to be fixed, closing.

@pwltr pwltr closed this as completed Aug 19, 2024
@Jasonvdb
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants