Bitcoin Forum

Bitcoin => Hardware wallets => Topic started by: bitbitrun on May 20, 2021, 08:51:26 PM



Title: Electrum wallet cannot pair with trezor
Post by: bitbitrun on May 20, 2021, 08:51:26 PM
Hello there,

I hope I am posting on the right topic.

I created a multisig wallet 2 of 2 on Electrum and on the one side I used my Trezor-T.

After I created the wallet I am no longer able to use the wallet as it will not pair with my trezor. I am receiving the error message stating:

"Electrum cannot pair with your Trezor."

I am a bit baffled as to why this could be.

I attempted to create a new wallet using the hardware wallet and the new wallet did not restore the one that does not pair...

Recap:
* I can login to my Electrum wallet using my passphrase.
* Electrum is OSX Version: 4.1.2
* Electrum sees the trezor wallet, however it has a red dot on the HW wallet icon at the bottom right.
* Trezor-T firmware version is: 2.3.6

Have I locked my funds? What could have gone wrong?


Title: Re: Electrum wallet cannot pair with trezor
Post by: HCP on May 20, 2021, 10:42:39 PM
Did you try disconnecting/unplugging the hardware wallet... and then shutting down Electrum (and/or even restarting the computer completely)... and then try repairing your Trezor with the multisig wallet?

I've had issues in the past with Electrum when trying to switch from one hardware wallet to another hardware wallet without disconnecting the device... where the device won't be "detected" after trying to switch wallets until I shut everything down and then start again.


Title: Re: Electrum wallet cannot pair with trezor
Post by: Pmalek on May 21, 2021, 07:28:51 AM
I've had issues in the past with Electrum when trying to switch from one hardware wallet to another hardware wallet without disconnecting the device... where the device won't be "detected" after trying to switch wallets until I shut everything down and then start again.
Not just with multiple hardware wallets, issues with Electrum occur if you try to switch between different wallets (Ledger bitcoin accounts). If I use my Ledger together with wallet1 on Electrum, I can't simply click on File > Open in Electrum and open up Wallet2 for example. There is always an error about the device not being recognized. I have to first close Electrum, restart it, and then open Wallet2 for it to work. The combo Trezor-Electrum could cause the same type of connection problems.   


Title: Re: Electrum wallet cannot pair with trezor
Post by: bitbitrun on May 21, 2021, 09:07:32 AM
Did you try disconnecting/unplugging the hardware wallet... and then shutting down Electrum (and/or even restarting the computer completely)... and then try repairing your Trezor with the multisig wallet?

I've had issues in the past with Electrum when trying to switch from one hardware wallet to another hardware wallet without disconnecting the device... where the device won't be "detected" after trying to switch wallets until I shut everything down and then start again.

I just tried all these combinations. The wallet is "detected", however it will not pair.

I noticed that when I paired the wallet to electrum, the wallet had a different name. I had renamed the trezor since pairing. I switched back to the name that the electrum wallet expected, but pairing still did not happen.

Are there debugging commands I can try to figure out the next steps? Should I contant trezor support?

Thank you for your help, I am very worried :(


Title: Re: Electrum wallet cannot pair with trezor
Post by: Lucius on May 21, 2021, 10:46:42 AM
From what I've read, this is not a new problem, users have been reporting it for years - and since I'm not a Trezor user, I'll post a few links that might be helpful.

https://www.reddit.com/r/Electrum/comments/ajo6f0/electrum_trezor_error/
https://github.com/spesmilo/electrum/issues/2698
https://github.com/spesmilo/electrum/issues/2100



Not just with multiple hardware wallets, issues with Electrum occur if you try to switch between different wallets (Ledger bitcoin accounts). If I use my Ledger together with wallet1 on Electrum, I can't simply click on File > Open in Electrum and open up Wallet2 for example. There is always an error about the device not being recognized.

To open a new wallet without any restarts you simply need to exit the BTC app on Ledger and select it again - then you can open another wallet - at least that's how it works for me.


Title: Re: Electrum wallet cannot pair with trezor
Post by: HCP on May 23, 2021, 01:45:29 AM
I just tried all these combinations. The wallet is "detected", however it will not pair.

I noticed that when I paired the wallet to electrum, the wallet had a different name. I had renamed the trezor since pairing. I switched back to the name that the electrum wallet expected, but pairing still did not happen.

Are there debugging commands I can try to figure out the next steps? Should I contant trezor support?
Might need to try contacting Trezor support on this one... I've just tried a couple of quick tests with Electrum+Trezor ONE (I don't have a "T")... I created a 2-of-2 Multisig using the Trezor as one of the co-signers... then shut it all down and "renamed" the device in Trezor Suite... Then I disconnected everything, started Electrum and tried to open the MultiSig... Electrum still asked for the device labelled "OldName", but when I connected and unlocked the device with "NewName" it was still able to pair with the device and the wallet was available without issue.

I was even able to "restore" a copy of the multisig wallet by using the xpub+TrezorOne... and it created a wallet with the same addresses etc.

So, either this is some sort of Trezor T specific issue... or something else has happened with your setup to cause it to think that the wrong Trezor device has been attached. Do you have "passphrases" enabled on your Trezor device? If so, is there a possibility that when you first setup the MultiSig you unlocked the device using a non-blank passphrase? ???

Hopefully  Trezor support can help you figure out what the issue is.


Title: Re: Electrum wallet cannot pair with trezor
Post by: bitbitrun on May 23, 2021, 08:27:30 PM
Do you have "passphrases" enabled on your Trezor device? If so, is there a possibility that when you first setup the MultiSig you unlocked the device using a non-blank passphrase? ???

No, I did not set a passphrase... but at this point, yea, I have contacted Trezor support and hopefully they can manage to find a solution.

Thank you for the help, I'll keep this updated for future reference.


Title: Re: Electrum wallet cannot pair with trezor
Post by: Husna QA on May 26, 2021, 12:57:27 PM
-snip-
Try opening the Multisig wallet on Electrum which is connected to Trezor T on a different computer.
As far as I know, running two or more wallets on Electrum simultaneously on the same computer is not recommended.

I've tried to make a Multisig wallet on Electrum using Trezor T and Ledger Nano X on different devices and had no problems.



Title: Re: Electrum wallet cannot pair with trezor
Post by: HCP on May 26, 2021, 09:20:19 PM
No, I did not set a passphrase... but at this point, yea, I have contacted Trezor support and hopefully they can manage to find a solution.
As far as I can tell... the "pairing" is dependent on the hardware wallet having the same "xpub" as what was used to create the wallet. I do not believe that it uses any other identifying features such as the device name or device ID number.

Theoretically, the only way for the xpub to change would be for the underlying seed to have changed...


You already tried "restoring" the wallet by recreating the MultiSig using the original co-signer xpub + your hardware wallet didn't you?


Title: Re: Electrum wallet cannot pair with trezor
Post by: bitbitrun on May 28, 2021, 04:51:34 PM
You already tried "restoring" the wallet by recreating the MultiSig using the original co-signer xpub + your hardware wallet didn't you?

Yes, I tried to recreate the multisig twice, it created a new wallet, the same new wallet twice :(.

I don't understand how the underlying seed would change... It has not, I have not factory-reset the Trezor in any way. I've only updated the firmware to latest...

I have a spare trezor-t in the box. I think I will try replicating my case... open it, create a multi-sig wallet, and then upgrade firmware to see if my issue can be replicated...