ReceivePaymentException between network changes
Closed this issue · 0 comments
neveero commented
When the SDK moves between networks (different sims or wifi <> sim), the ability receivePayment is borked. The timeout takes over 10 minutes to respond meaning the app needs to be killed and restarted to gain back and network activity.
The received error after this time is:
java.lang.Exception: breez_sdk.ReceivePaymentException$Generic: Generic: status: Internal, message: "converting invoice response to grpc: empty result from RPC", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Thu, 26 Sep 2024 17:54:11 GMT", "content-length": "0"} }, source: None
Suspect that this is due to the reuse of grpc for performance? Does grpc need to be connection aware or bindings accessible so it can be restarted at will?