breez-sdk icon indicating copy to clipboard operation
breez-sdk copied to clipboard

Unresponsive node bypasses timeout setting

Open ok300 opened this issue 11 months ago • 1 comments

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 avatar Feb 29 '24 18:02 ok300