Skip to content

Trying to pay but getting "WIRE_TEMPORARY_CHANNEL_FAILURE: Capacity exceeded" error. #1031

Closed
@Incertainty

Description

@Incertainty

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:

{ "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" } }

lightning-cli listpeers shows:

{ "peers" : 
	[ 
		{ "id" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", "connected" : true, "netaddr" : 
			[ "104.198.32.198:9735" ], "channels" : 
			[ 
				{ "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 } ] }, 
		{ "id" : "02dcdd7e18b80dc7fd51af34e871901c13f574e4b82325dc74c0beeada5771e8e9", "connected" : true, "netaddr" : 
			[ "138.68.14.201:9735" ], "channels" : 
			[ 
				{ "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 } ] } ] }

And lightning-cli listfunds shows:

{ "outputs" : 
	[ 
		{ "txid" : "cb5e2ef5e534889da61eb1e529f79bcf3d2678cc0d2015193c5d90ea237b00c3", "output" : 0, "value" : 48753 } ], "channels" : 
	[ 
		{ "peer_id" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", "short_channel_id" : "509846:1382:1", "channel_sat" : 134125, "channel_total_sat" : 200000, "funding_txid" : "064bdafaf74530ca1b4dbfb4a4304dd17233a8b2f0f5c3b3f7d9368e5921d2d7" }, 
		{ "peer_id" : "02dcdd7e18b80dc7fd51af34e871901c13f574e4b82325dc74c0beeada5771e8e9", "short_channel_id" : "509859:815:1", "channel_sat" : 400000, "channel_total_sat" : 400000, "funding_txid" : "cb5e2ef5e534889da61eb1e529f79bcf3d2678cc0d2015193c5d90ea237b00c3" } ] }

lightning-cli getinfo returns:

{ "id" : "02bb3d0fbcf950b64518eb1f6b274d326874c1c4474d5b65d4208e330129dcf3fc", "port" : 9735, "address" : 
	[  ], "version" : "v0.5.2-2016-11-21-1936-ge76a0b4", "blockheight" : 509902, "network" : "bitcoin" }

Do I not have enough funds? Or what am I doing wrong?
Also how do I close the channels and return my Bitcoin back to my wallet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions