0
I'm trying to create a channel using c-lighting (testnet), but I keep getting an Unknown Peer error message.
- I used
cli/lightning-cli connectwhich seemed to work fine. - I used
cli/lightning-cli listnodesand I see whole bunch of nodes. - I used
cli/lightning-cli listpeersand I see 1 peer. - I used
cli/lightning-cli newaddrto create a new address and funded it (3 confirms so far) - I then try to use
cli/lightning-cli fundchanneland I get an Unknown Peer message.
That was a mistake in the question, I did do fundchannel which is what gives the Unknown Peer error. Any other tests I can do to try to figure out why this is happening? – oshirowanen – 2019-07-17T21:27:14.273
can you post information from the logfile? (with loglevel debug?) – Rene Pickhardt – 2019-07-18T07:33:38.757
1Got it working. I was making a noob mistake in that I did not realise that the connect address and the fundchannel address had to be the same... – oshirowanen – 2019-07-18T15:59:37.530
Yes, that is quite a common mistake. It could also have been that between the
connectand thefundchannelcommand the connection was lost, e.g., the remote peer closed the connection. In that case you would have had a connection on which to open a channel, but when attempting to fund the channel it'd be already gone again, – cdecker – 2019-08-03T09:25:13.637