{"action":"closed","issue":{"url":"https://api.github.com/repos/ElementsProject/lightning/issues/1031","repository_url":"https://api.github.com/repos/ElementsProject/lightning","labels_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1031/labels{/name}","comments_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1031/comments","events_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1031/events","html_url":"https://github.com/ElementsProject/lightning/issues/1031","id":298192959,"number":1031,"title":"Trying to pay but getting \"WIRE_TEMPORARY_CHANNEL_FAILURE: Capacity exceeded\" error.","user":{"login":"Incertainty","id":17505422,"avatar_url":"https://avatars0.githubusercontent.com/u/17505422?v=4","gravatar_id":"","url":"https://api.github.com/users/Incertainty","html_url":"https://github.com/Incertainty","followers_url":"https://api.github.com/users/Incertainty/followers","following_url":"https://api.github.com/users/Incertainty/following{/other_user}","gists_url":"https://api.github.com/users/Incertainty/gists{/gist_id}","starred_url":"https://api.github.com/users/Incertainty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Incertainty/subscriptions","organizations_url":"https://api.github.com/users/Incertainty/orgs","repos_url":"https://api.github.com/users/Incertainty/repos","events_url":"https://api.github.com/users/Incertainty/events{/privacy}","received_events_url":"https://api.github.com/users/Incertainty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2018-02-19T08:26:48Z","updated_at":"2018-02-22T11:10:30Z","closed_at":"2018-02-22T11:10:30Z","author_association":"NONE","body":"I am trying to buy a tee from the Blockstream Store however I am getting the above error whenever I execute lightning-cli pay. The full error message is:\r\n```\r\n{ \"code\" : 204, \"message\" : \"failed: WIRE_TEMPORARY_CHANNEL_FAILURE (WIRE_TEMPORARY_CHANNEL_FAILURE: Capacity exceeded)\", \"data\" : { \"erring_index\" : 0, \"failcode\" : 4103, \"erring_node\" : \"fcf3dc2901338e20d4655b4d47c4c17468324d276b1feb1845b650f9bc0f3dbb883fbc127245f5c729f69d12f1ae7a45b9fcd66780bf7f8ae08641d13e6d6631\", \"erring_channel\" : \"509846:1382:1\" } }\r\n```\r\nlightning-cli listpeers shows:\r\n```\r\n{ \"peers\" : \r\n\t[ \r\n\t\t{ \"id\" : \"02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432\", \"connected\" : true, \"netaddr\" : \r\n\t\t\t[ \"104.198.32.198:9735\" ], \"channels\" : \r\n\t\t\t[ \r\n\t\t\t\t{ \"state\" : \"CHANNELD_NORMAL\", \"owner\" : \"lightning_channeld\", \"short_channel_id\" : \"509846:1382:1\", \"funding_txid\" : \"064bdafaf74530ca1b4dbfb4a4304dd17233a8b2f0f5c3b3f7d9368e5921d2d7\", \"msatoshi_to_us\" : 134124827, \"msatoshi_total\" : 200000000, \"dust_limit_satoshis\" : 546, \"max_htlc_value_in_flight_msat\" : 18446744073709551615, \"channel_reserve_satoshis\" : 0, \"htlc_minimum_msat\" : 0, \"to_self_delay\" : 144, \"max_accepted_htlcs\" : 483 } ] }, \r\n\t\t{ \"id\" : \"02dcdd7e18b80dc7fd51af34e871901c13f574e4b82325dc74c0beeada5771e8e9\", \"connected\" : true, \"netaddr\" : \r\n\t\t\t[ \"138.68.14.201:9735\" ], \"channels\" : \r\n\t\t\t[ \r\n\t\t\t\t{ \"state\" : \"CHANNELD_NORMAL\", \"owner\" : \"lightning_channeld\", \"short_channel_id\" : \"509859:815:1\", \"funding_txid\" : \"cb5e2ef5e534889da61eb1e529f79bcf3d2678cc0d2015193c5d90ea237b00c3\", \"msatoshi_to_us\" : 400000000, \"msatoshi_total\" : 400000000, \"dust_limit_satoshis\" : 546, \"max_htlc_value_in_flight_msat\" : 18446744073709551615, \"channel_reserve_satoshis\" : 0, \"htlc_minimum_msat\" : 0, \"to_self_delay\" : 144, \"max_accepted_htlcs\" : 483 } ] } ] }\r\n```\r\n\r\nAnd lightning-cli listfunds shows:\r\n```\r\n{ \"outputs\" : \r\n\t[ \r\n\t\t{ \"txid\" : \"cb5e2ef5e534889da61eb1e529f79bcf3d2678cc0d2015193c5d90ea237b00c3\", \"output\" : 0, \"value\" : 48753 } ], \"channels\" : \r\n\t[ \r\n\t\t{ \"peer_id\" : \"02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432\", \"short_channel_id\" : \"509846:1382:1\", \"channel_sat\" : 134125, \"channel_total_sat\" : 200000, \"funding_txid\" : \"064bdafaf74530ca1b4dbfb4a4304dd17233a8b2f0f5c3b3f7d9368e5921d2d7\" }, \r\n\t\t{ \"peer_id\" : \"02dcdd7e18b80dc7fd51af34e871901c13f574e4b82325dc74c0beeada5771e8e9\", \"short_channel_id\" : \"509859:815:1\", \"channel_sat\" : 400000, \"channel_total_sat\" : 400000, \"funding_txid\" : \"cb5e2ef5e534889da61eb1e529f79bcf3d2678cc0d2015193c5d90ea237b00c3\" } ] }\r\n```\r\n\r\nlightning-cli getinfo returns:\r\n```\r\n{ \"id\" : \"02bb3d0fbcf950b64518eb1f6b274d326874c1c4474d5b65d4208e330129dcf3fc\", \"port\" : 9735, \"address\" : \r\n\t[  ], \"version\" : \"v0.5.2-2016-11-21-1936-ge76a0b4\", \"blockheight\" : 509902, \"network\" : \"bitcoin\" }\r\n```\r\n\r\nDo I not have enough funds? Or what am I doing wrong?\r\nAlso how do I close the channels and return my Bitcoin back to my wallet?"}}
{"actor":{"display_login":"cdecker"}}