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

Joule hangs indefinitely on HodlInvoice payment #232

Open
ianpatton opened this issue Sep 9, 2019 · 1 comment
Open

Joule hangs indefinitely on HodlInvoice payment #232

ianpatton opened this issue Sep 9, 2019 · 1 comment

Comments

@ianpatton
Copy link

Description of the Issue

When paying a Hodl Invoice, the Joule browser plugin may not get a response from the LND API immediately. Due to the nature of Hodl Invoices, the server may not respond for hours or days, depending upon when the recipient decides to settle the invoice.

See discussion on this LND issue: lightningnetwork/lnd#3469

BlueWallet, for example, times out the request after ~60 seconds and just shows "Payment in transit"

Steps to Reproduce

Create a Hodl invoice on LND, and attempt to pay it from Joule. The receiving end will correctly show the payment transition to "ACCEPTED" state, but Joule has no way of knowing this and just spins until the invoice is settled.

Description of Your Setup

Browser & version: Brave
Operating system: Linux
Node software & version: LND 0.7.1-beta

Console Logs / Screenshots

[Please provide these if you can!]

@wbobeirne
Copy link
Member

Ah yes, I think this could be remedied with the async payment RPC's that are being worked on, but none of that has made it to the REST API yet. Unfortunately it's a bit of a second class citizen.

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

No branches or pull requests

2 participants