-
Notifications
You must be signed in to change notification settings - Fork 268
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
Route not found despite direct channel #942
Comments
The channel data: {
"nodeId": "022c699df736064b51a33017abfc4d577d133f7124ac117d3d9f9633b6297a3b6a",
"channelId": "437a438d4933734c215a26a78d521b0ae97a25384dcbc0280d088125115c2887",
"state": "NORMAL",
"data": {
"$type": "fr.acinq.eclair.channel.DATA_NORMAL",
"commitments": {
"localParams": {
"nodeId": "030909c76597132e4bb8e473bd98709c94414e4413259980cc0e088900195e311e",
"channelKeyPath": "m/514834697/1706086116'/815947026/765637151'",
"dustLimitSatoshis": "546",
"maxHtlcValueInFlightMsat": "5000000000",
"channelReserveSatoshis": "24132",
"htlcMinimumMsat": "1",
"toSelfDelay": 2016,
"maxAcceptedHtlcs": 30,
"isFunder": true,
"defaultFinalScriptPubKey": "a914ac2996592de24846f70e032dc0f0a89bce1e1fb887",
"globalFeatures": "",
"localFeatures": "02"
},
"remoteParams": {
"nodeId": "022c699df736064b51a33017abfc4d577d133f7124ac117d3d9f9633b6297a3b6a",
"dustLimitSatoshis": "573",
"maxHtlcValueInFlightMsat": "2389131000",
"channelReserveSatoshis": "24132",
"htlcMinimumMsat": "1000",
"toSelfDelay": 289,
"maxAcceptedHtlcs": 483,
"fundingPubKey": "02dc34670b630c29b6b2ad3447ed0cb01b2cabdb3df0be469e3106cff508fe50ec",
"revocationBasepoint": "02b82a2255b623a9bedfaef52dbefd991d687f5ffa00afaff0c2f1fcc99d86ab9f",
"paymentBasepoint": "031a66a35dab6618085c8bebbe6eb3e72ea74e45348bf24f06eebd57b883cc2266",
"delayedPaymentBasepoint": "03b480eaabd1ed3e8ddd65319645d048ad0188120c9d82e6bf2ff19c07ad53ab12",
"htlcBasepoint": "02ac9d45ced6e32c8de7ef7641a04d6fe077689e76c3420b94d869b14b5f47b513",
"globalFeatures": "",
"localFeatures": "81"
},
"channelFlags": 0,
"localCommit": {
"index": "2",
"spec": {
"htlcs": [
],
"feeratePerKw": "12546",
"toLocalMsat": "2413263000",
"toRemoteMsat": "0"
},
"publishableTxs": {
"commitTx": {
"$type": "fr.acinq.eclair.transactions.Transactions.CommitTx",
"input": {
"outPoint": "437a438d4933734c215a26a78d521b0ae97a25384dcbc0280d088125115c2887:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "2413263"
},
"publicKeyScript": "0020a3fd926b1fa71fe038f6f174cef28e0f279edf430fb686f1abda0959237424d3"
},
"redeemScript": "5221026fbfe700fac2245e7a2940ebfc2ba24e97e84e8ba32f9e11de5c530e5b34cb182102dc34670b630c29b6b2ad3447ed0cb01b2cabdb3df0be469e3106cff508fe50ec52ae"
},
"tx": "02000000000101437a438d4933734c215a26a78d521b0ae97a25384dcbc0280d088125115c28870000000000d4735e800154af24000000000022002093c5154d04de3d03e452e16920c35953d8163eb5f6d4bcc3b816bfa8f587cde004004730440220285632fd555d323dfd637da4884241b813aff9dc6b248ba144c6991d447c59f902200997e8c31823164b9e9a3a1a7bb1dbd172b4164fcb1400d6e4d376cc4bc8d06c0147304402205d5cb7be5163830101644aa224dbec464217aa36b861bd6433f3caf85b4e6ad602203caf8d62c81f9e5ee9efdc756fbbb4a84ef8f728f4c70a8ed58cb2a1ca1b3b7001475221026fbfe700fac2245e7a2940ebfc2ba24e97e84e8ba32f9e11de5c530e5b34cb182102dc34670b630c29b6b2ad3447ed0cb01b2cabdb3df0be469e3106cff508fe50ec52ae4d717520"
},
"htlcTxsAndSigs": [
]
}
},
"remoteCommit": {
"index": "2",
"spec": {
"htlcs": [
],
"feeratePerKw": "12546",
"toLocalMsat": "0",
"toRemoteMsat": "2413263000"
},
"txid": "e19c1b4caec448d643af44029d5c5ad034c9cf20ba8f1c07ba2444ae57fafef7",
"remotePerCommitmentPoint": "02c90675e2d73a2a68d3292efd85f9aa4b59e461370b7251e45a934b8cde48d85b"
},
"localChanges": {
"proposed": [
],
"signed": [
],
"acked": [
]
},
"remoteChanges": {
"proposed": [
],
"acked": [
],
"signed": [
]
},
"localNextHtlcId": "0",
"remoteNextHtlcId": "0",
"originChannels": [
],
"remoteNextCommitInfo": [
1,
"02dae04aebf90982abb165ad0bad2619793f9da7ab5eef32f024214f6cd4be6650"
],
"commitInput": {
"outPoint": "437a438d4933734c215a26a78d521b0ae97a25384dcbc0280d088125115c2887:0",
"txOut": {
"amount": {
"$type": "fr.acinq.bitcoin.Satoshi",
"amount": "2413263"
},
"publicKeyScript": "0020a3fd926b1fa71fe038f6f174cef28e0f279edf430fb686f1abda0959237424d3"
},
"redeemScript": "5221026fbfe700fac2245e7a2940ebfc2ba24e97e84e8ba32f9e11de5c530e5b34cb182102dc34670b630c29b6b2ad3447ed0cb01b2cabdb3df0be469e3106cff508fe50ec52ae"
},
"remotePerCommitmentSecrets": {
"knownHashes": [
[
"-1",
"c497d337ccc9d9952345f42b4dd2f72cbfdca0ab52bb322f44621ecca9c1a1f2"
]
],
"lastIndex": [
"281474976710654"
]
},
"channelId": "437a438d4933734c215a26a78d521b0ae97a25384dcbc0280d088125115c2887"
},
"shortChannelId": "571135x1186x0",
"buried": true,
"channelAnnouncement": [
],
"channelUpdate": {
"$type": "fr.acinq.eclair.wire.ChannelUpdate",
"signature": "304402203527307975e0e8717bd227c60018856848d2b70830231450f3914dc23df4257902206c44bf4ede7132a30593c638c40156ac698f6004525c602abbc0e8be0c48022001",
"chainHash": "6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000",
"shortChannelId": "571135x1186x0",
"timestamp": "1555025276",
"messageFlags": 1,
"channelFlags": 1,
"cltvExpiryDelta": 144,
"htlcMinimumMsat": "1000",
"feeBaseMsat": "1000",
"feeProportionalMillionths": "100",
"htlcMaximumMsat": [
"2413263000"
]
},
"localShutdown": [
],
"remoteShutdown": [
]
}
} |
You don't need a direct channel to the recipient, any well connected node should be able to route your payments to the destination. To be clear you're not able to pay any invoice? Have you waited for the sync to finish? You can trigger a fresh sync by wiping out the network db "Options > NetworkInfo > Reset Network Database". |
I do understand that I do not need a direct channel but I really wanted to buy my thing so I tried to work around this bug by doing a direct channel. |
Did a network database reset, waited for full sync, then did payment, same failure. |
Can you please post the complete logs of eclair from start to payment failed? (You can use pastebin to not pollute the issue here). |
Can you share more details of the failure? |
Mobile client version: 0.3.1 on Android Part where it failed: |
@kravens I can't find any trace of route finding attempts in your logs, are you sure that's the relevant part? Also you're using an outdated version of the mobile app, please update to the latest 0.4.6. |
@araspitzu I'm the Desktop eclair user in this transaction, did not ask my friend for any logs of his smartphone. As far as I know he updated Eclair Mobile to the latest version last week (presumed that was 0.3.1, could be 0.4.6). Mobile user was: 03ec201d396cc68d34360a13eee019189860006db990bfe85791f42fa9c00e8df1 as I pasted in the section above, we were only able to transact 1/3 of the channel as all large amounts failed to get through. |
I tried again to pay to the same node and it worked this time.... Happy to close or handover to @kravens ... |
@kravens are you sure you have enough balance on your side to send the payment? |
I'm sure the balance was sufficient, was trying to receive 170 000 sats over a +300 000 sat incoming channel. We tried several times with smaller and smaller amounts, but only the first 100 000 sats could be transfered and later settled on-chain: |
@kravens would you mind describing the issue again? It's not clear if you had troubles sending or receiving (D4nte had troubles sending), if the problem is different is better to open a new issue. |
@araspitzu |
@kravens |
We fixed a routing issue in #1090 that was likely the reason why your payments were failing. |
When trying to pay an invoice, I get
route not found
error.I was connected to a well connected node I got the error.
So I decide to close all my channels and open a channel directly with the payee.
After doing so, waiting for channel to appear as
NORMAL
and waiting for the ln map syncing to happen, I tried the payment again and gotroute not found
again.I doubled checked and indeed, the invoice is for the node I have a channel opened to!
I expect the payment to work.
The issue happens systematically.
Trying to make a payment to Globee:
022c699df736064b51a33017abfc4d577d133f7124ac117d3d9f9633b6297a3b6a@lightning.globee.com:9735
Android Eclair, version 0.4.4
Here are the relevant logs:
The text was updated successfully, but these errors were encountered: