Closed Laderlappen closed 3 months ago
@Laderlappen can you please check again how are things looking on your end? You shouldn't see transport errors anymore (they can happen, but very rarely).
@kingonly
I tried payments again now. Most of them still fail. But at least some of them go through now. The first few attempts failed.
I have a retry mechanism in the payments to retry 3 times if the payment fails. Here is an example of the first attempt failing and then the second one works (It looks like this happens most of the time, the fist attempt always fails):
LOG Breez already initialized.
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"details":{"invoice":{"expiry":3600,"routingHints":[{"hops":[{"htlcMaximumMsat":null,"htlcMinimumMsat":null,"cltvExpiryDelta":34,"feesBaseMsat":0,"feesProportionalMillionths":0,"shortChannelId":15040265511668863000,"srcNodeId":"02c811e575be2df47d8b48dab3d3f1c9b0f6e16d0d40b5ed78253308fc2bd7170d"}]}],"timestamp":1715154125,"descriptionHash":null,"paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","network":"bitcoin","description":"Invoice for 100 sats","minFinalCltvExpiryDelta":144,"payeePubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","paymentSecret":[212,19,222,206,46,169,11,77,123,20,74,143,173,24,131,247,203,186,219,161,96,197,191,40,247,226,202,99,117,181,98,37],"amountMsat":100000,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj"},"nodeId":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","error":"Generic: Generic: status: Unknown, message: \"transport error\", details: [], metadata: MetadataMap { headers: {} }"},"type":"paymentFailed"}
LOG event {"details":{"invoice":{"expiry":3600,"routingHints":[{"hops":[{"htlcMaximumMsat":null,"htlcMinimumMsat":null,"cltvExpiryDelta":34,"feesBaseMsat":0,"feesProportionalMillionths":0,"shortChannelId":15040265511668863000,"srcNodeId":"02c811e575be2df47d8b48dab3d3f1c9b0f6e16d0d40b5ed78253308fc2bd7170d"}]}],"timestamp":1715154125,"descriptionHash":null,"paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","network":"bitcoin","description":"Invoice for 100 sats","minFinalCltvExpiryDelta":144,"payeePubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","paymentSecret":[212,19,222,206,46,169,11,77,123,20,74,143,173,24,131,247,203,186,219,161,96,197,191,40,247,226,202,99,117,181,98,37],"amountMsat":100000,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj"},"nodeId":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","error":"Generic: Generic: status: Unknown, message: \"transport error\", details: [], metadata: MetadataMap { headers: {} }"},"type":"paymentFailed"}
LOG event {"details":{"invoice":{"expiry":3600,"routingHints":[{"hops":[{"htlcMaximumMsat":null,"htlcMinimumMsat":null,"cltvExpiryDelta":34,"feesBaseMsat":0,"feesProportionalMillionths":0,"shortChannelId":15040265511668863000,"srcNodeId":"02c811e575be2df47d8b48dab3d3f1c9b0f6e16d0d40b5ed78253308fc2bd7170d"}]}],"timestamp":1715154125,"descriptionHash":null,"paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","network":"bitcoin","description":"Invoice for 100 sats","minFinalCltvExpiryDelta":144,"payeePubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","paymentSecret":[212,19,222,206,46,169,11,77,123,20,74,143,173,24,131,247,203,186,219,161,96,197,191,40,247,226,202,99,117,181,98,37],"amountMsat":100000,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj"},"nodeId":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","error":"Generic: Generic: status: Unknown, message: \"transport error\", details: [], metadata: MetadataMap { headers: {} }"},"type":"paymentFailed"}
LOG event {"details":{"invoice":{"expiry":3600,"routingHints":[{"hops":[{"htlcMaximumMsat":null,"htlcMinimumMsat":null,"cltvExpiryDelta":34,"feesBaseMsat":0,"feesProportionalMillionths":0,"shortChannelId":15040265511668863000,"srcNodeId":"02c811e575be2df47d8b48dab3d3f1c9b0f6e16d0d40b5ed78253308fc2bd7170d"}]}],"timestamp":1715154125,"descriptionHash":null,"paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","network":"bitcoin","description":"Invoice for 100 sats","minFinalCltvExpiryDelta":144,"payeePubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","paymentSecret":[212,19,222,206,46,169,11,77,123,20,74,143,173,24,131,247,203,186,219,161,96,197,191,40,247,226,202,99,117,181,98,37],"amountMsat":100000,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj"},"nodeId":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","error":"Generic: Generic: status: Unknown, message: \"transport error\", details: [], metadata: MetadataMap { headers: {} }"},"type":"paymentFailed"}
LOG event {"details":{"invoice":{"expiry":3600,"routingHints":[{"hops":[{"htlcMaximumMsat":null,"htlcMinimumMsat":null,"cltvExpiryDelta":34,"feesBaseMsat":0,"feesProportionalMillionths":0,"shortChannelId":15040265511668863000,"srcNodeId":"02c811e575be2df47d8b48dab3d3f1c9b0f6e16d0d40b5ed78253308fc2bd7170d"}]}],"timestamp":1715154125,"descriptionHash":null,"paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","network":"bitcoin","description":"Invoice for 100 sats","minFinalCltvExpiryDelta":144,"payeePubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","paymentSecret":[212,19,222,206,46,169,11,77,123,20,74,143,173,24,131,247,203,186,219,161,96,197,191,40,247,226,202,99,117,181,98,37],"amountMsat":100000,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj"},"nodeId":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","error":"Generic: Generic: status: Unknown, message: \"transport error\", details: [], metadata: MetadataMap { headers: {} }"},"type":"paymentFailed"}
ERROR [Error: Generic: Generic: status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }]
LOG Retrying payment
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupStarted"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"backupSucceeded"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"type":"synced"}
LOG event {"details":{"metadata":null,"details":{"data":{"reverseSwapInfo":null,"swapInfo":null,"lnurlWithdrawEndpoint":null,"paymentPreimage":"3a5634d4048c9e0908af5814373aceb6a1f99b231a5c9196982d145c6dbf9bf4","lnurlMetadata":null,"lnurlPayDomain":null,"lnurlSuccessAction":null,"lnAddress":null,"pendingExpirationBlock":null,"openChannelBolt11":null,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj","label":"","paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","destinationPubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","keysend":false},"type":"ln"},"amountMsat":100000,"paymentTime":1715154205,"status":"complete","id":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","paymentType":"sent","description":"Invoice for 100 sats","error":null,"feeMsat":0},"type":"paymentSucceed"}
LOG event {"details":{"metadata":null,"details":{"data":{"reverseSwapInfo":null,"swapInfo":null,"lnurlWithdrawEndpoint":null,"paymentPreimage":"3a5634d4048c9e0908af5814373aceb6a1f99b231a5c9196982d145c6dbf9bf4","lnurlMetadata":null,"lnurlPayDomain":null,"lnurlSuccessAction":null,"lnAddress":null,"pendingExpirationBlock":null,"openChannelBolt11":null,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj","label":"","paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","destinationPubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","keysend":false},"type":"ln"},"amountMsat":100000,"paymentTime":1715154205,"status":"complete","id":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","paymentType":"sent","description":"Invoice for 100 sats","error":null,"feeMsat":0},"type":"paymentSucceed"}
LOG event {"details":{"metadata":null,"details":{"data":{"reverseSwapInfo":null,"swapInfo":null,"lnurlWithdrawEndpoint":null,"paymentPreimage":"3a5634d4048c9e0908af5814373aceb6a1f99b231a5c9196982d145c6dbf9bf4","lnurlMetadata":null,"lnurlPayDomain":null,"lnurlSuccessAction":null,"lnAddress":null,"pendingExpirationBlock":null,"openChannelBolt11":null,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj","label":"","paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","destinationPubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","keysend":false},"type":"ln"},"amountMsat":100000,"paymentTime":1715154205,"status":"complete","id":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","paymentType":"sent","description":"Invoice for 100 sats","error":null,"feeMsat":0},"type":"paymentSucceed"}
LOG event {"details":{"metadata":null,"details":{"data":{"reverseSwapInfo":null,"swapInfo":null,"lnurlWithdrawEndpoint":null,"paymentPreimage":"3a5634d4048c9e0908af5814373aceb6a1f99b231a5c9196982d145c6dbf9bf4","lnurlMetadata":null,"lnurlPayDomain":null,"lnurlSuccessAction":null,"lnAddress":null,"pendingExpirationBlock":null,"openChannelBolt11":null,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj","label":"","paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","destinationPubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","keysend":false},"type":"ln"},"amountMsat":100000,"paymentTime":1715154205,"status":"complete","id":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","paymentType":"sent","description":"Invoice for 100 sats","error":null,"feeMsat":0},"type":"paymentSucceed"}
LOG event {"details":{"metadata":null,"details":{"data":{"reverseSwapInfo":null,"swapInfo":null,"lnurlWithdrawEndpoint":null,"paymentPreimage":"3a5634d4048c9e0908af5814373aceb6a1f99b231a5c9196982d145c6dbf9bf4","lnurlMetadata":null,"lnurlPayDomain":null,"lnurlSuccessAction":null,"lnAddress":null,"pendingExpirationBlock":null,"openChannelBolt11":null,"bolt11":"lnbc1u1pnrktxdsp56sfaan3w4y9567c5f2866xyr7l9m4kapvrzm728hut9xxad4vgjspp5ffqmqhjx9wj5regrel0etee79rdxuz53v4npvt3s93d3tmny030qdpqf9h8vmmfvdjjqen0wgsrzvpsypekzarncqzysrzjqtypret4hcklglvtfrdt85l3exc0dctdp4qttmtcy5es3lpt6utsm59ec89ua9xw5uqqqqqqqqqqqqqqyg9qxpqysgqf49atpvlw4a7jmmc0flj9gregzv6z5yngtkcfrr68fu7g9ac86frcth20r9kg8vt98aa6vjlqa5yezvf6u7hv60x2wx6mez255hazqcq248qvj","label":"","paymentHash":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","destinationPubkey":"026b4e9c35b9cd3189c6790e9c74677ac4bc925e4021d2dd37dae4ff5cd9cfe762","keysend":false},"type":"ln"},"amountMsat":100000,"paymentTime":1715154205,"status":"complete","id":"4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e","paymentType":"sent","description":"Invoice for 100 sats","error":null,"feeMsat":0},"type":"paymentSucceed"}
LOG Payment response: {"payment": {"amountMsat": 100000, "description": "Invoice for 100 sats", "details": {"data": [Object], "type": "ln"}, "error": null, "feeMsat": 0, "id": "4a41b05e462ba541e503cfdf95e73e28da6e0a916566162e302c5b15ee647c5e", "metadata": null, "paymentTime": 1715154205, "paymentType": "sent", "status": "complete"}}
LOG Payment succeeded
I had a payment now that succeeded without a retry. So the first attempt does not consistently fail.
@Laderlappen this elaborate on the transport error you get sometimes: https://github.com/breez/breez-sdk/issues/966
As the Breez SDK is planning to build a stop-gap solution, I also opened a tracking issue for gl-client
itself here https://github.com/Blockstream/greenlight/issues/428
We'll keep that one open until it is fixed internally, and I'm closing this issue.
Good day
When doing payments I get an error with the message of "transport error". I've tried multiple times today to make a payment but was not able to.
This also been a problem for the past month but today it is not working at all. Is there something I can do on my side?
Here are some logs: