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

CWA doesn't update risk status - error 39508 still there after > 24 hours #1065

Closed
1 of 3 tasks
pathmapper opened this issue Aug 23, 2020 · 11 comments
Closed
1 of 3 tasks
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists mirrored-to-jira This item is also tracked internally in JIRA

Comments

@pathmapper
Copy link

pathmapper commented Aug 23, 2020

Avoid duplicates

  • Bug is not mentioned in the FAQ
    Bug is mentioned but according to the FAQ it should be gone after 24 hours which is not the case.
  • Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
  • Bug is not already reported in another issue
    I'm not sure.

Describe the bug

Since two days CWA doesn't update risk status despite the ENF gets daily updates.
CWA doesn't update risk status - error 39508 still there after > 24 hours

Here's a screen recording from today Aug 23:
20200823_064258.zip

Expected behaviour

CWA updates risk status using the latest ENF data.

Technical details

Model: Motorola Moto G 3
OS: Android: 6.0.1
CWA: 1.2.1
ENF: 16203302004


Internal Tracking ID: EXPOSUREAPP-2339

@pathmapper pathmapper added the bug Something isn't working label Aug 23, 2020
@pathmapper pathmapper changed the title CWA doesn't update risk status - error 39058 still there after > 24 hours CWA doesn't update risk status - error 39508 still there after > 24 hours Aug 23, 2020
@pathmapper
Copy link
Author

Update:
Yesterday I've switched the phone off and today, after more than 26 hours, I turned it on again.
Now everything is fine again, the risk status of the CWA has been updated.

For me the issue is solved, please feel free to close this issue (might still be something wrong with the risk status update routine, as the issue described above existed for >24h).

@daimpi
Copy link

daimpi commented Aug 24, 2020

You might have experienced the same as this user here. They also had their app closed for 24h and the first time the problem didn't disappear. But after doing it for a 2nd time the issue was fixed…

Not really sure why it sometimes only seems to work the 2nd time 🤷.

Feel free to close the issue 🙂.

@MikeMcC399
Copy link
Contributor

The Google documentation: API for Exposure Notifications, Implementation Guide has an interesting section Best practices for background work including the following note:

Note: The periodic work execution time is not precise and depends on the constraints applied to the WorkRequest and on the power restrictions of the devices (such as if it is in Doze mode). Read more at Power management restrictions.

If the Android device is not connected to a charger then doze mode may cause background tasks to be delayed significantly. When I accidentally left a mobile phone running unattended for several days without being connected to a charger it also ran into the 39508 error - see #1030 (comment)

I am guessing that Doze mode may also delay recovery from the 39508 error. It would be interesting to see if connecting to a charger helps recover from 39508. Too late for this test on the device from @pathmapper though, since it has already recovered,

@ghost
Copy link

ghost commented Aug 25, 2020

Hello @pathmapper,

thank you for reaching out to us!
I just checked your video and took the following screenshot:
image.
Besides the error description, which points to https://www.coronawarn.app/de/faq/(39508), we have the error message which says Cause 3/Ursache 3, something went wrong/etwas ist schiefgelaufen.

I will contact our development team to help you as fast as possible.

Thank you,
LMM

Corona-Warn-App Open Source Team

@ghost ghost assigned JoachimFritsch Aug 25, 2020
@ghost ghost added the mirrored-to-jira This item is also tracked internally in JIRA label Aug 25, 2020
@NKarolak
Copy link

NKarolak commented Aug 25, 2020

I am facing this issue too. Until recently, my app ran always fine; the data update in the background worked also well.

Chronology:
3 days ago, I opened the app while my internet connection was poor for a moment. The start screen was frozen, then the error was raised.
Out of curiosity ;-) , I've opened the app earlier than 24 hours later.
After that try, I've waited more than 24 hours before opening again, and it still does not work.
Note also that I shut down my phone every night.

grafik

Settings: everything is on.
grafik

Details:
grafik
grafik

Technical details

Model: Samsung Galaxy S10e
OS: Android: 10
CWA: 1.2.1
ENF: 16203302004

@marcohabeck
Copy link

Same Problem..
BQ Aquaris X Pro Android 8.1.0

@ghost
Copy link

ghost commented Aug 26, 2020

@NKarolak and @marcohabeck,

thanks for sharing. @NKarolak this looks similar to #1030. Both issues have been addressed at the development team for further investigation.

Thank you,
LMM

Corona-Warn-App Open Source Team

@pathmapper
Copy link
Author

Note also that I shut down my phone every night.

This is also what I did last night. I turned it on today around 08:00 am and now

Ursache 3 / 39508

is back again. CWA shows last update yesterday, 11:56 am.

Anyone has an idea why Ursache 3 / 39508 appears in this scenario?

I'm curios if the error is gone after 24h, I'll keep you informed.

@svengabr
Copy link
Member

Hello everyone,

thank you all for your feedback so far. Since there are currently several issues with exactly the same problem, I need to close this issue to move the discussion to a central place.

Please continue the discussion here: #1021

I will link the existing findings in Jira so the information on this ticket wont get lost.

Best regards,
SG

Corona-Warn-App Open Source Team

@svengabr svengabr added the duplicate This issue or pull request already exists label Aug 26, 2020
@svengabr
Copy link
Member

Duplicate of #1021

@svengabr svengabr marked this as a duplicate of #1021 Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists mirrored-to-jira This item is also tracked internally in JIRA
Projects
None yet
Development

No branches or pull requests

7 participants