-
Notifications
You must be signed in to change notification settings - Fork 121
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]: SendPayment fails with EOF error after successful payment #1216
Comments
Can you also give us some example code here? It could be the way you're reading the response in Python. EOF for gRPC generally just means that the other side has hung up. At a glance, it looks like you're iterating over a generator of the response, but this isn't a streaming call, so there's only ever one response. So perhaps on the second iteration it runs into this EOF issue? |
I think I saw the same thing in |
I can catch the exception in python, but the way gRPC errors come through in python, they are a bit less clean than other exceptions, so it's harder to distinguish from a real error. |
Looks like we have #1217 as a possible fix. |
I am trying to make a payment using the SendPayment (https://lightning.engineering/api-docs/api/taproot-assets/taproot-asset-channels/send-payment/) gRPC in python where alice pays bob over a direct taproot asset channel (no routing or exchanges to sats). The payment succeeds, but after that I get an EOF error from the gRPC. I'm getting this error when using litd with commit d82cb9d275ad706207eebaa86ad68edb5ef055d3 as well as tag v0.13.993-exp . Note: this is not a problem with my python gRPC because no other calls have this error and LND's SendPaymentV2 (https://lightning.engineering/api-docs/api/lnd/router/send-payment-v2/) works fine.
The text was updated successfully, but these errors were encountered: