3box / 3box-dapp

3Box Hub App: User profiles and storage drive
https://3box.io/hub
MIT License
40 stars 28 forks source link

Error logging into 3Box with a hardware wallet #643

Closed oznekenzo closed 3 years ago

oznekenzo commented 4 years ago

Below from Jake Brukhman using MM + Ledger HW An error occured while publishing link

Screenshot_20200320-154825

Below from Discord user kartojal also using MM + Ledger HW: hello, im having issues for registering my profile at 3box.io/hub , trying to sign a message to create the profile via Metamask and Ledger Nano S, but is not working. Any workarounds? tried with a normal metamask account and it worked, so i think must be something related with signature using metamask and ledger nano s this is the error @oed 3⃣

    at t.<anonymous> (3box.js:1169)
    at u (runtime.js:45)
    at Generator._invoke (runtime.js:271)
    at Generator.forEach.e.<computed> [as throw] (runtime.js:97)
    at r (asyncToGenerator.js:3)
    at u (asyncToGenerator.js:29

Wallet Connect is also not working with Argent wallet too, idk why. 3box.js:1155 Uncaught (in promise) Error: Link consent message must be signed before adding data, to link address to store at t. (3box.js:1155) at u (runtime.js:45) at Generator._invoke (runtime.js:271) at Generator.forEach.e. [as throw] (runtime.js:97) at r (asyncToGenerator.js:3) at u (asyncToGenerator.js:29)

oznekenzo commented 4 years ago

This is solved when the Hub dapp is updated to use library v 1.18.1

michaelsena commented 4 years ago

cc @kamescg

dazuck commented 4 years ago

@kamescg @oed where are we on this?

As people use us with defi (RenBridge) this is becoming a more significant pattern

oed commented 4 years ago

@dazuck 3Box works with Trezor, but ledger is not working. The issue is being tracked here: https://github.com/ethers-io/ethers.js/issues/893

aelesbao commented 4 years ago

Seems like the linked issue was fixed. Do you have any news on when the library will be updated in 3Box? Thanks!

oed commented 4 years ago

@aelesbao I believe this should be fixed already in the latest version of 3box-js. Are you still not able to log in and get the same error as described above?

aelesbao commented 4 years ago

@oed I still cannot log in, but now the error message is empty

Screenshot 2020-10-26 at 20 29 08