stellar-deprecated / account-viewer

DEPRECATED. Go to https://github.com/stellar/account-viewer-v2
Apache License 2.0
62 stars 65 forks source link

Stellar Lumen sending stuck using ledger nano s #100

Closed marbinBI closed 4 years ago

marbinBI commented 4 years ago

Capture

marbinBI commented 4 years ago

unnamed

marbinBI commented 4 years ago

Then i clicked both button at the same time but didnt work and complete stuck my ledger device.

Fellow70 commented 4 years ago

I have had a just the same issue with Ledger Nano S about two weeks and the Ledger support cannot solve the problem. Neither in stellarterm or stellarport I cannot make transaction. It seems I cannot sign in there but in stellar account viewer I do not get transaction through.

vcarl commented 4 years ago

What browsers? Do you see any errors in the browser console?

Fellow70 commented 4 years ago

Chrome browser. I see only this stellar account viewer

And in stellarterm stellarterm

Now I managed to do one successful transaction in account viewer successful transacton

Unfortunately it was only an exception. Ledger /account stays stuck.

vcarl commented 4 years ago

Can you translate that popup error for me? Any errors logged in the browser console (ctrl-alt-i to open, then "console" tab—it should look something like this) would be helpful to know as well.

Fellow70 commented 4 years ago

Thank you! I think the pop up is not an error message but here you are (translated): "We'll make sure it's really you. Sign in to https // stellar.org. This request is made by Chrome and published by Google LLC.

Touch the security key. (means Ledger?) Cancel

And pictures of console (taken after try in account viewer using Ctrl-Shift-i) from top to bottom

console1

console2

console3

tomquisel commented 4 years ago

I use Ledger Nano S in the Stellar Lab pretty often, and it works great, except timeouts are common. You have something like 20 or 30 seconds to review the txn on the device or it times out.

Here are two thoughts:

Fellow70 commented 4 years ago

Thank you for your reply! Yes it is quite a short time to do every steps that on Ledger is needed to do. I have tried to get it through fast but it did not help. But should consider what you say though.

Waiting now the reply from guy who asked me for the picture of browser console. There seems to be very many faults in the list.

pe 7. helmik. 2020 klo 18.33 Tom Quisel (notifications@github.com) kirjoitti:

I use Ledger Nano S in the Stellar Lab pretty often, and it works great, except timeouts are common. You have something like 20 or 30 seconds to review the txn on the device or it times out.

Here are two thoughts:

  • I also saw a StellarTerm timeout also mentioned above. If there's only one issue here, perhaps it's just that the that account viewer is mis-reporting a timeout, and the message needs to be improved.
  • As a second step, assuming it's really just a timeout, is to try to increase the timeout. It's just too low to be friendly.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stellar/account-viewer/issues/100?email_source=notifications&email_token=AOO5QSR3WIJBOTL57XU3FUDRBWELXA5CNFSM4KH5UXJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDUZOI#issuecomment-583486649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOO5QSTTMSWRCMHAZRVJEH3RBWELXANCNFSM4KH5UXJA .

vcarl commented 4 years ago

Most of those are unrelated, they're logs about navigating pages. Tom's note about timeouts sounds right to me.

Fellow70 commented 4 years ago

So what can I do?

marbinBI commented 4 years ago

I still can't transfer Stellar and tried so many browsers, none worked. Very frustrating!

On Fri, 7 Feb 2020 at 19:12, Fellow70 notifications@github.com wrote:

So what can I do?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stellar/account-viewer/issues/100?email_source=notifications&email_token=ALCGXNLHBN7VBWIZDUCLYPTRBWXA5A5CNFSM4KH5UXJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEGYDY#issuecomment-583560207, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCGXNI4Z5QZ26VMWHSCYTDRBWXA5ANCNFSM4KH5UXJA .

-- Best Regards

Mohammed Marbin Microsoft Certified Technology Specialist Oracle Certified Professional Business Objects Enterprise XI Certified Professional 13 Edmund Close, Bristol BS16 5EJ United Kingdom Mobile:+447771375894 http://www.linkedin.com/in/mohammedmarbin

tomquisel commented 4 years ago

@marbinBI and @Fellow70 can you share the exact transactions that are causing issues, and the steps you took to create them? That'll allow us to reproduce and get to the bottom of your issues ASAP.

Fellow70 commented 4 years ago

If you can open this https://drive.google.com/open?id=1o9Br6nmcif9LnDRT_vBgpTu-yEkUMvDH

I followed normal functions after confirming transaction immediately clicked every steps on Ledger device: 1.Create Offer Type account 2.Buy xlm 3.Price 4.Sell amount 5.Memo 6.Fee 7.Network public 8.Transaction source. Finally seeing "Transaction finalized" on Ledger but nothing happens in network.

In the stellarterm I see after all in computer screen: "Timed out when signing with Ledger. Try it again."

Fellow70 commented 4 years ago

However strangely five days ago I managed to get one transaction through here https://horizon.stellar.org/operations/120640919765573633 But it was exception I do not remember if I did anything different way than earlier.

csadc6789 commented 4 years ago

I am having the same error. I try to send Stellar with my ledger Nano S, and get stuck at the Finalize Transaction step. I have been trying for 2 weeks, and is really frustrating. This is one of the main reasons crypto still cannot be adopted by the masses, bugs and errors on all apps and devices all the time.

Fellow70 commented 4 years ago

Strangely the problem has occurred 2-3 weeks all of us...

tomquisel commented 4 years ago

@Fellow70 @csadc6789 @marbinBI are you all using Windows as your OS?

tomquisel commented 4 years ago

Assuming so, this might be the issue: https://www.ledger.com/your-ledger-device-and-the-upcoming-windows-10-update/

Let me know your Ledger firmware version, version of Windows (or other OS), and version of the Stellar Ledger Nano app.

marbinBI commented 4 years ago

Yes, I am on windows 10 pro.

Marbin

Sent from my iPhone

On 11 Feb 2020, at 18:28, Tom Quisel notifications@github.com wrote:

 @Fellow70 @csadc6789 @marbinBI are you all using Windows as your OS?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

csadc6789 commented 4 years ago

Stellar V.3.0.7 I use Mac OS mojave 10.14.6

Fellow70 commented 4 years ago

Win 10 Pro Stellar version 3.0.7 The latest Firmware

etale-cohomology commented 4 years ago

I"m experiencing the same problem on the Nano S with the Stellar Account Viewer.

The whole thing gets stuck on Finalize Transaction.

Firmware 1.6.0
Microcontroller 1.11
Stellar version 3.0.7
Ubuntu 18.04
Linux 4.15.0-66-generic
Google Chrome Version 80.0.3987.87 (Official Build) (64-bit)

Things did work before I updated the firmware, though!


