Bitcoin Forum
May 27, 2024, 11:33:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 3.0 + Ledger Nano S + Segwit = Cannot read xpub error  (Read 522 times)
Lone Shark (OP)
Sr. Member
****
Offline Offline

Activity: 588
Merit: 250



View Profile
November 05, 2017, 05:37:14 PM
Last edit: November 05, 2017, 08:32:16 PM by Lone Shark
 #1

Hello Guys,

I just got the portable Electrum 3.0 today and tried to connect my Ledger Nano S to it, using my segwit wallet. I have no problems connecting the legacy wallet to electrum. Problem is when I enter the derivation path for my Segwit Account #1 which is
Code:
m/49'/0'/0'
I get an error stating
Quote
Cannot read xpub from device

Can anyone point me to the right direction on how to fix this problem? I would greatly appreciate it.
TryNinja
Legendary
*
Offline Offline

Activity: 2842
Merit: 7103


Crypto Swap Exchange


View Profile WWW
November 05, 2017, 08:26:51 PM
 #2

Try this:

Quote
Update the Nano to firmware 1.3.1 and the Bitcoin app to 1.1.10 and try again. Might just be old versions on the Nano S that don't play well with Electrum.
https://github.com/spesmilo/electrum/issues/2869#issuecomment-341682986

Edit: Also found this in the Ledger subreddit: https://www.reddit.com/r/ledger/comments/7a7w6o/electrum_30_wledger_segwit/

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Lone Shark (OP)
Sr. Member
****
Offline Offline

Activity: 588
Merit: 250



View Profile
November 05, 2017, 08:34:26 PM
 #3

Try this:

Quote
Update the Nano to firmware 1.3.1 and the Bitcoin app to 1.1.10 and try again. Might just be old versions on the Nano S that don't play well with Electrum.
https://github.com/spesmilo/electrum/issues/2869#issuecomment-341682986

Edit: Also found this in the Ledger subreddit: https://www.reddit.com/r/ledger/comments/7a7w6o/electrum_30_wledger_segwit/

First link is asking about Elecrtrum 2.9.3, the previous version which does not support segwit. Not sure if updating the firmware will do the trick but I'll test it.

Second link seems to be the same problem with mine, but does not yet have an answer so I'll be watching that one to see if anyone could answer it at reddit. Hope I can get an answer here though.
Lone Shark (OP)
Sr. Member
****
Offline Offline

Activity: 588
Merit: 250



View Profile
November 06, 2017, 07:54:27 AM
Last edit: November 06, 2017, 08:12:47 AM by Lone Shark
 #4

Well apparently I found out the problem why it was causing an error of "cannot read xpub error." I had the default chrome wallet app of ledger on during the time I am trying to import my ledger nano S on the electrum with segwit support.

However, it's taking a long time to synchronize the wallet. It's taken like 30 minutes already since electrum accepted my import. I'll update if it does go through.


Update: It synced after a restart! Awesome to have finally integrated my ledger nano S with electrum with segwit.

Though a new problem arises, I can't sign from the electrum wallet :/
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 07, 2017, 08:30:34 AM
 #5

Though a new problem arises, I can't sign from the electrum wallet :/
That's because there is currently no "standard" solution for signing messages using SegWit addresses... so you can't sign messages using any SegWit wallet.

Or are you talking about signing transactions? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Lone Shark (OP)
Sr. Member
****
Offline Offline

Activity: 588
Merit: 250



View Profile
November 07, 2017, 09:37:56 AM
 #6

Though a new problem arises, I can't sign from the electrum wallet :/
That's because there is currently no "standard" solution for signing messages using SegWit addresses... so you can't sign messages using any SegWit wallet.

Or are you talking about signing transactions? Huh

Both. I found out indeed that there is no way to sign a message yet for segwit addresses, and, like what you said, there is no standard yet to sign messages for segwit addresses.

However, the problem is on the new Electrum 3.0, I can't even sign transactions with either segwit addresses or even legacy addresses. Not sure why is that, but I'll try to use the old versions and see if that fixes the problem.
FraMZ
Jr. Member
*
Offline Offline

Activity: 34
Merit: 1


View Profile
March 16, 2018, 09:23:44 AM
 #7

there is the same problem with new firmware also. How to solve it?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 17, 2018, 03:51:02 AM
 #8

What exactly is your error... that you can't import the xpub? or that you can't sign messages?

If you're getting issues trying to generate the ledger wallet, make sure that you have closed ALL other Ledger wallet applications (including Ledger Manager and Ledger Wallet Bitcoin chrome apps). Shut down Electrum. Disconnect your Ledger device.

Then:
- Restart Electrum
- Create a new wallet using "File -> New\Restore -> Standard Wallet -> Use a hardware device"... It will give you a message about not being able to detect your ledger
- Connect the Ledger Nano S via USB
- Unlock it with PIN
- Open the "Bitcoin" coin app on the Ledger device so that the "Use wallet to view accounts" message is displayed on the screen
- Click the "next" button in Electrum

It should then detect your Ledger and allow you to import the xpub and generate the wallet addresses.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!