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

Error during exposure logging / EN Code: 16 #1000

Closed
tibor opened this issue Aug 4, 2020 · 47 comments
Closed

Error during exposure logging / EN Code: 16 #1000

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

Comments

@tibor
Copy link

tibor commented Aug 4, 2020

I got an alert with the following message today:
An error occured during exposure logging. EN Code: 16

Tapping on „Learn more“ wouldn’t do anything except closing the alert popup.

IMG_6391

Is there anything I would need to do as a user?


Internal Tracking ID: EXPOSUREAPP-2018

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Aug 4, 2020

Which version of iOS are you running?

@tibor
Copy link
Author

tibor commented Aug 4, 2020

iOS 13.6 and Corona Warn App 1.1.2

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Aug 4, 2020

@GPclips could you help here please?

@ghost
Copy link

ghost commented Aug 5, 2020

Hello @tibor,

thanks for sharing. I will contact the development team and label it as a bug, to make sure this will be handled as soon as possible.
Meanwhile, I like to ask you to explain the steps to reproduce the issue, even if it is just that you have opened the app.

@Ein-Tim thanks for your great support!

Best Regards,
LMM

Corona-Warn-App Open Source Team

@ghost ghost added bug Something isn't working mirrored-to-jira This item is also tracked internally in JIRA labels Aug 5, 2020
@tibor
Copy link
Author

tibor commented Aug 5, 2020

Steps to reproduce: I'm not entirely sure, but I think I opened a push notification from the app and got this in app alert. It's either this or I manually opened the app.

@haosap
Copy link
Member

haosap commented Aug 6, 2020

Hi @tibor ,
Thanks for your report. Does the Error 16 occurs every time, once you open the app? Or only occurred once..

@tibor
Copy link
Author

tibor commented Aug 6, 2020

@haosap for now only once

@ghost ghost assigned ghost and haosap Aug 6, 2020
@haosap
Copy link
Member

haosap commented Aug 6, 2020

If it only occurs once, I think it is pretty hard to reproduce.
I suggest putting in on hold.

@haosap haosap added the on hold label Aug 6, 2020
@yannikbloscheck
Copy link

I had the same issue today. I just manually opened the app. It apparently also just refreshed. So there might be a relation there.
The second bug is that tapping "Learn more" just closes the alert and nothing more. This actually might scare and confuse normal users. Nobody wants to hear that "something went wrong" with a sensitive health thing and then the "Learn more" button doesn't even work.
It occurred on iOS 14 Developer Beta 4 with the app version 1.1.2. It just occurred once, but, if I remember, I will open the app tomorrow evening again around the same time when the daily refresh should happen and check if it does happen again.

@yannikbloscheck
Copy link

Couldn't reproduce it today, but given the error explanation in the Apple documentation (if I guessed right and it's the actually framework error code) it should not be forwarded to the user, but simply handled by the app (for example retrying after a few seconds).

@Tho-Mat
Copy link

Tho-Mat commented Sep 1, 2020

Got the same:
2020-09-01 at 06 44
If i look in the exposure log it shows the same time.
Yesterday there was no update.
The update before today was on the day before yesterday at 22:46

@DerLobi
Copy link

DerLobi commented Sep 3, 2020

Got it after opening the app (I don't open the app regularly, only every now and then).
Tapping on "Find out more" does nothing.
Can not reproduce when killing and reopening the app.

The UI shows "Updated at 11:02", the same time as when I opened the app, so the error could maybe be related to the sync.

iOS 14 beta 6
Corona Warn App 1.2.1 (0)

IMG_2709

@Ben305
Copy link

Ben305 commented Sep 3, 2020

Seeing exactly the same @DerLobi

@sin-azucar
Copy link

I experienced this error as well a few days ago. It seemed to have no effect, though. The app updated itself as I tapped "Find out more" which is a no-op, as others have mentioned.

Even if it's not easily reproducable, I think we can agree that it can be handled better:

  • The fact that tapping "Find out more" does nothing is definitely a bug
  • According to Apple, error 16 means:

ENError.Code.dataInaccessible
The user must unlock the device before it can access data.

(source: https://developer.apple.com/documentation/exposurenotification/enerror/code/datainaccessible)

It seems strange to me that the device must be unlocked for Exposure Detection to take place (this again defeats the functionality of the background job).

IMHO this should be clarified with Apple. In any case it's not helpful displaying this error to the user who - at this point - obviously has unlocked the device already. 😉

@git4me8you
Copy link

git4me8you commented Sep 6, 2020

Hi, same issue here - iPhone SE (old) - latest iOS, latest corona warn app - error occurred under 13.6.1 and re-occurred after ios update to 13.7 and seems to be correlated with massive battery consumption (draining 25%+ of remaining battery charge over night in both cases). Might be stuck at attempt to connect for data update over night, supported by observation that server data was only updated after actually accessing application. Not observed, yet, with iPhone SE 2020. Update: just checked, it seems app was updated yesterday, so it seems the bug survived the update.

@svengabr
Copy link
Member

svengabr commented Sep 7, 2020

Thank you, everyone, for the additional feedback. The internal Jira ticket was updated with your additional information.

Best regards,
SG

Corona-Warn-App Open Source Team

@kaibader
Copy link

kaibader commented Sep 15, 2020

Seems like I just got the same error message in my App a few minutes ago...
iOS 13.7 (iPhone Xs); App Version 1.3.0 (6)
I tried clicking onto "Mehr Erfahren" but nothing happened, the message disappeard and it didn't reappear so far.

Best regards,
Kai

Code16

@m33x
Copy link

m33x commented Sep 25, 2020

iOS 13.7 CWA 1.3.0 iPhone XR

I opened the app manually (as I do every day) and I got this. It’s not the first time either.

8A2B622C-42BD-4A64-85C9-312D28FFED9C

@ghost ghost assigned marcussc and unassigned ghost Sep 29, 2020
@m-rossi
Copy link

m-rossi commented Oct 3, 2020

I also got this error today after opening the app.
iPhone X, iOS 14.0.1, CWA 1.3.2

IMG_2559

The app refreshed the same moment that error appeared.

@sfaxiaberlin
Copy link

Hi, I had the same error message today and want to know what it means please. Using iPhone 8 iOS 14.0.1
4A8D7B05-896B-4CA2-A1E9-42C8DF9B62B3

@ndegendogo
Copy link
Contributor

@sfaxiaberlin do you remember the context when this error message popped up? Did you just open the app before? Did you return from a submenu? Or was the app just open and you were looking at the status? Do you remember if the screen was locked?

And: could you please give your cwa version as well? Thanks.

@sfaxiaberlin
Copy link

Version 1.3.2 (0)
I opened the App and the error occured. It was not possible to click "Mehr erfahren". I open the App every day to check my amount of contacts with no risk

@ndegendogo
Copy link
Contributor

Disclaimer: I am not one of the project maintaimers here

@sfaxiaberlin Thanks.
The meaning of EN error 16 is explained here, including a link to the original iOS documentation.
To me it looks like a race condition during start of the app. As you open the app daily, but don't get this message regularly, I would not worry too much. Of course, such a message is not nice, and the app should give more explanations to the user (or retry silently, as was already suggested). On the other hand, this is not the highest-prio issue.

Maybe you could investigate one more detail, and check the timestamps of your checks in the ENF log file. Was the time of this error message preceded by any unexpected pattern, like overly long delay of the check?

@ndegendogo
Copy link
Contributor

for this target audience "Find out more" shouldn't be just empty

@Nungu fully agreed. Feel free to upvote #1353

@ndegendogo
Copy link
Contributor

Thanks a lot @dsarkar

@dsarkar
Copy link
Member

dsarkar commented Dec 1, 2020

FYI, PR #1608.

Best wishes,
DS


Corona-Warn-App Open Source Team

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 1, 2020

Although this will be fixed by #1608, I will quickly tell you what I found in the Log file. @Nungu

The log does not contain any checks which were stopped, so I think the EN Code: 16 doesn't even have any influence on a Risk-Check.
So hiding this Error is the best solution 👍

@ndegendogo
Copy link
Contributor

Wow - this was fast! 😀😀😀
Thanks again, @dsarkar.

@dsarkar
Copy link
Member

dsarkar commented Dec 2, 2020

@ndegendogo, thanks! We will forward this also to the developers! Best wishes,
DS


Corona-Warn-App Open Source Team

@techniker
Copy link

Same error here. "Find out more" only closes the dialog.

@dsarkar
Copy link
Member

dsarkar commented Dec 2, 2020

Hi @techniker, Thanks for reporting. This problem is resolved and the solution will be implemented in a future release.
Best wishes,
DS


Corona-Warn-App Open Source Team

@techniker
Copy link

Hi @techniker, Thanks for reporting. This problem is resolved and the solution will be implemented in a future release.

Best wishes,

DS


Corona-Warn-App Open Source Team

Thanks! :)

@dsarkar dsarkar removed the on hold label Dec 5, 2020
@dsarkar
Copy link
Member

dsarkar commented Dec 5, 2020

@techniker, this should solve it #1000 (comment).

@dsarkar dsarkar added the in progress The issue is currently being resolved label Dec 9, 2020
@Ein-Tim Ein-Tim mentioned this issue Dec 9, 2020
2 tasks
@Ein-Tim
Copy link
Contributor

Ein-Tim commented Dec 17, 2020

Fixed with version 1.9.1.

@dsarkar
Copy link
Member

dsarkar commented Dec 18, 2020

Dear community,

Thank you for all your contributions. As @Ein-Tim says, this issue is fixed now. Thanks again! Best wishes, DS


Corona-Warn-App Open Source Team

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