Code Monkey home page Code Monkey logo

Comments (73)

cslashm avatar cslashm commented on May 17, 2024 3

Happy to read that!!! Such race bugs are just a nightmare!

I'm waiting for report for others before closing this bug. Thank you to have test and report ;)

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 3

Issue fixed in app 1.1.3

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024 2

@johnalanwoods Still broken for me despite unplugging/plugging dozens of times. I'm not technically literate enough to try the python script. I tried recreating the wallet files, but it still freezes. The only other thing I can think is to reset the Ledger Nano S and recreate the wallet from that point, but that will be annoying. I'm not sure that would be a useful fix for lots of other people either.

from app-monero.

Makazar avatar Makazar commented on May 17, 2024 2

Happy to confirm 1.1.3 works for me too. Thanks @cslashm .

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 2

0.14 will be supported in 1.2.x

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024 1

Yeah seems to be working. I have done a successful transfer with my 1.4.2/1.1.1 Ledger.

I wondered if it was the decrease in available storage size after the 1.5.5 firmware update and so I deleted the Bitcoin app leaving only the Monero app. Still froze on the Export View Key prompt.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 1

@Mansarde thank you. You ve been faster than me ;)

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 1

@johnalanwoods yes it should. It works for me under Linux

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024 1

Been away. Now back.
I have installed the Monero app v1.1.2 on the Ledger v1.5.5.
I am using Monero 'Beryllium Bullet' (v0.13.0.4-release) on macOS 10.13.4.
I have tried both the latest CLI and GUI.
I have tried connecting to my remote node from another computer and I also tried it with a local node.

Still freezes on the 'Export View Key' and times out with the error "Error: failed to load wallet: Wrong Channel" in the CLI and "Couldn't open wallet: Wrong Channel" in the GUI.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 1

yes it happened twice on friday and disappear....

from app-monero.

PeteDaKat avatar PeteDaKat commented on May 17, 2024 1

@johnalanwoods ... The only other thing I can think is to reset the Ledger Nano S and recreate the wallet from that point, but that will be annoying. I'm not sure that would be a useful fix for lots of other people either.

I went to the trouble of going the entire way, resetting Ledger, reentering seed, reinstalling the apps. It is still broken. I've moved my XMR to CakeWallet. I spent several hours over a week on this and that is enough, so here I sit and wait and watch.

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024 1

@tficharmers this must be something subtle...

from app-monero.

PeteDaKat avatar PeteDaKat commented on May 17, 2024 1

To join Makazar's voice. I, too, am in the same predicament still, and have also moved my XMR to Cake Wallet using a Ledger 1.4.2 for safekeeping.
MacOS Mojave 10.14.3, Ledger Nano S 1.5.5, Monero app 1.1.2, Monero GUI 0.13.0.4
I've since deleted and reinstalled everything, down to a new copy of the blockchain.
Always the frozen Export View Key with unresponsive X and ✓.

from app-monero.

tippierchip avatar tippierchip commented on May 17, 2024 1

Same problem here😳

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 1

@tficharmers @johnalanwoods @tippierchip

1.1.3 available in Live. Tell me if it solved the freeze problem as reported by @devbordecraft.

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024 1

Thanks @cslashm. 1.1.3 works! Got into the wallet 3 times in a row and made a successful transaction. Thanks for the fix :)

from app-monero.

cslashm avatar cslashm commented on May 17, 2024 1

All is on the Readme entry and the commit-diff. In a short: "UI race condition on rolling screen"

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

Is the ledger running 1.4.2 firmware with 1.1.1 Monero app working?

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

Wow @tficharmers, thanks for the warning. I will be careful not to update firmware until this issue is resolved.

Good shout. (at least you have one working device).

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024

At least two more people with the same problem:
https://www.reddit.com/r/monerosupport/comments/ahbk8p/after_ledger_155_update_and_monero_111_ledger/

from app-monero.

dEBRUYNE-1 avatar dEBRUYNE-1 commented on May 17, 2024

Ping @cslashm.

from app-monero.

