Skip to content

listpeers connected:false, can't find route, can't reconnect #759

Description

@stumpy-de

I've been following this guide and got to the point of funding transactions. There are 6 confirms, but all my peers say they aren't connected.

lightning-cli getinfo
{ "id" : "02e40b82365cd2a3908a481b712ba09858a5dee4cac997351db6cbaa175129907b", "port" : 9735, "address" :
	[  ], "version" : "v0.5.2-2016-11-21-1646-g73c3175", "blockheight" : 505921, "network" : "bitcoin" }
 lightning-cli listfunds
{ "outputs" :
	[
		{ "txid" : "98b96a4ad21327e7a6b05b07205facba8b7bf14e2112e9e3741ca68ed18af55e", "output" : 1, "value" : 183828 },
		{ "txid" : "f559a73ebe8c650e5e0abbe885608327b39e49c291a87d23c091234852e02181", "output" : 0, "value" : 88059 },
		{ "txid" : "9c9b4926556c14882f020480a2bd8f89d831c2d88da78269628c410dc7c86106", "output" : 1, "value" : 353851 },
		{ "txid" : "1862dddc659edfca057e524670c66ec2a15893e6baa623cb40235b7d5fc4f3e3", "output" : 0, "value" : 292398 } ] }
lightning-cli listpeers
{ "peers" :
	[
		{ "id" : "0371190acfb2e92bd1faa6ce4d12ff248798515a92ac903ac14d31b5172d9b2917", "connected" : false, "channels" :
			[
				{ "state" : "ONCHAIND_THEIR_UNILATERAL", "owner" : "lightning_onchaind", "short_channel_id" : "505883:564:0", "funding_txid" : "9c9b4926556c14882f020480a2bd8f89d831c2d88da78269628c410dc7c86106", "msatoshi_to_us" : 300000000, "msatoshi_total" : 300000000, "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" : "022d065a059294ff8796cf0b9df467ba76420c62eda92771a4063d15e7170020e0", "connected" : false, "channels" :
			[
				{ "state" : "ONCHAIND_THEIR_UNILATERAL", "short_channel_id" : "505730:2010:0", "funding_txid" : "326d8c97c7ccd707328d0634cec19f983179f74b33f3eb6ee83f9950e7afdbc3", "msatoshi_to_us" : 300000000, "msatoshi_total" : 300000000, "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" : "022d065a059294ff8796cf0b9df467ba76420c62eda92771a4063d15e7170020e0", "connected" : false, "channels" :
			[
				{ "state" : "OPENINGD", "dust_limit_satoshis" : 0, "max_htlc_value_in_flight_msat" : 0, "channel_reserve_satoshis" : 0, "htlc_minimum_msat" : 0, "to_self_delay" : 0, "max_accepted_htlcs" : 0 } ] },
		{ "id" : "022d065a059294ff8796cf0b9df467ba76420c62eda92771a4063d15e7170020e0", "connected" : false, "channels" :
			[
				{ "state" : "OPENINGD", "dust_limit_satoshis" : 0, "max_htlc_value_in_flight_msat" : 0, "channel_reserve_satoshis" : 0, "htlc_minimum_msat" : 0, "to_self_delay" : 0, "max_accepted_htlcs" : 0 } ] } ] }

When I run connect, one of the channels works and one does not, even though they are both online. The one that fails, lightning-cli connect 0371190acfb2e92bd1faa6ce4d12ff248798515a92ac903ac14d31b5172d9b2917 176.9.113.240 9735, returns "channel ALL: Funding transaction spent".

I'm not able to route payments to the Blockchain store.

Additionally, when I run bitcoin-cli getwalletinfo, I have a balance of 0, even though I sent .01 to the lightning wallet. Not sure if that's normal.

root@lightning-node:~# bitcoin-cli getwalletinfo
{
  "walletname": "wallet.dat",
  "walletversion": 139900,
  "balance": 0.00000000,
  "unconfirmed_balance": 0.00000000,
  "immature_balance": 0.00000000,
  "txcount": 0,
  "keypoololdest": 1516633691,
  "keypoolsize": 1000,
  "keypoolsize_hd_internal": 1000,
  "paytxfee": 0.00500000, ...
lightning-cli listpayments
{ "payments" :
	[
		{ "id" : 1, "payment_hash" : "d35449ef3357f00ba92398d6d418782fb2b20839902e633c9f907d60e9d621f2", "destination" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", "msatoshi" : 93767318, "timestamp" : 1516721481, "created_at" : 1516721481, "status" : "failed" } ] }

Thanks in advance for your help!

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