Bitcoin Forum

Bitcoin => Electrum => Topic started by: IcyColdStorage615 on June 16, 2024, 05:45:12 AM



Title: Electrum Wallet will not connect to Electrum Server
Post by: IcyColdStorage615 on June 16, 2024, 05:45:12 AM
I am having trouble connecting my electrum wallet to my electrum server.

My electrum server is running and I even tried to just connect to other servers that Electrum Wallet has and it is failing to connect to anything. I have tried clearing the cache files, uninstalling and reinstalling electrum wallet and updated my Electrum server and to no avail it won’t connect to anything.

I have have watched a ton of tutorials trying to 'right click' Electrum Wallet -> Preferences -> Target and then adding different variations of the Electrum server string (CLI Command and Hostname) trying 50002 and 50001 ports and modifying the paths and tried all different combination and nothing is working.

Any recommendations? Thanks in advance.

Additional information:
Software Versions
Electrum Wallet 4.5.5 (latest version)
Electrum Server v0.9.9 (latest version)
MyNode - 0.3.29 (latest version)

Hardware
Raspi 4 - 2TB SSD


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: AB de Royse777 on June 16, 2024, 06:16:24 AM
Did you make any changes on this windows?

https://talkimg.com/images/2024/06/16/cDgro.png
https://talkimg.com/images/2024/06/16/cDBRa.png

Try not to have the same setting. For this setting you will need TOR browser to run in the background.


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: IcyColdStorage615 on June 16, 2024, 06:28:13 AM
Did you make any changes on this windows?

https://talkimg.com/images/2024/06/16/cDgro.png
https://talkimg.com/images/2024/06/16/cDBRa.png

Try not to have the same setting. For this setting you will need TOR browser to run in the background.

I didn't make any changes to those windows. My settings are different from the screen shots you sent.

I did 'right click' on Electrum Wallet and went to 'Preferences' -> Target -> then copied from my Electrum Server -1 -s [host name.onion]:50002:s

I have also tried connecting to the Electrum servers that the wallet provides and I had no luck with either method it is still giving me an error with connecting to any server.


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: Frankolala on June 16, 2024, 09:22:38 AM
I think you need to try and use Tor to see if it will connect. Download the latest Tor browser from this link. https://www.torproject.org/download/.
Install and start it for successful connection, after that you can follow these steps below.
Start Electrum and go to Tools>Network>Proxy

You will notice additional Tor related checkbox appeared named "Use Tor proxy at port xxxx"

Check that.

Go to Tools>Network>Server and make sure Server is selected automatically.

Connection should be established instantly.
https://www.reddit.com/r/Electrum/comments/cdle3h/electrum_wallet_not_connected_solution/

Or you should read this thread to see if it will help you, if you try the above and it did not work.
https://bitcointalk.org/index.php?topic=5415431.0


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: IcyColdStorage615 on June 17, 2024, 04:20:50 AM
I think you need to try and use Tor to see if it will connect. Download the latest Tor browser from this link. https://www.torproject.org/download/.
Install and start it for successful connection, after that you can follow these steps below.
Start Electrum and go to Tools>Network>Proxy

You will notice additional Tor related checkbox appeared named "Use Tor proxy at port xxxx"

Check that.

Go to Tools>Network>Server and make sure Server is selected automatically.

Connection should be established instantly.
https://www.reddit.com/r/Electrum/comments/cdle3h/electrum_wallet_not_connected_solution/

Or you should read this thread to see if it will help you, if you try the above and it did not work.
https://bitcointalk.org/index.php?topic=5415431.0

I tried the first method using Tor and I had no luck with my server or the public servers either.

I will try the second thing you listed though.


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: nc50lc on June 17, 2024, 05:09:51 AM
I did 'right click' on Electrum Wallet and went to 'Preferences' -> Target -> then copied from my Electrum Server -1 -s [host name.onion]:50002:s
That should be exactly what's written on "CLI Command" in your MyNode's "Electrum Server Status" page.
I see that it's missing the proxy setting which is mandatory if you're connecting through Tor.

You should edit the "Target" field (Windows?) of the shortcut file to your Electrum, and not the Electrum wallet itself.

Normally "Target" should be like this:
Code:
"<install_directory>\electrum-4.5.5.exe" -1 -s <your_onion_address.onion>:50002:s -p socks5:127.0.0.1:9050
And of course, Tor should be running in that same PC where Electrum wallet is installed for it to work.
If you're using Tor Browser bundle instead of daemon, the port should be 9150 instead if 9050.

But if it's on the same Network of your MyNode (same router), use your "Electrum Server IP" instead like this:
Code:
"<install_directory>\electrum-4.5.5.exe" -1 -s <electrum_server_ip>:50002:s
In this case, Tor isn't required.


Title: Re: Electrum Wallet will not connect to Electrum Server
Post by: NotATether on June 20, 2024, 06:44:32 AM
Can you check in the Network tab (Tools > Network) if it's only the one server you are connecting to that is not syncing? Because sometimes the server chokes, and you need to change it manually to another server.

I would turn off proxy and TOR while you are testing this. There should be at least 10 or more servers displayed in the network tab, and the one you are currently connected to has an orange arrow next to it. So when you click on another server it should try connecting with that.

If none of the servers work then it means you have an issue with outgoing connections on your computer.