helium / helium-program-library

Helium programs to run on the Solana blockchain
Apache License 2.0
119 stars 49 forks source link

Ledger wallet migration with unknwon_error (0x6a81) at Sign Transactions step #204

Closed Juwei80 closed 1 year ago

Juwei80 commented 1 year ago

Can anyone check the logs of the migration service on the server side when we try to migrate our wallet to Solana 44/501 using the migration tool?

image

On Discord I found another user (grfx) with the exact same problem with the following similarities:

I also tried to use the Solana CLI for testing purposes and the following command works well with the Solana App, but not with the Helium-Solana app, although here only the derivation path has been changed compared to the Solana app:

Solana App open:

% solana-keygen pubkey "usb://ledger"
98pGRK*****************************FvGk1

Helium-Solana App open:

% solana-keygen pubkey "usb://ledger" 
Error: protocol error: Unknown error

Not sure if this has anything to say, but "Unkown error" is a match here. 🤓

Can any of you help to fix this problem so that we (with the setup above) can migrate? Thanks in advance!

Juergen Discord: Hawk#0416

mandros1985 commented 1 year ago

hello just like Hawk said. The exact same case - old helium ledger wallet has attached hotspots to it

Possibly the root cause of the migration failing

I have made inquiries regarding this long ago before the migration

all of the discussion is on this link

https://discord.com/channels/404106811252408320/743676367069249536/1100099584216268810

old issue https://github.com/helium/helium-ledger-cli/issues/24

ChewingGlass commented 1 year ago

You need to make sure you follow the instructions fully. Do not switch apps when not instructed to

Juwei80 commented 1 year ago

It's not like trying once and crying, I tested this so many times on different browsers and even on different OS. And of course followed the instructions - it's not that complicated. First open the Solana App, step 2 quit and open the Helium-Solana App and keep it open until finished. Of course, in both apps blind signing set to yes. Ledger live closed. So nothing we could do wrong here.

I also tried to migrate account 1 (no hnt, iot or even Hotspot there) and I could fully complete the steps.

So I am pretty sure now, the issue is the linked Hotspot on account 0.

ChewingGlass commented 1 year ago

kk trying to reproduce now

mandros1985 commented 1 year ago

Same on my side. Tried with different browsers incognito and normal installed and uninstalled solana apps on the ledger device, retried etc.

Exact same output, exact same setup for soft and hardware

In the old app (black helium wallet app on ios) there is only a option to look up what is going on on that wallet

help us please :(

mandros1985 commented 1 year ago

erratum

its a mess :(

ChewingGlass commented 1 year ago

This should be fixed. Let me know if you still get this issue.

mandros1985 commented 1 year ago
Zrzut ekranu 2023-04-26 o 16 34 35
mandros1985 commented 1 year ago

@ChewingGlass now it states 500 status code please have a look - we are getting somewhere

So far no sign on my ledger prompt just the 500 in browser

ChewingGlass commented 1 year ago

Guessing you have 4 or more hotspots on that wallet? Try again. Just pushed a fix @mandros1985

jlacuisse commented 1 year ago

Hello, I have excatly the same problerme when i try to sign transaction in the helium-solana app unknwon_error (0x6a81). I have an hotspot linked to my ledger. i try with a lot of sol on my ledger wallet but it is the same thing. i try with brave chrome On windows, android. it's very strange because i have the problem only with the account 0 with my hotspot. But when i try with an other account (1 for example (i have nothin on them) ) i can sign transaction

Juwei80 commented 1 year ago

Just tested right at the moment, still get the unknown_error:

image
ChewingGlass commented 1 year ago

@Juweii Okay one more try, hit it again.

mandros1985 commented 1 year ago

@ChewingGlass IT WORKED !! 😉 I have successfully migrated to solana all of my assets including connected nfts / miners I can now see them in solflare

Juwei80 commented 1 year ago

Finally, it worked. But I received the transaction messages as "Unrecognized format". However I could finish the steps now. IMG_2904

Thank you for your effort!

mandros1985 commented 1 year ago

Yes it did say that for each of my miners also when I moved them to another account later

But Thanks again a milion for the support !

Juwei80 commented 1 year ago

You moved the hotspots away from ledger? How?

mandros1985 commented 1 year ago

connect Your now migrated to solana ledger with solflare wallet and transfer the nft hotspots anywhere You want

Juwei80 commented 1 year ago

Thank you

jlacuisse commented 1 year ago

for me too it's works thank you very much