spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.52k stars 3.1k forks source link

app hangs when opening encrypted wallet with a locked ledger #4484

Open marceloneil opened 6 years ago

marceloneil commented 6 years ago

My wallet is a hardware-encrypted wallet using the ledger nano-s. With ledger plugged in (with the u2f-id app open, or with the ledger locked), clicking "next" on the decryption dialog does nothing and freezes the app. Here is the output of electrum -v

[SimpleConfig] electrum directory /home/marcel/.electrum
[get_server] [Errno 111] Connection refused
[Plugins] registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet')
[Plugins] registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet')
[Plugins] registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet')
[Plugins] registering hardware trezor: ('hardware', 'trezor', 'TREZOR wallet')
[Plugins] registering wallet type ('2fa', 'trustedcoin')
[profiler] __init__ 0.0034
[Network] blockchains dict_keys([0])
[Network] starting network
[Network] connecting to bauerjhejlv6di7s.onion:50002:s as new interface
[FxThread] using exchange BitPay
[bauerjda5hnedjam.onion] cannot resolve hostname
[WalletStorage] wallet path /home/marcel/.electrum/wallets/default_wallet
[WalletStorage] wallet path /home/marcel/.electrum/wallets/default_wallet
[BitPay] getting fx quotes for CAD
[WalletStorage] wallet path /home/marcel/.electrum/wallets/default_wallet
[btc.cihar.com] failed to connect [Errno 111] Connection refused
[bauerjhejlv6di7s.onion] cannot resolve hostname
[qtornadoklbgdyww.onion] cannot resolve hostname
[BitPay] received fx quotes
[hsmiths4fyqlw5xw.onion] cannot resolve hostname
[VPS.hsmiths.com] connected
[Network] switching to VPS.hsmiths.com:50002:s
[Network] sending subscriptions to VPS.hsmiths.com:50002:s 0 0
[ruuxwv74pjxms3ws.onion] cannot resolve hostname
[rbx.curalle.ovh] connected
[ndnd.selfhost.eu] connected
[Network] fee_histogram [[5, 185110], [1, 79867]]
[Network] fee_estimates[25] 1000
[electrum0.snel.it] connected
[electrumx.nmdps.net] SSL certificate signed by CA
[electrumx.nmdps.net] connected
[Network] fee_estimates[10] 1081
[Network] fee_estimates[5] 1081
[Network] fee_estimates[2] 5057
[electrum.nute.net] SSL certificate signed by CA
[electrum.nute.net] connected
[de.hamster.science] cannot resolve hostname
[v25437.1blu.de] connected
[btc.smsys.me] connected
[qmebr.spdns.org] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)
[Network] relayfee 1000
[qmebr.spdns.org] saving certificate
[qmebr.spdns.org] connected
[Plugins] loaded digitalbitbox
[Plugins] loaded keepkey
[Plugins] loaded ledger
[Plugins] loaded trezor
[DeviceMgr] scanning devices...
=> b'e0c4000000'
[node.arihanc.com] failed to connect timed out
[18.206.2.52] connected
[Network] fee_histogram [[6, 108567], [5, 117015], [1, 156496]]
[Network] fee_estimates[25] 1000
[Network] fee_estimates[10] 1081
[Network] fee_estimates[5] 1081
[Network] fee_estimates[2] 5057
SomberNight commented 6 years ago

can reproduce. seems to not happen on first lock screen, but on subsequent ones (after auto-lock) specifically,

  1. go to dialog which lists hw devices to choose from to decrypt with
  2. make sure ledger is listed
  3. wait for auto-lock
  4. select ledger