eclair-mobile icon indicating copy to clipboard operation
eclair-mobile copied to clipboard

[FEATURE] open channel with .onion URI

Open m8tion opened this issue 6 years ago • 4 comments

I have setup a bitcoin + lnd node at home on a raspberry pi 2B+ following the excellent Stadicus' guide: https://github.com/Stadicus/guides/blob/master/raspibolt/README.md. These nodes are fully torified (they accept only tor connections) and reachable on both networks. I can open and close channels, send and receive payments, my bitcoin node is reachable from bitnodes.earn.com and my LN node is listed on 1ML.com. I run last versions of both software (bitcoind 0.17.1, lnd 0.5.0.2). Well, I guess my nodes are fully operational.

The URI of my LN node finishes with a ".onion" address. When I try to open a channel in Eclair Mobile (0.3.18) scaning the URI on 1ML I get a "failed to open channel: connection failed to <URI>" message. I tried to open channels with other ".onion" URI nodes listed on 1ML and that doesn't work neither. I tried also with torified nodes using "xxx.xxx.xxx.xxx" URI addresses instead of ".onion" and there is no problem opening channels with them. I also started Orbot on my phone, it doesn't work neither.

Is there already a way to open a channel with a ".onion" node or is it something you are working on ?

Wouldn't it possible to open a channel with the public key instead of the URI ? Both options are available in lnd:

lncli openchannel --node_key <pub_key>     # open channel with public key
lncli openchannel --connect <URI>     # open channel with complete URI

m8tion avatar Feb 10 '19 13:02 m8tion

Tor support has just been merged on eclair-core a few days ago: https://github.com/ACINQ/eclair/commit/808bf14d20e71d9230111b64e1e2f4e7c784bc55.

We will be see how easy it is to make it work on android but I don't see why it would be a problem.

pm47 avatar Feb 11 '19 10:02 pm47

Great news thanks. Can't wait for the update.

m8tion avatar Feb 11 '19 12:02 m8tion

Hi, I think I have a similar (or even the same?) question. Recently started running my node behind tor and ever since been unable to update the address of the peer in the channel and connect to it.

Will this feature allow me to update and reconnect the channel?

ArbenKarb avatar Apr 23 '19 19:04 ArbenKarb

Any updates on integrating Tor node support to eclair-mobile? Still seem to be getting a connection failed error when connecting to my Tor LND node. Is there a feature branch available to track?

elvece avatar Nov 06 '20 17:11 elvece