sethforprivacy avatar sethforprivacy commented on May 17, 2024

This also applies to firmware v1.4.2 with the Monero 1.1.1 Ledger app. I made sure not to update firmware, but had to remove the Monero app to install another, and when I reinstalled Monero v1.1.1 it broke all ability to use Monero on the Ledger (both GUI and Monerujo).

Edit: While using Monerujo, I can export the view key to open the wallet, but as soon as Monerujo prompts for me to sign a transaction the Ledger freezes completely. I don't even get the X/Y prompt, it just freezes before showing that.

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

I have identical problem. It has to do with the 1.5.5 update.

https://monero.stackexchange.com/questions/10797/cant-open-gui-wallet-with-ledger-nano-s-after-1-5-5-firmware-update?noredirect=1#comment9183_10797

Waiting to hear from the Ledger crew:

https://www.reddit.com/r/ledgerwallet/comments/aia4zq/cant_open_monero_gui_wallet_with_ledger_nano_s/

from app-monero.

sethforprivacy avatar sethforprivacy commented on May 17, 2024

Looks like they fixed it:

v1.1.2
Fix stack overflow for 1.5.5 SDK

I installed the new version and it worked fine on Monero GUI.

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

Didn't work for me. I've updated the Monero app to v1.1.2 and the 'Export Key' display is still frozen. Using macOS High Sierra and GUI Beryllium Bullet (v0.13.0.4).

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

Please provide full configuration on which it doesnt work. I'm not able to reproduce the issue under my Linux.

Also run client in log level 4 and provide me log.

Take care to not do that with real wallet as the log will contained the viewkey.

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

"Also run client in log level 4 and provide me log."

Could you please explain what this means?

from app-monero.

Mansarde avatar Mansarde commented on May 17, 2024

In the CLI you can set the log level (0-4) with set_log.
See help set_log for help.

In the GUI, you can set the log level (default: 0) to 4:
Image of Monero GUI

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm v1.1.2 and Ledger 1.5.5 should work correctly together right? - I'm testing too.

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm testing on macOS now...

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

Thanks @Mansarde. Only I am not able to connect in GUI due to the frozen Export Key so that I can get the Log info. I can set it to 4 but nothing appears on the Log window.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

I did not success to reproduce the bug under both linux ("Ubuntu 18.04.1 LTS") and Windows (SevenPro-SP1).

I successfully restore several times my personal wallet without any problem.

To investigate more I need a details bug report with Host configutation, NanoS configuration (please double check :)) , command line used, screenshots of what happen on both host and NanoS, ....

from app-monero.

sethforprivacy avatar sethforprivacy commented on May 17, 2024

With v1.1.2 I am now able to get the signing transaction portion of sending from Monerujo, but am unable to actually sign the transaction -- I approve it on the Ledger, but then get the following:

Transaction failed: unknown exception: Wrong Device Status: SW=6985 (EXPECT=9000, MASK=ffff)

I haven't been able to test sending via GUI yet on v1.5.5/v1.1.2.

Edit: Actually the Tx did send, but still threw that error... Seems odd. May be a Monerujo specific issue for @T81

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@Gooden0ugh, your device is unlocked? I mean No screen lock?

Log of sent commands is needed to understand who/when the 6985 happen.

6985 means that command has been rejected for internal state reason: screen lock or TX related command received but no TX are in progress. It sounds like after TX is finished, Monerujo send a command related to TX (one of INS_STEALTH, INS_GEN_TXOUT_KEYS, INS_BLIND, INS_VALIDATE, INS_MLSAG).

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

I can confirm that Nano S 1.4.2 works perfectly with GUI (v13.0.4), for those who might decide to wait with the 1.5.5 update until Ledger Co. fixes the glitch.

from app-monero.

T81 avatar T81 commented on May 17, 2024

No problem with firmware 1.5.5 and GUI v13.0.4 on win7

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

Yep, still having this problem. Using Cake Wallet at the moment until this gets sorted.

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm hey mate, is there any update? this issue is still occurring for me on macOS with 1.1.2 and 1.5.5

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@johnalanwoods @tficharmers
I got the pb twice, but do not happen again. I think about some race condition that cannot explain today.

