{"action":"opened","issue":{"url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1069","repository_url":"https://api.github.com/repos/lightningnetwork/lnd","labels_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1069/labels{/name}","comments_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1069/comments","events_url":"https://api.github.com/repos/lightningnetwork/lnd/issues/1069/events","html_url":"https://github.com/lightningnetwork/lnd/issues/1069","id":312849755,"number":1069,"title":"Routequery succeeds, payinvoice fails...timeout.","user":{"login":"AmazingDroopy","id":38245407,"avatar_url":"https://avatars3.githubusercontent.com/u/38245407?v=4","gravatar_id":"","url":"https://api.github.com/users/AmazingDroopy","html_url":"https://github.com/AmazingDroopy","followers_url":"https://api.github.com/users/AmazingDroopy/followers","following_url":"https://api.github.com/users/AmazingDroopy/following{/other_user}","gists_url":"https://api.github.com/users/AmazingDroopy/gists{/gist_id}","starred_url":"https://api.github.com/users/AmazingDroopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmazingDroopy/subscriptions","organizations_url":"https://api.github.com/users/AmazingDroopy/orgs","repos_url":"https://api.github.com/users/AmazingDroopy/repos","events_url":"https://api.github.com/users/AmazingDroopy/events{/privacy}","received_events_url":"https://api.github.com/users/AmazingDroopy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T09:49:06Z","updated_at":"2018-04-10T09:49:06Z","closed_at":null,"author_association":"NONE","body":"### Background\r\n\r\nWith 2 nodes running LND v0.4.1-beta on a raspberry pi (Courtesy to Stadicus) and both with active channels to the network it fails to pay an invoice or route a payment via public internet.\r\n\r\nWhen adding a direct channel between the nodes, the payment succeeds.\r\n\r\n### Your environment\r\nNode A:\r\n\r\n$ lncli getinfo\r\n{\r\n    \"identity_pubkey\": \"035716176a55c5093c22d4199c811754313539a7149932cb07eb88a2419cb74ef2\",\r\n    \"alias\": \"Amazing_Droopy_2 [LND]\",\r\n    \"num_pending_channels\": 0,\r\n    \"num_active_channels\": 1,\r\n    \"num_peers\": 6,\r\n    \"block_height\": 517515,\r\n    \"block_hash\": \"000000000000000000008952fc103538d7d4050f0245f2e64ae0260914fa7e2d\",\r\n    \"synced_to_chain\": true,\r\n    \"testnet\": false,\r\n    \"chains\": [\r\n        \"bitcoin\"\r\n    ],\r\n    \"uris\": [\r\n        \"035716176a55c5093c22d4199c811754313539a7149932cb07eb88a2419cb74ef2@92.111.179.34:9735\"\r\n    ],\r\n    \"best_header_timestamp\": \"1523352867\"\r\n}\r\n\r\nNode B:\r\n\r\n$ lncli getinfo\r\n{\r\n    \"identity_pubkey\": \"03c992c210b08ebb7ccbb2ba26e09bb4a8d536daa6f8702e8b14627a338c35446a\",\r\n    \"alias\": \"Amazing_Droopy [LND]\",\r\n    \"num_pending_channels\": 2,\r\n    \"num_active_channels\": 4,\r\n    \"num_peers\": 13,\r\n    \"block_height\": 517515,\r\n    \"block_hash\": \"000000000000000000008952fc103538d7d4050f0245f2e64ae0260914fa7e2d\",\r\n    \"synced_to_chain\": true,\r\n    \"testnet\": false,\r\n    \"chains\": [\r\n        \"bitcoin\"\r\n    ],\r\n    \"uris\": [\r\n        \"03c992c210b08ebb7ccbb2ba26e09bb4a8d536daa6f8702e8b14627a338c35446a@82.95.192.186:9735\"\r\n    ],\r\n    \"best_header_timestamp\": \"1523352867\"\r\n}\r\n\r\n### Steps to reproduce\r\nCheck route from Node A to Node B:\r\n\r\n$ lncli queryroutes \"03c992c210b08ebb7ccbb2ba26e09bb4a8d536daa6f8702e8b14627a338c35446a\" --amt 250\r\n\r\n-> Multiple routes listed, all showing the channel IDs in open channel list of receiving node. \r\n\r\n  \"total_time_lock\": 517969,\r\n            \"total_fees\": \"2\",\r\n            \"total_amt\": \"252\",\r\n            \"hops\": [\r\n                {\r\n                    \"chan_id\": \"568925799164674049\",\r\n                    \"chan_capacity\": \"22431\",\r\n                    \"amt_to_forward\": \"251\",\r\n                    \"fee\": \"1\",\r\n                    \"expiry\": 517825\r\n                },\r\n                {\r\n                    \"chan_id\": \"567168779613241345\",\r\n                    \"chan_capacity\": \"250000\",\r\n                    \"amt_to_forward\": \"251\",\r\n                    \"fee\": \"0\",\r\n                    \"expiry\": 517681\r\n                },\r\n                {\r\n                    \"chan_id\": \"566334250287366144\",\r\n                    \"chan_capacity\": \"175000\",\r\n                    \"amt_to_forward\": \"251\",\r\n                    \"fee\": \"0\",\r\n                    \"expiry\": 517667\r\n                },\r\n                {\r\n                    \"chan_id\": \"567669057419476993\",\r\n                    \"chan_capacity\": \"55000\",\r\n                    \"amt_to_forward\": \"250\",\r\n                    \"fee\": \"1\",\r\n                    \"expiry\": 517523\r\n                },\r\n                {\r\n                    \"chan_id\": \"568075876720443393\",\r\n                    \"chan_capacity\": \"40214\",\r\n                    \"amt_to_forward\": \"250\",\r\n                    \"fee\": \"0\",\r\n                    \"expiry\": 517523\r\n                }\r\n\r\nRequesting the payment from node B:\r\n\r\n$ lncli addinvoice --memo \"Pay me 250 via public nodes\" --amt 250\r\n{\r\n\t\"r_hash\": \"abf85e602037a71803a8b320b28bf2c6cfdad91db7a758b64cb801d96eadfe4b\",\r\n\t\"pay_req\": \"lnbc2500n1pdvepxupp540u9ucpqx7n3sqagkvst9zljcm8a4kgak7n43djvhqqajm4dle9sdpv2pshjgrdv5srydfsypmxjcfqwp6kymrfvvsxummyv4escqzys43rs3h7ummyrx9yrgr5h4sel9xew0pttta5yjnjn9lxc8sf3fe2rvmtzv9xveu096gw88vn6z9cqx8f30gqpnd5tjgq9usanq69uvhgqnc2f4e\"\r\n}\r\n\r\nIssuing the payment on node A:\r\n\r\n$ lncli payinvoice \"lnbc2500n1pdvepxupp540u9ucpqx7n3sqagkvst9zljcm8a4kgak7n43djvhqqajm4dle9sdpv2pshjgrdv5srydfsypmxjcfqwp6kymrfvvsxummyv4escqzys43rs3h7ummyrx9yrgr5h4sel9xew0pttta5yjnjn9lxc8sf3fe2rvmtzv9xveu096gw88vn6z9cqx8f30gqpnd5tjgq9usanq69uvhgqnc2f4e\"\r\n{\r\n\t\"payment_error\": \"payment attempt not completed before timeout of 1m0s\",\r\n\t\"payment_preimage\": \"\",\r\n\t\"payment_route\": null\r\n\r\n"}}
{"actor":{"display_login":"AmazingDroopy"}}