-
Notifications
You must be signed in to change notification settings - Fork 496
Exposure logging is not possible / Exposure logging active due to Background Job being killed from Manufacturer Battery Optimisation #637
Comments
Update: seems to work again (after playing around intermittently with the app for 10-20 minutes). Backend server issues? Leaving this open since backend server issues should be explicitly marked as such. Instead, it looks like something on my device was not working properly, which means it is at the very least a UX bug. |
Hi @mueslo, thank you very much for reporting this! We are currently investigating this issue and will come back to you as soon as possible. If you can provide us with additional details, it might help a lot to identify the root cause for this behavior: Thank you very much and best, |
Same problem here with a Xiaomi Mi 9 Lite. Mine is showing "Risk calculation not possible", "Last updated on Monday", but the update should have happened yesterday see also #590 Edit: I didn't change anything on my phone settings since maybe January. Edit 2: I restarted my phone and now it is again showing "Niedriges Risiko". Seems to work for the moment. |
@mbw83 thanks for the reporting this and the follow-up, it's much appreciated and |
Have the same issue with Huawei Mate 20 Pro (installed since tuesday, info widget that risk calculation is inactive, please activate, but on second screen is still active (since 2 days)). Probably caused by the battery settings for the app. I have reinstalled the app and deactivated auto settings. I will report tomorrow |
I have the exact same issue on a Samsung Galaxy S7, Stock Android 8.0.0. Trying to activate or deactivate the power saving mode doesn't affect this issue. |
None of the above. However, I do know that MIUI has very strict battery saving behaviour by default (i.e. apps in the background will be killed/put to sleep after a while, e.g. if you want to use a GPS logging app you need to manually set exceptions so your GPS tracing doesn't suddenly stop after 5 minutes). I have currently not set any special behaviour for Corona-Warn. Can you tell me more about what you believe error means? Does the app need to stay on for logging to work? (I was under the impression BLE public key collection is handled in the background by the Android system exposure framework itself) Or does the error mean it could not get the newest list of public keys from the servers? If you like I can keep my phone with my current settings and see if it reoccurs, and then manually disable "MIUI optimized battery saving" and see if it occurs again. I think I need to wait 24h every time for it to reoccur though. Please let me know if you require any other information. Edit: These are the standard settings in MIUI: https://i.imgur.com/CDfOCZ4.png https://i.imgur.com/EksCjUY.png |
I have the same issue with a Samsung Galaxy S10, I have added the App to the list of apps, that shall not be put into standby. I have been in energy-saving-mode. If you need any more info, im happy to provide it. Best regards --- edit |
@ all Thanks again to all of you! |
I can also confirm. My first guess would be that the strict battery manager stops the background functions. But I see you guys are already on the issue. |
Same issue here on a Huawei Honor 20 Lite. Installed Tuesday morning, on Wednesday morning it showed me "Low Risk", when I looked this evening, I noticed the problem. I first thought it was due to the GoPro app yesterday fiddling around with Bluetooth settings. But then I noticed "RISIKO-ERMITTLUNG AKTIV", "Risiko-Ermittlung nicht möglich" and a button "RISIKO-ERMITTLUNG AKTIVIEREN" on the same screen, which is contradicting itself and thus very bad UX. Version is still 1.0.0, I will update now. |
Same issue here with redmi note 7. I already tried the suggestions you mentioned but I still can't see my infection risk. |
Same on Xiaomi Mi Note 10 Lite/Pro. Reboot does not fix the issue. |
Same here iPhone 7 Plus. Reboot and changing Corona App "Risko-Ermittlung" off and on, doesnt solve the problem. |
Hi @marcmuschko, would it be possible to say what the problem is in a few words and reference the branch (if public) that you are working on? It's nice for the community to be in the loop and not just get notified once the fix is rolled out. |
It sounds to me like the background "infected" key lists are not retrieved if the app is put to sleep or killed (which many ROMs do). I really hope key broadcast and collection are still working though... But I believe that is handled by the Android exposure subsystem so hopefully it is fine. So yeah, I too would appreciate a short outline of what the current working theory is. |
Same Problem with Xiaomi Mi 9 running Android 10. |
I have the same problem with a Xiaomi Redmi Note 8T running Androidversion 9PKQ1.190616.001. |
Sry, i found my problem. The App Version was 1.0.0. |
The issue is also found here on a fully updated Huawei Mate 10 Pro (Android 10, EMUI 10.0.0, Play Services 20.18.17) with CWA V1.0.2. It is fully unclear whether the App is actually working or not. Nothing changed. Only thing I remember was acting as usual and turning off Bluetooth some hours ago (but immediately re-enabling it after CWA gave me a warning) and that CWA was (automatically) updated some time yesterday. Maybe of interest:
EDIT: The issue appears to be resolved now although I have not altered a thing. Since this happens without interaction with the user (and without a visible warning), it is certainly critical to get that sorted out (also given the number of reported/confirmed cases). |
Same issue with Galaxy S10e (Android 10, One UI Version 2.1, SecurityPatch 1.6.2020) Solution found for Samsung S10e:
Alternative(in Test): Add 'Corona-Warn' to list 'Nicht in Standby versetzte Apps' |
Same problem with Huawei p20 pro. The quick solution seems to be:
|
Same problem here with my Huawei P30 Pro. |
Similar problem on Samsung A3 2017 Android 9. No Risk-Update since 18.6.2020 7:48. Shows button to enable Risk-Assessment, but when clicked, shows the enable switch in on position. |
I had the same problem on Samsung Galaxy S10+. However, found that an update was available in Google Play store (from 20 June, had apparently not updated automatically), and now the issue is gone and everything working again. |
Related to https://www.coronawarn.app/en/faq/#no_risk_update Afaik it is possible to show a dialog to the user to disable battery optimization: https://developer.android.com/reference/android/provider/Settings.html#ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS However, the setting does not "help" with vendor-specific battery optimizers. |
Auf Basis der bisherigen Tipps habe ich es jetzt auch für mein Samsung M20 die Möglichkeit gefunden, die Corona App wieder zum Laufen zu bringen: Einstellungen => Gerätewartung => Akku =>Energieverwaltung von Apps Dort gibt es einen pauschal wirkenden Schalter „Standby für nicht verwendete Apps“, der bei mir gesetzt war; darunter gibt es dann eine Auflistung von Apps im Standby, und nachdem ich die Corona Warn App explizit auf „Nicht in Standby versetzen“ gestellt hatte und das Gerät neu gestartet habe läuft jetzt alles problemlos und aktualisiert auch.
Von: Robert Redl [mailto:[email protected]]
Gesendet: Sonntag, 21. Juni 2020 18:08
An: corona-warn-app/cwa-app-android
Cc: gbhajda; Comment
Betreff: Re: [corona-warn-app/cwa-app-android] Exposure logging is not possible / Exposure logging active (#637)
Auf dem Samsung A3 2017 funktioniert für mich folgendes:
Einstellungen => Apps => Corona-Warn => Akku => Akkuverbrauch optimieren => Alle Apps => Corona-Warn deaktivieren.
Nach dem Ändern dieser Einstellung wurde direkt wieder ein Risiko angezeigt. Davor ging es zwei Tage lang nicht.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#637 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQA3WLI53EGTQ3HUQNCSOELRXYV6DANCNFSM4OBP5J5A> . <https://github.com/notifications/beacon/AQA3WLIBM3PUONIDHWWCNZTRXYV6DA5CNFSM4OBP5J5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE2JK7LY.gif>
|
It exists an unresolved Android bug for this issue that is being ignored by Google for more than 1.5 Years now: https://issuetracker.google.com/issues/122098785 |
Hi, I'm facing the same issue. I'm using a Huawei P30 Pro. Please let me know if you need more details. Kind regards |
cschoenle wrote:
Found this update today, didn't install automatically on my phone, but did the trick after installing it manually! |
Samsung Galaxy A3 (2017) with android 8: I tried all the workarounds with the battery standby mode and disabling the optimization, update to version 1.0.2, none of this worked. I now manually updated the app to the latest version 1.0.4 (the app did not update automtically), and now it's working again. |
Probably because with 1.0.3+ the app is getting updates also on app start (#660). It's possible that the problem still exists, if the app is not opened manually. Does anyone know which downsides this approach has? |
to Change the battery Settings didn't work for me. Today I had the Chance to update the app to the newest Version, it was not possible before, now the app works again |
Same on Samsung Galaxy Note 9 |
[Info:] „Risiko-Ermittlung nicht möglich“ und „Risiko-Ermittlung einschalten“ bei „Risiko-Ermittlung Aktiv“… Scheinbar verhindert die eingeschaltete Option „Datensparer“ die korrekte Risiko-Ermittlung. Nach Ausschalten der Option „Datensparer“ und erneutem Aufruf der CWA funktioniert die Risikoermittlung wieder; d.h. das ermittelte Risiko wird angezeigt. [Info:] "Risk determination not possible" and "Activate risk determination" when "Risk determination active" ... Apparently the activated option "Data saver" („Datensparer“) prevents the correct risk determination. After switching off the "Data saver" („Datensparer“) option and opening the CWA again, the risk determination works again; i.e. the determined risk is displayed. |
Fix for iPhone users (I am using iPhone XS Max)
|
I confirm that @svengabr 's comment fixes the issue for iPhone users. I had this issue since day one when the app was released; it rendered the app useless for me and it wasn't fixed until now (I have the latest version of the app). The average user would not attempt to find a solution for this issue here on Github. This requires an immediate fix with a warning message that redirects to the correct settings menu (as detailed above), if background app refresh is disabled. Currently, the warning message redirects to the general app settings, where background app refresh is enabled, but greyed out, since the global background app refresh was turned off. This is misleading. |
@FabianFalck agreed. I see quite a few users still experiencing this issue. It seems to get tracked here currently btw 🙂. |
I have the same problem. I am not able to use the app. After deleting and reinstalling the app works for some time. I assume this has to do with disabling and enabling bluetooth/air plane mode. |
Hello community, This issue has been fixed (Release 1.3) and will be closed now. Thanks, Corona-Warn-App Open Source Team |
Describe the bug
Status bar below the title bar tells me "EXPOSURE LOGGING ACTIVE". The main content of the app tells me
Pressing on ACTIVATE EXPOSURE LOGGING brings me to a screen which tells me Exposure Logging is already active. (checkbox is set to 'Active', subtext says "Exposure logging has been active for 2 days. [...]". I also tried disabling and re-enabling it.
Going back to the main screen (or killing the app and reopening it) yields the same state.
When initially installing it on Tuesday, 16.06. it seemed to work fine (Unsure about version, possibly 1.0.0?) and on Wednesday gave me a status of "Low Risk", so it seemed to be working. Yesterday afternoon I also updated to 1.0.2 via Google Play Store. However, I cannot tell if it is really due to the updated version or some other cause.
Expected behaviour
Exposure logging works or consistently tells me it doesn't work and for what reason. I'm getting mixed signals here.
Steps to reproduce the issue
Screenshots are disabled in the app.
Technical details
Additional context
Bluetooth and location services are enabled. The phone supports BLE.
Internal Tracking ID: EXPOSUREAPP-1592
The text was updated successfully, but these errors were encountered: