Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Ursache: 9002 error after scanning QR code #967

Closed
daimpi opened this issue Aug 3, 2020 · 12 comments
Closed

Ursache: 9002 error after scanning QR code #967

daimpi opened this issue Aug 3, 2020 · 12 comments
Assignees
Labels
bug Something isn't working mirrored-to-jira This item is also tracked internally in JIRA

Comments

@daimpi
Copy link

daimpi commented Aug 3, 2020

Avoid duplicates

Checked. This seems different from other "Ursache: 9002" errors that have been reported before.

Describe the bug

While trying to reproduce #576 (comment), after scanning the QR code an error appeared:

Ursache: 9002
Etwas ist schiefgelaufen

Array contains no element matching the predicate

I can dismiss the error message by clicking "Okay", but afterwards the area on the main screen where you can normally add your test, now says

Datenabruf...
⚫ Das Ergebnis wird aktualisiert

And the wheel keeps spinning indefinitely.

Additionally: as soon as I reopen the app (e.g. after returning from the lockscreen) the error message reappears. Same if I switch away from the main screen in CWA (e.g. by going to settings) and then going back to the main screen, the error reappears.

Expected behaviour

  • Error shown only once to signify the invalid QR code, not every time when switching back to the main screen in CWA (bonus points for a more informative error message, like the one which is shown if you scan an arbitrary QR code).
  • No indefinitely spinning wheel in the area where tests can be added on the main screen.

Steps to reproduce the issue

  1. In CWA click the button to add a test
  2. Select QR Code as method to add your test
  3. Scan the QR Code found here: https://imgur.com/a/XpZuw46
  4. See error

Technical details

  • Mobile device: Samsung Galaxy S8
  • Android version: 9
  • CWA version: 1.1.1

Additional context

Killing the App and rebooting the phone didn't help.

If you want a photo of the stacktrace let me know.


Internal Tracking ID: EXPOSUREAPP-1743

@daimpi daimpi added the bug Something isn't working label Aug 3, 2020
@ghost
Copy link

ghost commented Aug 4, 2020

Hello @daimpi,

thank you for reaching out. I will share this bug with the development team.
Thanks for yor detailed information to help us solving this as soon as possible.

Best regards,
LMM

Corona-Warn-App Open Source Team

@SebastianWolf-SAP SebastianWolf-SAP added the mirrored-to-jira This item is also tracked internally in JIRA label Aug 4, 2020
@ghost ghost assigned ghost and Fabian-K Aug 7, 2020
@ghost
Copy link

ghost commented Aug 7, 2020

Hello @daimpi,

do you have a specific date when the QR-Code you are using has been generated?
Please share with @Fabian-K.

Thanks,
LMM

Corona-Warn-App Open Source Team

@daimpi
Copy link
Author

daimpi commented Aug 7, 2020

@GPclips @Fabian-K I don't know for sure that the code was generated that day, but the post I've got it from (#576 (comment)) is dated on the 17.06.20.

@ghost ghost removed their assignment Aug 7, 2020
@daimpi
Copy link
Author

daimpi commented Aug 14, 2020

Just as a heads up: I've just updated to CWA 1.2.1 and the issue still persists.
Indefinitely spinning wheel and pop-up error message every time I open the main screen are unfortunately still there.

@kolyaopahle
Copy link
Contributor

Hey,
we included a fix for this behaviour in RC1 for the 1.3.0 release, this means the fix is sadly not part of the 1.2.1 release. If the issue still persists after 1.3.0 has been released via google play please let me know :)

@daimpi
Copy link
Author

daimpi commented Aug 17, 2020

@kolyaopahle Thanks for the update, I appreciate it 🙂

Once version 1.3 is rolled out I'll report back 👍

@daimpi
Copy link
Author

daimpi commented Aug 25, 2020

@Fabian-K @kolyaopahle (btw: do you prefer if I ping you when I have an update, or is this unnecessary?)

Something changed today, I don't know why (maybe some update on the server side?).

When trying to open CWA today, It took forever (at least 30s white loading screen only showing the CWA logo).
When the CWA finally loaded, I was greeted with this gray status saying "Unknown Risk" and displaying an error pop-up:

After taking screenshots of the message and the stacktrace, I dismissed the error message and was shortly after greeted with the normal "(green) low-risk" screen. The indefinitely spinning wheel still persists, but the original error pop up

Ursache: 9002
Etwas ist schiefgelaufen

Array contains no element matching the predicate

seems to have disappeared. The new error 9002 popped up once more a bit later when I was scrolling through "Overview", but after dismissing it a 2nd time it didn't immediately show up anymore in contrast to the previous error, which showed up every time I switched back to the main screen.

I could reproduce this whole experience (with the long loading time etc.) by stopping CWA and starting it again. But after this 2nd time, I couldn't reproduce it anymore, even after rebooting my phone (The problem with the spinning wheel remains though).

I hope this helps 🙂.

@daimpi
Copy link
Author

daimpi commented Sep 4, 2020

@Fabian-K @kolyaopahle

Hey,
we included a fix for this behaviour in RC1 for the 1.3.0 release, this means the fix is sadly not part of the 1.2.1 release. If the issue still persists after 1.3.0 has been released via google play please let me know :)

After updating to CWA 1.3.0 today the issue with the indefinitely spinning wheel which prevents you from adding any tests/QR codes unfortunately still persists.

@derrodirik
Copy link

Hi, I have the same problem. In my case it is probably because the test is no longer available on the servers because the test was done more than 2 weeks ago. But I don't get an error message, it just loads infinitely. The problem is that I can not enter my new test. I thought about uninstalling the app but that's silly because then all the collected keys are gone.

@daimpi
Copy link
Author

daimpi commented Sep 21, 2020

@derrodirik you are probably experiencing #1084

One thing which you could try is resetting the app data in CWA, that should not delete any of the collected keys as they are saved in the Google Exposure Notification Framework (ENF) and are only deleted once you uninstall the last ENF app: https://www.coronawarn.app/en/faq/#delete_random_ids

In the case that you reset the data in CWA your day counter will start from 0 again, but that's just a cosmetic issue which doesn't have an effect on actual functional aspects.

@ghost ghost closed this as completed Sep 29, 2020
@ghost ghost reopened this Sep 29, 2020
@ghost
Copy link

ghost commented Sep 29, 2020

Hello community,

this issue has been solved (EXPOSUREAPP-1743) with release 1.3. Please let me know if this issue still occurs and I will reopen the issue.
Until then, I will close this thread.

Thanks,
LMM

Corona-Warn-App Open Source Team

@ghost ghost closed this as completed Sep 29, 2020
@daimpi
Copy link
Author

daimpi commented Sep 29, 2020

@GPclips I can confirm that I cannot reproduce this Issue anymore 👍
The only issue remaining now is #1084 which is tracked separately 🙂.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working mirrored-to-jira This item is also tracked internally in JIRA
Projects
None yet
Development

No branches or pull requests

5 participants