The both time it happen I plug/unplug my device several time before it works again. And then...no more problem.

You can try display the About content menu before launching the client. Assuming you have an already setup wallet to avoid the double ask. Let me know. I suspect something around there.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@Gooden0ugh, INS_STEALH have to be allowed outside TX. I fix that.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@johnalanwoods @tficharmers @Makazar

Can you try this little python script.
It mimic the startup of monero client, fetching the public key and twice the private view key.

(You need the ledger sdk)

from ledgerblue.comm import getDongle


dongle = getDongle(True)

apdu1 = bytearray([0x02, 0x20, 0x01, 0x00, 0x01, 0x00])
apdu2 = bytearray([0x02, 0x20, 0x02, 0x00, 0x01, 0x00])

dongle.exchange(apdu1)
dongle.exchange(apdu2)
dongle.exchange(apdu2)

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm sure no probs - by the way, are you saying on your end, you could only reproduce initially and after a while the issue disappeared?

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@tficharmers have you experienced that which @cslashm mentioned? i.e. that the issue dissipated over time?

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

I continue to try to understand the pb. The big thing is that I 'm not able to reproduce the problem. I tried last week on several computer linux/mac/win and it works. This extremely weird.

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm thanks for update, is there anything we can do to help debug further?

Also when will the Monero app be updated on Ledger Live, because the current version is completely incompatible with the latest firmware!?

So surely the version that is working for some (1.1.2) is better than one that doesn't work at all...

Currently when a user gets a new ledger, updates and uses the version on Ledger live, it literally is broken.

Or maybe you're waiting for Monero fork to release?

@tficharmers would you agree?

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

As stated here, this is messy for new customers.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

yes 1.1.1 was an error because of wrong linking options.

1.1.2 seems work for lot of people but fail for some. We try to investigate but :

1/ Hard to reproduce here
2/ I get difficulties to have full config (OS version, Log, ...) from people claiming it fails

Edited: There is 1.1.2 new master sources under git. You can try it. Not released in Live as I cant said if it solves the pb

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm trying to build makefile on new Mac but get: Environment variable BOLOS_SDK is not set. Stop.

Any readme or instruction on deploying?

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024

1.1.2 is on Ledger Live by the way.

Could users who had to initially configure their Smart Card Services be the ones still having problems? I still have those values in the config file, but I know it's not necessary to have these. Just wonder if there might be a conflict here. Just a wild guess :)

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

please DL the 1.5.5 SDK https://github.com/LedgerHQ/nanos-secure-sdk/tree/nanos-1552

Some doc here https://ledger.readthedocs.io/en/latest/

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@tficharmers excellent question. @cslashm might he be right? Could the issue be related to those early users that manually setup smart card services?

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

not related to pcsc config.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

sorry, not 1.1.2, but simply master.

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024

Well, this is embarrassing... just saw a message in #monero-dev IRC from cslashm that you shouldn't have Ledger Live open when using the Monero app with the CLI/GUI. I actually didn't have Ledger Live open when I've been getting these freezes, but I wondered if on MacOS there might have been a residual process running in the background that hadn't been shut down that was causing this conflict. So, using my expert IT skills, I turned my Mac off... and then turned it back on again. Yep... it worked. No freeze.

Update: Hmmmmmm actually. So I exited the CLI wallet, then opened it again (without unplugging the Ledger) and it froze. I unplugged the Ledger, plugged it back in and opened the wallet again in the CLI and it froze. Perhaps not solved. I will try a macOS restart again.