Before sending a transaction, the following error pops up on the Console (don't know if this one is relevant...).

xhr.js:172 GET https://horizon.stellar.org/operation_fee_stats?c=0.7730856025222783 404 (Not Found)
(anonymous)

errors.js:10 Uncaught (in promise) Error: Not Found
    at NotFoundError.NetworkError [as constructor] (errors.js:10)
    at new NotFoundError (errors.js:28)
    at call_builder.js:203
    at step (tslib.js:136)
    at Object.next (tslib.js:117)
    at tslib.js:110
    at new Promise (<anonymous>)
    at Object.__awaiter (tslib.js:106)
    at CallBuilder._handleNetworkError (call_builder.js:198)```

After a few seconds stuck on Finalize Transaction, the following error pops up on the Console.

debuggability.js:877 Unhandled rejection Error 

Unhandled rejection Error
    at new TransportError (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:90:18242)
    at wrapU2FTransportError (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:52:9)
    at TransportU2F.<anonymous> (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:52:3963)
    at tryCatch (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:149:13087)    at Generator._invoke (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:149:15062)
    at Generator.prototype.<computed> [as throw] (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:149:13371)
    at step (https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:55:4755)
    at https://www.stellar.org/account-viewer/main-94b5ed482c2d8f805b85.js:55:4942
Fellow70 commented 4 years ago

For me too things worked before updating firmware 1.6.0. But it has been about 8 month the last time I used Ledger with older firmware.

tomquisel commented 4 years ago

Thanks! This is really helpful. And are you all having the same problem at https://stellarterm.com/ledger/? I know @Fellow70 reported this as well.

tomquisel commented 4 years ago

@vcarl have you been able to reproduce this yet? When I use my Ledger Nano S on MacOS 10.15.3 and Chrome it works fine, so I'm not sure what to say.

One thing I noticed is that the versions the ledger libraries in the account viewer are quite old:

    "@ledgerhq/hw-app-str": "^4.14.0",
    "@ledgerhq/hw-transport-u2f": "^4.13.0",

The current version of those is 5.9.0. Low hanging fruit would be to update those and see if it resolves the issue.

vcarl commented 4 years ago

We have a Windows test machine, but our test Ledger was out of office. Looking into this soon, good tip on the deps

etale-cohomology commented 4 years ago

@tomquisel Yes, I'm having the same problem on StellarTerm (the Ledger Nano S device freezes on the Finalize Transaction screen).

vcarl commented 4 years ago

I've been able to reproduce that behavior, freezing on "Finalize transaction" after viewing the transaction details. I need to dig deeper into whether there's a way for us to handle this more gracefully in the account viewer, but it feels like there's a bug in the Ledger.

etale-cohomology commented 4 years ago

So, is there a way for us folks stuck on the Finalize Transaction screen to get Lumens out of the Ledger?

vcarl commented 4 years ago

I was able to complete a transaction by blitzing through the confirmation screens, so it still sounds like a timeout issue. I'm experimenting to see if we can update the account viewer to handle this more gracefully.

Fellow70 commented 4 years ago

Yes. In the newest firmware of Ledger there are so many steps (for security) that it is challenging for account wiever to handle them gracefully?

tomquisel commented 4 years ago

I've updated to the newest firmware and can reproduce the issue. The workaround, as Carl said, is to move fast through the screens. If that doesn't work, you may need to do some reinstalling as described on reddit

marbinBI commented 4 years ago

Today I login in a different computer and looks like lost all my coins. :(

Please help!

[image: image.png]

On Thu, 13 Feb 2020 at 23:51, Tom Quisel notifications@github.com wrote:

I've updated to the newest firmware and can reproduce the issue. The workaround, as Carl said, is to move fast through the screens. If that doesn't work, you may need to do some reinstalling as described on reddit https://www.reddit.com/r/Stellar/comments/dkpqi6/cant_access_lumens_in_ledger_nano_s/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stellar/account-viewer/issues/100?email_source=notifications&email_token=ALCGXNNQXOQJZKSK424CQR3RCXMJTA5CNFSM4KH5UXJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELXBQNY#issuecomment-586029111, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCGXNN2S6XDD3A3UJ5JPPLRCXMJTANCNFSM4KH5UXJA .

-- Best Regards

Mohammed Marbin Microsoft Certified Technology Specialist Oracle Certified Professional Business Objects Enterprise XI Certified Professional 13 Edmund Close, Bristol BS16 5EJ United Kingdom Mobile:+447771375894 http://www.linkedin.com/in/mohammedmarbin

etale-cohomology commented 4 years ago

@marbinBI Right now there seems to be a problem with the Account Viewer when showing balances (my balance displays as a dot). You can check your account's balance using any Stellar explorer (eg. this one).


btw if you want to withdraw your XLM from the Ledger, you can derive your Stellar secret key from the Ledger mnemonic (see this). With the secret key you can login to your account from the Account Viewer without using the Ledger device whatsoever

vcarl commented 4 years ago

That looks to be a separate issue related to the size of the balance on the account. See #104

shammmuk commented 4 years ago

I've updated to the newest firmware and can reproduce the issue. The workaround, as Carl said, is to move fast through the screens. If that doesn't work, you may need to do some reinstalling as described on reddit

I am having the same problem. Why can't ledger just incorporate stellar lumens account into the ledger live? Why do we have to go to another stellar lumens wallet? Sending cryptos from the ledger live always works!

tomquisel commented 4 years ago

@shammmuk we've investigated the issues in depth, and there are clearly problems with the latest version of the Ledger firmware and/or Stellar app, both of which are supported by Ledger. The ledgerjs repo may be the best place to get their attention, but I'm not totally sure. We're attempting to work with them as well. It'd be very helpful if you can report the issues to Ledger directly.

vcarl commented 4 years ago

We've pretty well exhausted the options available to us (resulting in #101 and #105), but my tests are showing that most attempts to sign transactions with a Ledger Nano S fail. The only way I've been able to work around this is

I spend probably an hour and a half submitting transactions and powercycling a Ledger Nano S, this is the only way I was able to get payments to successfully sign. It looks like there's nothing else we can do from the Account Viewer, so please 👍 LedgerHQ/ledger-nano-s#66 if you're still encountering this.

Fellow70 commented 4 years ago

I have discussed profoundly with Ledger Nano S support before contacting GitHub community and you very friendly guys here. I sent them all the data (videos etc) of concerning issue. They were unable to help me and finally advised me to "support of stellar account viewer" and so I am here.

shammmuk commented 4 years ago

XLM's technology is either really crappy or they don't want people to sell it so the price would go up.. i don't see any other explanations for this... i see that problem has been around since 2018 and they still haven't solved it yet...

csadc6789 commented 4 years ago

as usual in crypto, the issue is closed without solving, blaming responsibility one to another...meanwhile our money is trapped.

vcarl commented 4 years ago

We're continuing to investigate this, but the issue appears to be with the firmware of the Ledger Nano S. Embedded software is outside of my skillset, but others at SDF are pressing the issue further. We have a workaround (documented above) that I've been able to use consistently that should allow you to submit transactions (even sell your XLM or other assets, if you so desire). The bugs in the Ledger firmware are unfortunate and we hope a fix will be found shortly, but there's no conspiracy here.

shammmuk commented 4 years ago

It still doesn't work and the nano s just gets stuck on finalize transaction and have to unplug it to unfreeze it

shammmuk commented 4 years ago

after multiple tries finally got 1 transaction through... the stellar account viewer is probably over congested... cuz after that it is stuck again... how does xlm expect to become the leading coin for payments when their wallet doesn't even work.. this is ridiculous

vcarl commented 4 years ago

I say again, this appears to be a Ledger firmware problem. The Account Viewer works correctly if you sign in with a secret key, there's nothing the AV can do about the Ledger freezing when asked to sign a transaction. Please direct further issues to LedgerHQ/ledger-nano-s#66, because there's nothing more I can do to fix the problem from the Account Viewer.

Fellow70 commented 4 years ago

Or shift to Trezor wallet after getting out your keys from Ledger Nano S...t

shammmuk commented 4 years ago

Or shift to Trezor wallet after getting out your keys from Ledger Nano S...t

I own xrp, ada, vet, omg, beam too and all their wallets work fine. How is it that xlm is the only wallet that has a problem with ledger... this just makes you lose faith in a coin

shammmuk commented 4 years ago

I say again, this is Ledger firmware problem. The Account Viewer works correctly if you sign in with a secret key, there's nothing the AV can do about the Ledger freezing when asked to sign a transaction. Please direct further issues to LedgerHQ/ledger-nano-s#66, because there's nothing more I can do to fix the problem from the Account Viewer.

XLM is the only coin out of all the other coins that i own that has a problem with ledger, and the stellar account viewer is developed by stellar.org.... how is this a ledger problem?

shammmuk commented 4 years ago

I say again, this is Ledger firmware problem. The Account Viewer works correctly if you sign in with a secret key, there's nothing the AV can do about the Ledger freezing when asked to sign a transaction. Please direct further issues to LedgerHQ/ledger-nano-s#66, because there's nothing more I can do to fix the problem from the Account Viewer.

I finally figured out what the problem was... you need to be signed into ledger live to use stellar account viewer at the same time otherwise transaction verification will fail... after a few tries with ledger live open and synchronized it worked