Re: [Tails-dev] Electrum unable to connect to onion servers

Delete this message

Reply to this message
Author: s7r
Date:  
To: tails-dev
Subject: Re: [Tails-dev] Electrum unable to connect to onion servers
Hello,

intrigeri wrote:
> Hi,
>
> adding s7r, who is maintaining the integration of Electrum in Tails,
> into the loop:
> > node.admin@???:
>> I run a ElectrumX on a hidden service
>
>> 4yi77lkjgy4bwtj3.onion port 50001 for TCP and port 50002
>
>> I was testing connection to this electrum server from different software
>> including tails with the built in electrum. It looks like tails can
>> connect to clearnet electrum servers. But not able connect to hidden
>> service electrum servers. I test the electrum connection with other hidden
>> service electrum servers with no working.
>
>> I do not think it is connection issue in tails. I can see the connection
>> to this hidden service in onion circuits. And I can reach this service on
>> both port 50001 and port 50002 in terminal. Is there issue in compatiblity
>> with tails and electrum when it comes to connecting to onion electrum
>> servers? Being able to connect to onion servers is huge important for
>> security and privacy.
>


I fully agree.

The issue is not in Tails. There is absolutely no limitation regarding
Tails - Electrum and onion servers. In fact, there are plans downstream
at application Electrum layer to prefer .onion servers when run via Tor.

One common problem for not being able to reach onion services is clock
skew, but that could affect clearnet destinations too, as it affects Tor
entirely due to its consensus documents timestamps.

I was able to connect to your server on port 50001 as well as 50002.

Maybe when you tried to connect your onion service running the ElectrumX
server it was unreachable, or didn't publish the descriptors to all the
responsible HSDirs, or some other problem in v2 onion services that is
unrelated to Tails.

Can you please confirm if it is STILL not working for you?

Searched for this in the pool of servers to find a v3 one, here is
another onion server you can try that runs the same ElectrumX version:

wsw6tua3xl24gsmi264zaep6seppjyrkyucpsmuxnjzyt3f3j6swshad.onion

Ports: 50001 TCP
       50002 SSL


But I have just tried your onion server and it works for me. Please let
me know if you manged to connect from your Tails instance.

Check your ElectrumX server logging to see if there is any protocol
mismatch when you try to connect as this requirement has just been
implemented. do:

$ sudo journalctl -u electrumx -f