electrum icon indicating copy to clipboard operation
electrum copied to clipboard

I can not send bitcoins from my wallet

Open zemelax opened this issue 8 years ago • 14 comments

Electrum-3.1.3 Linux Ubuntu 16.04

Everything was fine, I did not go into my wallet for a long time. Today bitcoins were sent and I decided to withdraw them and could not. when I click on the send button or the preview nothing happens ( I thought that the reason for updating the wallet, was updated and the problem remained. + I get an error message when entering the wallet, but I can not send it, writes server is busy or an error in the wallet.

2018-04-25 21-28-09 2018-04-25 21-28-42

zemelax avatar Apr 25 '18 18:04 zemelax

Please click Show report contents and copy-paste that here, or take a picture of that.

SomberNight avatar Apr 25 '18 18:04 SomberNight

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 252, in connect
    ssl_version=resolved_ssl_version)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 305, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Соединение разорвано другой стороной

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 247, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 560, in urlopen
    body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 787, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 252, in connect
    ssl_version=resolved_ssl_version)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 305, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Соединение разорвано другой стороной'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/electrum/util.py", line 794, in run_with_except_hook
    run_original(*args2, **kwargs2)
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.5/dist-packages/electrum_plugins/trustedcoin/trustedcoin.py", line 343, in request_billing_info
    billing_info = server.get(wallet.get_user_id()[1])
  File "/usr/local/lib/python3.5/dist-packages/electrum_plugins/trustedcoin/trustedcoin.py", line 153, in get
    return self.send_request('get', 'cosigner/%s' % quote(id))
  File "/usr/local/lib/python3.5/dist-packages/electrum_plugins/trustedcoin/trustedcoin.py", line 103, in send_request
    response = requests.request(method, url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 53, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 426, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Соединение разорвано другой стороной'))
 
Additional information
Electrum version: 3.1.3 
Operating system: Linux-4.13.0-39-generic-x86_64-with-Ubuntu-16.04-xenial 
Wallet type: 2fa 
Locale: ru_RU 

zemelax avatar Apr 25 '18 18:04 zemelax

I guess the crash reporting server doesn't like cyrillic characters. I'll fix that.

bauerj avatar Apr 25 '18 19:04 bauerj

For the error itself, this seems to be a duplicate of #4071 and will be fixed in the next version.

bauerj avatar Apr 25 '18 19:04 bauerj

Well, "will be fixed in the next version" is not how I would phrase it :P the error itself will be more user-friendly.

So just to confirm is this a 2fa wallet? Are you behind a restrictive firewall?

SomberNight avatar Apr 25 '18 19:04 SomberNight

I did not understand the question about 2fa) No like I'm not a restrictive firewall) Although I do not know, we now in Russia are struggling with a telegram and blocking the IP, maybe it's related somehow?

zemelax avatar Apr 25 '18 19:04 zemelax

What do you see on https://api.trustedcoin.com/?

bauerj avatar Apr 25 '18 19:04 bauerj

visits the site trustedcoin

zemelax avatar Apr 25 '18 19:04 zemelax

Then the service should work. Can you try and restart Electrum to see if that makes any difference?

bauerj avatar Apr 25 '18 19:04 bauerj

what do you mean by the owl restart?) delete and download again, or get out of the wallet and come back again?)

zemelax avatar Apr 25 '18 19:04 zemelax

Just close the application and start it again. That should (hopefully) be enough.

bauerj avatar Apr 25 '18 19:04 bauerj

no changes

zemelax avatar Apr 25 '18 19:04 zemelax

Can you try with a Tor proxy? Start tor in the background, and configure Electrum to connect to the local SOCKS proxy the tor process sets up: In Electrum, go into the network dialog (e.g. click the coloured orb in the bottom right), then Proxy tab. There should be a checkbox Use Tor proxy at port .... Check that. (also try restarting Electrum after this, just to make sure)

SomberNight avatar Apr 25 '18 21:04 SomberNight

It seems to work, I did not try to send bitcoins, but the error was gone, and the "send" buttons "preview" are working. In my opinion the problem is solved. I'll try later to send the bitcoins, and if something goes wrong, I'll write it here.

zemelax avatar Apr 26 '18 05:04 zemelax