electrum-ltc icon indicating copy to clipboard operation
electrum-ltc copied to clipboard

App will not connect

Open dbeckwith opened this issue 8 years ago • 12 comments

Every time I open the wallet it says it is not connected, and manually selecting any servers doesn't help. Tried with version 2.9.3 and 2.9.3.1 The only thing I see in the console is:

Warning: ltc_scrypt not available, using fallback

But in the past I've seen SSL connect exceptions

dbeckwith avatar Nov 12 '17 05:11 dbeckwith

I reverted back to 2.8.3.5 and it seems to be working, but there's definitely still a problem with 2.9.x

dbeckwith avatar Nov 12 '17 05:11 dbeckwith

What operating system are you using, and how did you install Electrum-LTC?

pooler avatar Nov 13 '17 13:11 pooler

Xubuntu 16.04, I installed by downloading the release and running contrib/make_packages, then running the executable in the project root.

dbeckwith avatar Nov 13 '17 23:11 dbeckwith

You should also install the ltc_scrypt package, otherwise Electrum-LTC will use the pure Python fallback, which is often too slow to be usable. This is installed automatically by setup.py, but if you don't want to install Electrum-LTC you can do this instead:

sudo apt-get install python-pip python-dev
sudo pip2 install ltc_scrypt

This should make the warning go away, and might fix your issue altogether.

pooler avatar Nov 14 '17 08:11 pooler

When I install ltc_scrypt and run it now, I'm back to the SSL errors:

Exception in thread Thread-15:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "***/electrum-ltc/lib/interface.py", line 208, in run
    socket = self.get_socket()
  File "***/electrum-ltc/lib/interface.py", line 140, in get_socket
    s = ssl.wrap_socket(s, ssl_version=ssl.PROTOCOL_SSLv23, cert_reqs=ssl.CERT_NONE, ca_certs=None)
  File "/usr/lib/python2.7/ssl.py", line 933, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib/python2.7/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 830, in do_handshake
    self._sslobj.do_handshake()
error: [Errno 104] Connection reset by peer

dbeckwith avatar Nov 14 '17 23:11 dbeckwith

(actually now I'm just getting the SSL errors regardless of having ltc_scrypt or not)

dbeckwith avatar Nov 14 '17 23:11 dbeckwith

Are you using a proxy? Are you behind some kind of firewall?

Try clearing the data directory (make a backup first) and starting afresh.

pooler avatar Nov 15 '17 08:11 pooler

I am using a VPN, might that affect it? I've tried with a clean data directory.

dbeckwith avatar Nov 16 '17 02:11 dbeckwith

I am using a VPN, might that affect it?

It might.

pooler avatar Nov 16 '17 15:11 pooler

I am not using proxy or vpn. I have same effect. Linux Mint 18.2 (based on Ubuntu 16.04 Xenial)

schors avatar Dec 12 '17 11:12 schors

Same issue, on Windows 7, version 3.0.5.1 (official build - windows installer). Added the program exception to the windows Firewall. Tried connecting to servers manually, tried disabling SSL. It just won't connect. Do I need to install Python?

twinysam avatar Jan 10 '18 03:01 twinysam

@twinysam: no, you don't need to install Python.

pooler avatar Jan 18 '18 16:01 pooler