corona-warn-app / cwa-app-android

Native Android app using the Apple/Google exposure notification API. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
2.44k stars 495 forks source link

Major data usage (2,25GB mobile data in one month) #4753

Closed dadosch closed 2 years ago

dadosch commented 2 years ago

Avoid duplicates

Technical details

Describe the bug

The CWA used 2.25 GB (!) of mobile data in 28 days. Usage in WiFi is unknown.

Steps to reproduce the issue

Expected behaviour

The data usage should not be this high.

Possible Fix

Additional context

gv-3lbtuRo6e98_MNUuP_g_14331af7bd541d962c415788dbb92e202b14be8e KqZf_em7QwisSN2pbc7_ug_ad2d07a0fafb96dea800381817fd31fe2b378d90


Internal Tracking ID: EXPOSUREAPP-11611

vaubaehn commented 2 years ago

@dsarkar

Dear Dipankar, please have an eye on Google Play Store reviews, whether such questions will come. In case, could be good to prepare the support team (and technical hotline) for adequate answers.

See Google Play Store Review https://play.google.com/store/apps/details?id=de.rki.coronawarnapp&reviewId=gp%3AAOqpTOFoxzyLqrS7NVdrj98sNpOtUL7V0XN6A5veCJOup5zwT--jZprw2uCcne8wiYOEI0iH5qanELslTnLKrg

Thank you ❤️

Jo-Achim commented 2 years ago

I think it's time to say a special thank you to everyone who found, described, experimented with, etc. this problem and finally found and implemented a solution. Especially to @vaubaehn.

dsarkar commented 2 years ago

@vaubaehn Thanks, we have seen that one actually, preparing FAQ.

mlenkeit commented 2 years ago

I think it's time to say a special thank you to everyone who found, described, experimented with, etc. this problem and finally found and implemented a solution. Especially to @vaubaehn.

I can only second that, thanks a lot on behalf of the team to you all of you for the thorough analysis and relentlessly pushing this topic!

dsarkar commented 2 years ago

@vaubaehn FYI - PR https://github.com/corona-warn-app/cwa-website/pull/2581

Ein-Tim commented 2 years ago

@dadosch

Could you please check whether this issue has been fixed for you, and if yes, close this issue?

dadosch commented 2 years ago

Yes, I can confirm it no longer seems to appear. Thank you all for analysing, identifying, insisting on and finally solving this issue 🎉

vaubaehn commented 2 years ago

Hi @mtwalli , there are some reports in Google Play Store reviews, that "Risiko-Ermittlung" is not working since "a couple of days", even when hotfixes 2.19.1/2.19.2 are installed. My idea is, that a slow device that already had problems to finish provideDiagnosisKeys() with ENF-returned success before the hotfix, still has the problem to achieve a successeven with hotfix 2.19.1, as for the very first provision with delta-functionality one last time all available DK packages need to be provided (to then be able to create the delta). That would mean, as soon as DK packages are small enough that the "device gets them through to ENF once" there shouldn't be any problem anymore in the future.

Here is one example review: https://play.google.com/store/apps/details?id=de.rki.coronawarnapp&reviewId=gp%3AAOqpTOE7RrVyj1aL2e1d7yz9-ruEvgrqc-MKVrlYtWA8kQ2F0ZTlRWsXG5FWHbcLPkEXET8qc42adtGX8F0WzA

Could you kindly look into the error report with ID 9641A3BE1579D4DE0F95 and confirm, that due to timeout ENF does not return successafter provision of DK packages? If this is the case, Google Play Store support team could respond that a fix is already installed and the device will recover itself in "some days".

thomasaugsten commented 2 years ago

The log shows timeout but also success. This user should see a current calculation

[TrackedExposureDetection(identifier=696b0456-2e5b-4aff-8352-ff8247666cbf, startedAt=2022-03-26T02:30:52.915Z, result=TIMEOUT, finishedAt=2022-03-26T05:42:32.975Z, enfVersion=V2_WINDOW_MODE), 
TrackedExposureDetection(identifier=feff6aa2-4c36-41ee-bd34-97dc08fb8558, startedAt=2022-03-27T02:42:14.586Z, result=TIMEOUT, finishedAt=2022-03-27T05:08:14.695Z, enfVersion=V2_WINDOW_MODE), 
TrackedExposureDetection(identifier=99849abc-32bd-4047-9fd3-c79f39da26fb, startedAt=2022-03-28T02:49:35.023Z, result=TIMEOUT, finishedAt=2022-03-28T05:33:39.886Z, enfVersion=V2_WINDOW_MODE), 
TrackedExposureDetection(identifier=dcb67a18-5398-4a32-a1c7-c180b66a0180, startedAt=2022-03-29T01:14:06.960Z, result=TIMEOUT, finishedAt=2022-03-29T01:30:25.292Z, enfVersion=V2_WINDOW_MODE), 
TrackedExposureDetection(identifier=24c9a676-c372-48e6-93f4-160a8de5f3e4, startedAt=2022-03-29T06:11:40.279Z, result=NO_MATCHES, finishedAt=2022-03-29T06:11:41.807Z, enfVersion=V2_WINDOW_MODE)]
vaubaehn commented 2 years ago

Thanks @thomasaugsten . Looks like the user was on "mobile mode", with only one provision per day. And yes, since this morning he should be able to see an updated risk tile. @dsarkar , do you have the possibility to initiate a communication in some way (e.g., via Play Store) whether the risk tile is now updated? If the response is "yes", then due to the hotfix 2.19.1 the issue should be solved for him in the future. Edit: You will find the user via the link in https://github.com/corona-warn-app/cwa-app-android/issues/4753#issuecomment-1081875445

vaubaehn commented 2 years ago

Hi @dsarkar , would it be possible to initiate a follow-up with a user in Google Play Store to rule out any problems with hotfix 2.19.1, like asked here: https://github.com/corona-warn-app/cwa-app-android/issues/4753#issuecomment-1081890580 with reference to here: https://github.com/corona-warn-app/cwa-app-android/issues/4753#issuecomment-1081875445 ? That would be good, thanks in advance!