App suddenly useless
Describe the bug
App doesn't open anymore even if correct password is entered.
Steps to Reproduce
I installed the app around a week ago and have around 10 2FAs set up there. It worked nicely until just now. When I open the app now, and I enter the password, I receive the following error message:
#Value does not fall within the expected range. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at Project2FA.Services.DataService.<CheckLocalDatafile>d__70.MoveNext() + 0xb56
Then I have two options: restart app or close app. After restarting, the same happens again. Which means that effectively, I cannot use the app anymore.
App Version:
- Windows 10 22H2 Update
Additional context
If you start the file with a double click and enter the corresponding password, does this work?
For more detailed information you could post the log file AppLog.log here:
C:\Users\YourUsername\AppData\Local\Packages\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_nxr4mypqfqb9c\LocalState
Hi,
Thanks for the reply. It works again now. I didn't do anything. Maybe rebooting the computer did the trick, I don't know. Anyway, I attached the log file, hope it helps to fix the bug!
Kind regards!
Von: Jan Philipp Weber @.> Gesendet: Montag, 15. April 2024 19:10 An: 2fast-team/2fast @.> Cc: tniedermaier @.>; Author @.> Betreff: Re: [2fast-team/2fast] App suddenly useless (Issue #130)
If you start the file with a double click and enter the corresponding password, does this work?
For more detailed information you could post the log file AppLog.log here: C:\Users<YourUsername>\AppData\Local\Packages\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_nxr4mypqfqb9c\LocalState
— Reply to this email directly, view it on GitHubhttps://github.com/2fast-team/2fast/issues/130#issuecomment-2057421078, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWNXBCXGBACMRY3SXLBBLNTY5QCZTAVCNFSM6AAAAABGGJZ7C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGQZDCMBXHA. You are receiving this because you authored the thread.Message ID: @.***>
Hey, that's good to hear that the problem no longer exists! I suspect that it's due to a Microsoft library and the corresponding API. Could you post the contents of the log file as a comment, unfortunately the attachment didn't come with it.
Best regards
Hey,
thanks for the fast reply. Here is the content of the log file:
2024-04-14 22:26:30 -
Best regards
Von: Jan Philipp Weber @.> Gesendet: Montag, 15. April 2024 19:31 An: 2fast-team/2fast @.> Cc: tniedermaier @.>; Author @.> Betreff: Re: [2fast-team/2fast] App suddenly useless (Issue #130)
Hey, that's good to hear that the problem no longer exists! I suspect that it's due to a Microsoft library and the corresponding API. Could you post the contents of the log file as a comment, unfortunately the attachment didn't come with it.
Best regards
— Reply to this email directly, view it on GitHubhttps://github.com/2fast-team/2fast/issues/130#issuecomment-2057458045, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWNXBCVADMNC7JQRA5DIZITY5QFIZAVCNFSM6AAAAABGGJZ7C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGQ2TQMBUGU. You are receiving this because you authored the thread.Message ID: @.***>
Happened the same to me,
I think the app problem is it's heavy reliance into UWP or Edge caching. I'm not a developer but this is how to replicate the problem:
- Run an disk cleaner app like Wise Disk Cleaner or CCleaner
- Run again 2fast. App won't work and password won't open the data file.
- Repair or restore won't work.
- Uninstall, reboot, re-install works to solve the problem.
Hope it helps,
PS: Your app is awesome, just some hiccups you've been fixing each release.
Thanks for the explanation and the info on how to solve the problem! I was not aware of that. It is quite likely that I ran Wise Disk Cleaner or CCleaner in the meantime I hope it is possible to overcome the reliance on UWP or Edge caching.
Von: idiaz-at-luminate @.> Gesendet: Montag, 29. April 2024 16:44 An: 2fast-team/2fast @.> Cc: tniedermaier @.>; Author @.> Betreff: Re: [2fast-team/2fast] App suddenly useless (Issue #130)
Happened the same to me,
I think the app problem is it's heavy reliance into UWP or Edge caching. I'm not a developer but this is how to replicate the problem:
- Run an disk cleaner app like Wise Disk Cleaner or CCleaner
- Run again 2fast. App won't work and password won't open the data file.
- Repair or restore won't work.
- Uninstall, reboot, re-install works to solve the problem.
Hope it helps,
— Reply to this email directly, view it on GitHubhttps://github.com/2fast-team/2fast/issues/130#issuecomment-2082936074, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWNXBCUSHSPV5SWRARUDKNDY7ZMDJAVCNFSM6AAAAABGGJZ7C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSHEZTMMBXGQ. You are receiving this because you authored the thread.Message ID: @.***>
Thanks for the information I will try to replicate this in a virtual machine so that I can maybe catch the error and fix it automatically.
Just wanted to say I had exactly the same issue 2 days ago but it's magically resolved itself today. I unfortunately lost the saved error log.
Same here for me after an inplace upgrade from 24H2 to 25H2.
#Value does not fall within the expected range.
And now 1 h later, it works again (?!). Did not make a single click for that...
Hello Tom,
did you perform an in-place upgrade with the ISO? Or did you install update 25h2 via Windows Update normally? Update 25H2 is only a minor update in this case, without a new kernel.
Last week, I performed an in-place upgrade from Windows 10 to Windows 11. After the direct upgrade, almost all of my apps initially stopped working, but after restarting, everything was working again.
This was from 24H2 to 25H2 with the ISO.