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

Unresponsive node bypasses timeout setting #838

Open
ok300 opened this issue Feb 29, 2024 · 1 comment
Open

Unresponsive node bypasses timeout setting #838

ok300 opened this issue Feb 29, 2024 · 1 comment
Labels

Comments

@ok300
Copy link
Contributor

ok300 commented Feb 29, 2024

Customer reported that calling sendPayment() returned only 5 minutes later with

"RpcError { code: None, message: \"no response from lightningd\",

Our Config::payment_timeout_sec

https://github.com/breez/breez-sdk/blob/77f0b65ba340767de6e290b1a579ea5baf044a16/libs/sdk-core/src/models.rs#L457

should have kicked it.

We should apply this timeout also as a connection timeout when calling GL methods.

@ok300 ok300 added the sdk-core label Feb 29, 2024
@sagarsubedi
Copy link

sagarsubedi commented Feb 29, 2024

FYI: Here is the entire exception I got after about 5 minutes 27 seconds:

FrbAnyhowException(Generic: Generic: status: Unknown, message: "Error calling method Pay: RpcError { code: None, message: "no response from lightningd", data: None }", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Tue, 27 Feb 2024 18:04:20 GMT", "content-length": "0"} }

This is a flutter app. The function used was sendPayment()

@ok300 ok300 added the good first issue Good for newcomers label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants