Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect Hardware wallet (Ledger) to MetaMask on Linux #6732

Closed
dpazdan opened this issue Jun 19, 2019 · 34 comments
Closed

Unable to connect Hardware wallet (Ledger) to MetaMask on Linux #6732

dpazdan opened this issue Jun 19, 2019 · 34 comments
Labels

Comments

@dpazdan
Copy link

dpazdan commented Jun 19, 2019

Describe the bug
Users are unable to connect their ledger to MetaMask on linux.

Expected behavior
It should connect but when a user clicks "Connect Hardware Wallet, Ledger, Connect", an infinite spinner occurs, with no indication on the ledger device, and the account never is added.

Browser details (please complete the following information):

  • OS: linux (ubuntu)
  • Browser chrome and firefox
  • MetaMask Version 6.6.1 and 6.6.2

Additional context
related support ticket: 19873

@dpazdan
Copy link
Author

dpazdan commented Jun 19, 2019

User stated they tried all the troubleshooting steps shown on our support article here: https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet

I initially assumed it was a connection issue with the ledger and linux device (via USB). Changing ports and following the steps shown on Ledger's support site did not help: https://support.ledger.com/hc/en-us/articles/115005165269-Fix-connection-issues

I've tried to connect a ledger to MM, on ubuntu, and experienced the same.

@BrentAllsop
Copy link

I was able to connect Metamask to my Nano S, but I also have a Ledger Blue I’m trying to connect. I get the same “eternal spinner” when trying to connect my Blue.

@dpazdan
Copy link
Author

dpazdan commented Aug 9, 2019

When using your Ledger blue, can you try to connect it to your computer via cable and not Bluetooth, to see if that works?

@BrentAllsop
Copy link

I have an older Ledger blue that I don't thank does bluetooth.
https://www.ledger.com/ledger-blue-firmware-availability-updates/
If it can do blutooth, I have never attempted it. I am, and have always used the USB cable.
It works with the cable with Ledger Live, but not with metamask.
I'm wondering if it has something to do with having multiple hardware wallets configured.
I have the ledger nano s configured, and it works with MM. But when I try to configure a second hardware wallet - infinite spinner.

@dpazdan
Copy link
Author

dpazdan commented Aug 11, 2019

Yes this is likely the cause. You can only have one ledger connected per MM installation at this time. If you need both, I recommend installing MetaMask on another browser, or set up multiple chrome profiles.

@BrentAllsop
Copy link

That makes sense. Thanks for the info!!

@dchambers
Copy link

Yes this is likely the cause. You can only have one ledger connected per MM installation at this time. If you need both, I recommend installing MetaMask on another browser, or set up multiple chrome profiles.

@dpazdan, I've just run into the same problem with my Ledger Nano S on Linux. Brand new MetaMask install with no other hardware wallets connected, so it's not the number of wallets in my case.

Also worth pointing out that my I can connect to the Ledger just fine on a Mac running the exact same version of Google Chrome that I'm using on Linux ('Version 76.0.3809.132 (Official Build) (64-bit)').

@simonerom
Copy link

simonerom commented Sep 7, 2019

Had the same problem on Ubuntu + Metamask on any supported browser and without any other hardware wallet linked to metamask.

The problem for me was solved by enabling Contract Data in my Ethereum app on the Ledger Nano X.

Just connect the ledger through usb cable
Input your pin on the ledger
Open the Eth app on the ledger
Browse to settings->Contract data
Enable Contract data
Connect your Metamask to the ledger!

@hems
Copy link

hems commented Jan 13, 2020

The problem for me was solved by enabling Contract Data in my Ethereum app on the Ledger Nano X.

That worked for me too. Can't say how counter-intuitive this was. Thanks for sharing.

@flightech
Copy link

thanks guys this solved the issue for me!
Can connect metamask to ledger, but can only see the ledger wallets in meta, but not import meta > ledger live.

@dpazdan
Copy link
Author

dpazdan commented May 22, 2020

Yea this is one small but crucial step in the process to make it all work (and is in our kb article found here: https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet).

@JordyRacer
Copy link

This is a big issue now, I have tried many methods to get this working and metamask & ledger need to up their support.

@lieberscott
Copy link

Can't connect. Have tried everything on the "Troubleshoot" page, still can't connect.

@burz
Copy link

burz commented Nov 10, 2020

I ran into this problem on Ubuntu 20.04.1 while using the Chromium browser with Metamask. It appears that the issue may be Chromium-only as switching to the Brave browser fixed the issue

@JordyRacer @lieberscott: I'm not sure if y'all found a workaround yet, but this may help

@promaty
Copy link

promaty commented Dec 16, 2020

Make sure you open Ethereum application on your Ledger when trying to connect.

@Gudahtt Gudahtt added hardware-ledger Sev2-normal Normal severity; minor loss of service or inconvenience. type-bug labels Jan 7, 2021
@richstew
Copy link

I have a Ledger Blue, running on latest firmware. It connects to Ledger Live fine. It does not connect to MetaMask. I have followed the troubleshooting steps. (contract data on, tried different USB ports, cleared cache, tried different browsers)

When connecting I get a message which states the security key is not familiar and try a different one.

This is painful as like other users, it has cost me cash. Please help!

@webprez
Copy link

webprez commented Feb 19, 2021

Same here with the Ledger Blue. Nano S works fine but Blue doesn't connect ever.

@rebroad
Copy link

rebroad commented Feb 27, 2021

any plans to get this working? I'm on Windows 10, using Brave browser and same issue. Seems this browser extension is pretty much the only way to buy/store ETH currently..!

@darkwing
Copy link
Contributor

Hello @webprez and @rebroad ! We're currently working with the @LedgerHQ team to make this experience better! We'll announce progress soon!

@richstew
Copy link

richstew commented Feb 27, 2021 via email

@ux33-331
Copy link

ux33-331 commented Mar 1, 2021

Same issue on a ledger nano s here with metamask..

@richstew
Copy link

richstew commented Mar 1, 2021 via email

@webprez
Copy link

webprez commented Mar 2, 2021 via email

@richstew
Copy link

richstew commented Mar 2, 2021 via email

@packetstracer
Copy link

Me having problems with Nano S and Nano X, same issue with both. Not working with any wallet (metamask, theta, terra station, etc.). The browser seems to recognize the device but when trying to access from the wallet I guess that the browser doesn't grant the access to it.

Ubuntu 20
Chromium 89.0.4389
Tried on Chromium and Brave (with usb security flags disabled --disable-webusb-security)
Enabled contract data on ledger ETH app (when trying on metamask)

One of the wallets throws this error on the UI Access denied.

Seems like the browser is not providing access

I've also tried to set the owner and group to my linux user on the usb dev with chmod as follows

sudo chown group:user /dev/usb/hiddev1

as stated in a comment in this SO thread https://stackoverflow.com/questions/40908927/trouble-enabling-webusb-in-chrome

@wizardofwhere1
Copy link

So, I've read through all the comments above, walked through the ledger help and metamask help, submitted trouble tickets and received helpful but ineffective answers. I still see the spinning "Looking for your ledger" message. Has anyone solved this? I've tried different computers, a laptop (all windows 10), browsers (chorme, firefox, brave, edge), disconnected/reconnected ledge, logged out/in of metamask, checked ledger settings, turned off bluetooth, turned on contract data etc. ensured ledger live is not running, restarted my computer, closed all chrome instances and restarted chrome. I can't figure it out. Any ideas? Thx

@R4ZZB3RRY
Copy link

Same problem here using firefox's latest release... works in Brave browser, but it would be nice if it worked in Firefox as thats my go to browser!

@wizardofwhere1
Copy link

wizardofwhere1 commented May 27, 2021 via email

@savioruz
Copy link

edge browser infinite connect

@EpicTMC
Copy link

EpicTMC commented Jun 2, 2021

same issue, as a bove and torubleshoot same as everyone else

i think problem is with recent firmware on ledger

@AlexJupiter
Copy link
Contributor

There's been some recent progress on the MetaMask/Ledger integration that could have fixed the issues here (https://consensys.net/blog/metamask/metamask-and-ledger-integration-fixed/). Could someone report that they are still experiencing this problem? Or I'll move towards closing this issue.

@0xfornax
Copy link

I'm having issues connecting a ledger nano s plus to mm (v 10.14.7) on Ubuntu 22.04, Firefox v102.1 or Chrome v103. Using an original new USB cable (able to connect on windows machines). Tried another USB port. No AV or firewall.
Have followed https://support.ledger.com/hc/en-us/articles/115005165269-Fix-USB-connection-issues-with-Ledger-Live?support=true

@muggenhor
Copy link

I'm also not able to connect to my ledger nano x on firefox 103.0.2+build1-0ubuntu0.22.04.1~mt1 on Ubuntu 22.04 (x86-64) from the mozillateam PPA.

@danjm
Copy link
Contributor

danjm commented Jul 25, 2023

While we have fixed multiple ledger issues over the years, connection issues still persist on firefox. Most recently this is due to deprecated support for firefox+usb devices like ledger: https://support.ledger.com/hc/en-us/articles/10371387758493-Metamask-x-Ledger-Connection-Issue-On-Firefox?support=true

It is unlikely we will be able to resolve connection problems with firefox+ledger in the foreseeable future.

If anyone is still experiencing ledger connection issues in a browser other than firefox, please open a new ticket.

@danjm danjm closed this as completed Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests