"Limit already reached" error after future date set then return to current date
See original GitHub issueAvoid duplicates
- Bug is not mentioned in the FAQ
- Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
Technical details
- Device name: Samsung Galaxy A52 5G (SM-A526B/DS)
- Android version: 12
- App version: 2.22.1
- Issue continues unresolved in version: 2.23.2
Note: The issue is not reproducible on Android 8.
Describe the bug
App does not stop exposure check taking place when date incorrectly set to future before installation. After correcting the date the app risk tile first shows the error message "“Exposure check failed.”. This changes after an hour to a green risk tile. After a further 5 hours have elapsed the error “Limit already reached” error message appears. This error message continues to show, even into following days, until the device’s clock has progressed to reach the original future date.
Steps to reproduce the issue
- Set device date to two days into the future
- Uninstall CWA (if already installed)
- Install CWA
- Open CWA
- Tap “Let’s Get Started”
- Tap “Next”
- Tap “Activate Exposure Logging”
- Tap “Turn on”
- Tap “Next”, tap “Next”
- Tap “Do Not Share”
- Tap “OK”
- Tap “Allow”, disable optimized battery usage for Corona-Warn (device specific)
- Dismiss QR Code Scanner pop-up by tapping on “X”
- Note “Exposure check failed, with timestamp Today”
- Tap “Restart”
- Note that this does not change the status
- Leave CWA open and set the date correctly to today (or automatic)
- Tap “Restart”
- Note “Exposure check failed, with timestamp of previously set future day”
- Close and re-open the app at hourly intervals. If “Exposure check failed.” appears, then tap “Restart”. Two hours after initial installation, a green Low Risk tile is shown. (Alternatively just wait for 5 hours.)
- On the 6th re-open an error message appears: “Limit already reached”.
- (Android) Settings > Google > COVID-19 Exposure Notifications > three-dot symbol > Exposure checks shows 5 checks from the current day and one check from the future day.
Open the app again the next day. The error message “Limit already reached” still appears.
Expected behavior
- The app should prevent an exposure check from taking place if the date does not match the server date.
- With the “Exposure check failed” status an error message should be shown that the reason for this failure was an incorrectly set time.
- Also, if an exposure check is allowed to happen, then the app should recover and start carrying out exposure checks when the date is corrected.
- If “Limit already reached” appears, then this condition should clear automatically after 24 hours.
Additional information
- Recovery is possible by resetting the app
- To clear the wrong exposure check history in the Google log it is necessary to uninstall and re-install the app
- There is no FAQ article covering this situation. https://www.coronawarn.app/en/faq/results/#limit_reached says the device will recover after 24 hours
- Google Exposure Notifications API modes documentation specifies
provideDiagnosisKeys
quota - Six per day (counter resets at 00:00 UTC)
Internal Tracking ID: EXPOSUREAPP-9077
Issue Analytics
- State:
- Created a year ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Unable to set Future Date Time in Salesforce UI or Code
From documentation: Maximum date and year values accepted by Salesforce: Salesforce can accept dates between Jan 1, 1700 and December 31, 4000.
Read more >Disable date and time for antd DatePicker - Stack Overflow
For disabling dates, the disabledDate prop can be used. ... Can not select days before today and today return current && current.
Read more >How to Fix the 508 Resource Limit is Reached Error - Kinsta
This error is triggered at the server level and can be caused due to various factors, including excessive strain on server CPU and...
Read more >Validation Rule to Prevent Entering a Future Date - YouTube
If you are not supposed to be able to save a record with a future date entered on a field, this validation rule...
Read more >How do I use the date-based trigger and actions in an ...
This condition means that contacts will queue in your wait action or achieve your goal once the date in their field matches the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MikeMcC399 Thanks for the feedback, Unfortunately I can’t share the whitelisted account publicly. Probably I can provide a signed testing APK with the first RC of 2.27.0
@MikeMcC399 I opened a PR linked above to potentially fix these issues, can you verify if it resolves them?