Update 2: Did another macOS restart. Opened the CLI wallet, Ledger froze :(

from app-monero.

Makazar avatar Makazar commented on May 17, 2024

Just a quick check in guys to let you know I still get the frozen 'Export Key' message and cannot use Ledger Nano S + Monero GUI. Thought this issue would be resolved by now. Shame really as I would like to run my own node by using GUI. For now using CakeWallet. I'm a macOS High Sierra user +1.5.5 Ledger Nano S firmware + 1.1.2 Monero app (Ledger) + 0.13.0.4 Beryllium Bullet GUI. Hope this gets sorted soon.

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@tippierchip

Same problem hereflushed

Please your full config

from app-monero.

tippierchip avatar tippierchip commented on May 17, 2024

Os is Windows, 64- bit.
Im using the monero gui 0.13.04
And my ledger nano s is updated to 1.5.5

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@tippierchip
thanks, and your monero app in "about" of the app is ?

from app-monero.

devbordecraft avatar devbordecraft commented on May 17, 2024

nb sorry for my terrible english, this is not my primary langage.
So, I think I have resolve one part of the problem, here is my solution.
Originally i have a problem where i couldn't restore my wallet because it gave me this error on v1.1.2

Wrong Device Status : SW=6985 (EXPECT=9000, MASK=ffff)

This error make the GUI and the CLI resync from scratch or crash.
Other people have this error like this one : https://www.reddit.com/r/Monero/comments/afr98x/monero_gui_v01304_ledger_nano_s_sync_problems/ and here : https://www.reddit.com/r/monerosupport/comments/ahhqjt/ledger_nano_s_and_gui_never_syncs_wallet_loop/

So I try many times to recompile the v1.1.2 with tricking some code but without success.
When @cslashm pushed the v1.1.3 (which is not available for the moment on the ledger live) I have compiled it and tested and it seems to work.
I think the adress rolling animation on the lockscreen make the bug and it's related to this comment :

@Gooden0ugh, your device is unlocked? I mean No screen lock?

Log of sent commands is needed to understand who/when the 6985 happen.

6985 means that command has been rejected for internal state reason: screen lock or TX related command received but no TX are in progress. It sounds like after TX is finished, Monerujo send a command related to TX (one of INS_STEALTH, INS_GEN_TXOUT_KEYS, INS_BLIND, INS_VALIDATE, INS_MLSAG).

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@devbordecraft the 1.1.3 removes the rolling-screen but also fix the the use of INS_STEALTH outside a TX: it is now allowed.

So I had only one question: did you also had the lockscreen bug with 1.1.2?

from app-monero.

devbordecraft avatar devbordecraft commented on May 17, 2024

Yes, with v1.1.2 I had the lock-screen bug

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

OK! In that case I will deploy 1.1.3 asap. Thanks for having testing ;)

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm just so I understand is 1.1.3 expected to fix the 'export view key' bug?

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

yes it is expected

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm thank you!

@tficharmers does this fix your deployment?

from app-monero.

tficharmers avatar tficharmers commented on May 17, 2024

@johnalanwoods Being the technical noob that I am, I will have to wait for the Ledger Live version to be deployed. I'll report back in due course.

from app-monero.

devbordecraft avatar devbordecraft commented on May 17, 2024

For those who want, I can make a doc to explain how to compile the app and load it into your ledger easily on Linux.
(Arch, Ubuntu, Fedora, etc).

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

I guess you set IODUMMYCRYPT in Makefile to get it work.

Take care it breaks confidentiality on the host side as the protection is juste a XOR with 55h.

It is for test/debug only

from app-monero.

cslashm avatar cslashm commented on May 17, 2024

@devbordecraft moreover if you do that, could you make a PR that point here:
https://github.com/LedgerHQ/ledger-app-monero/blob/master/doc/user/bolos-app-monero.rst#from-source

thanks ;)

from app-monero.

devbordecraft avatar devbordecraft commented on May 17, 2024

Yes I have uncomented IODUMMYCRYPT. Good advice, I will take that in consideration.

No problem, your welcome ;)

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm will have time to test tonight, thanks for your hard work.

Can you share the cause?

from app-monero.

tippierchip avatar tippierchip commented on May 17, 2024

Problem fixed here too :)
Balance showing and everything looking fine
thanks you @cslashm

from app-monero.

johnalanwoods avatar johnalanwoods commented on May 17, 2024

@cslashm also looks good on my end. thanks for support.

Does this support new Monero release too, or will there be another update for that?

from app-monero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.