I can't connect my electrum wallet to my node 😞

I recently upgraded to version 0.4.0, it works all the last thing I’m missing is connecting my wallet electrum to the node. I go to the electrs service in the “Interfaces” section and copy and paste the .onion address into the electrum network settings, but the dot in the bottom right remains red and doesn’t find the electrum server. I also tried using a local address, but the result is the same. I also created a new .onion ssl address, but it still doesn’t work. Do you have any advice on how to fix this?

Electrs has been really flaky under 0.4.0.1. I am going to try Fulcrum as others have suggested.

I am having the same issue. Getting “Connection Failed: Illegal State Error (I/O error during a request processing)” ever since the Start OS update on Server Pure. Any help would be appreciated.

Thanks for posting the error message, but that’s an odd one that I can’t reproduce.

Are you using the .onion address from electrs? Or a different one, and if so, which?

Which OS do you have Electrum installed on?

If you’re using a LAN address, there’s a known issue (on most OSes, at least, definitely on the electrum Linux AppImage):

20260803T203605.537992Z | INFO | network | connecting to 192.168.8.177:50002:s as new interface
20260803T203605.543332Z | INFO | interface.[192.168.8.177:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1010)’)))
20260803T203605.543631Z | INFO | network | couldn’t launch iface 192.168.8.177:50002:s – CancelledError()

It’s a known issue that the AppImage doesn’t look at the system trust store for the proper certificate and thus throws (silently in the UI, but loudly in the logs):

SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1010)

The solution (at least for now) is to use the Tor address, and postfix it with :t like:
`mysuperreallybiglongdotonionaddressthatendswithad.onion:50001:t`

Or use a clearnet domain with a valid public cert by adding a new interface under Services > electrs > Interfaces > API > Add domain

it may not help but my experience was as follows:

I have latest StartOS and latest Sparrow and after upgrade the Tor connection to electrs would not complete. This is what I did:

  1. removed and re-added the same onion address and port back into Sparrow Server Settings - tried and failed again
  2. reenabled just once the SSL cert in Sparrow Server Settings - Tried and it worked
  3. Disabled the SSL cert - Tried and it continues to work.

( and I didn’t need the :t )

All the best

I’m using AppImage on linux, I tried with electrs .onion address but it doesn’t work, I tried creating another one with ssl but that doesn’t work either. Even if I put :s or :t at the end it doesn’t connect.

Try connecting while you’re executing this command:
tail -F ~/.electrum/logs/electrum_log_20260*.log

What does log say?

20260806T073515.221874Z | INFO | interface.[mylongonionurlblablablablablab.onion:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1010)’)))
20260806T073515.222217Z | INFO | network | couldn’t launch iface mylongonionurlblablablablablab.onion:50002:s – CancelledError()
20260806T073524.680081Z | INFO | network | connecting to mylongonionurlblablablablablab.onion:50002:s as new interface
20260806T073525.114067Z | DEBUG | gui.qt.network_dialog | ServerWidget.on_server_settings_changed:
[server: mylongonionurlblablablablablab.onion:50002:s → mylongonionurlblablablablablab.onion:50001:t]
[auto_connect: False → False]
[oneserver: False → False]
20260806T073525.114282Z | DEBUG | gui.qt.network_dialog | set_server: new_net_params=NetworkParameters(server=, proxy=<electrum.network.ProxySettings object at 0x7cdb8a72d1c0>, auto_connect=False, oneserver=False)
20260806T073525.117616Z | INFO | network | connecting to mylongonionurlblablablablablab.onion:50001:t as new interface
20260806T073526.393273Z | INFO | interface.[mylongonionurlblablablablablab.onion:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1010)’)))
20260806T073526.393520Z | INFO | network | couldn’t launch iface mylongonionurlblablablablablab.onion:50002:s – CancelledError()
20260806T073532.414168Z | INFO | interface.[mylongonionurlblablablablablab.onion:50001] | disconnecting due to: CancelledError()
20260806T073532.414544Z | INFO | network | couldn’t launch iface mylongonionurlblablablablablab.onion:50001:t – CancelledError()

These are the logs when I try to change the .onion url

did you install the certificate when enabling SSL or just left it blank? because either way it did not work

in sparrow do the following:

1- remove the electrum address

2- paste the same address back in the URL, set the port to 50001

but copy it from your electrum server. I know it looks the same but thats what worked

3- close sparrow and restart

4- enable SSL, leave cert blank

5- close sparrow ad restart

6- do not enable proxy

7- Sparrow now connects to electrum.

in the end its a copy and paste of the same address into Sparrow with 50001 as port and enabling SSL

No T, No S etc..

hope that helps

2 Likes

no cert install required ( on PC anyway ) just point to its disk location. Unless you have all this running on your node in which case sorry can’t help

interesting - must be a UI Bug in Sparrow ( I went through something similar I believe before and thought it must be me :slight_smile: )

Do you have your Tor proxy set up in the electrum network settings?

Yes, I have active proxy with socks5/tor local host and port 9050.

I get the same logs even though I use the ipv4 address, now I also installed fulcrum and I’m trying with that but it gives me the same problems.

I managed to fix it, the problem was that under the “certs” folder there was no server CA :/. So I just added it and everything worked again. I leave the docs with the procedure if it serves anyone.

https://docs.start9.com/bitcoin-guides/1.0.x/connecting-wallets.html#the-electrum-desktop-wallet

1 Like