Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corona Warn App "Fehler bei der Kommunikation mit der Google Schnittstelle" #1171

Open
hubbty opened this issue Sep 11, 2020 · 10 comments
Open

Comments

@hubbty
Copy link

hubbty commented Sep 11, 2020

I don't know if this does really matter, but I report here just in case. Please see the screenshots of the details given by Corona Warn App.

My system:
lineage-16.0-20200816-microG-cheeseburger
microG Services Core 0.2.12.203315 from F-Droid
de.rki.coronawarnapp_v37 from Aurora store (in app information "Version: 1.3.0")
Please let me know if you need further information.

@Nanolx
Copy link
Contributor

Nanolx commented Sep 11, 2020

Delete the app data of Corona Warn App and re-setup, that should do the trick. Additionally, you may need to have Fake Store installed.

@hubbty
Copy link
Author

hubbty commented Sep 11, 2020

Fake Store had already been installed when this error occurred (I think it comes with LineageOS for microG).

I deleted app data and did the re-setup, as you have suggested. There was no error message this time. But I should add to my previous post, that this error had not arrised immediately after installation and first start of the app, but only after I had force-stopped it and started it again later.

@Nanolx
Copy link
Contributor

Nanolx commented Sep 12, 2020

I see, in case it happens again a logcat from the error message would be helpful, to see the full error log.

@Nanolx
Copy link
Contributor

Nanolx commented Sep 13, 2020

I had the message appear aswell today, but got rid of it by tapping on the "Risikostatus" tile to load detail view and then it correctly synced with RKI and the message was gone and everything fine.

Will collect a logcat with the message pops up again.

@Tentos
Copy link

Tentos commented Sep 23, 2020

The error message has appeared several times in the last days, unfortunately. However, checking the exposure notification keys seems to have worked after several retries.

My logcat with the error notification:

09-23 07:48:26.433 26614 26619 I art     : Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
09-23 07:48:26.555 26614 26614 W System.err: com.google.android.gms.common.api.ApiException: 8: 
09-23 07:48:26.557 26614 26614 W System.err: 	at android.support.v4.media.MediaDescriptionCompatApi21$Builder.setResultOrApiException(MediaDescriptionCompatApi21.java:3)
09-23 07:48:26.557 26614 26614 W System.err: 	at com.google.android.gms.internal.nearby.zzah.zza(com.google.android.gms:play-services-nearby@@18.0.3-eap:1)
09-23 07:48:26.557 26614 26614 W System.err: 	at com.google.android.gms.internal.nearby.zzbl.zza(com.google.android.gms:play-services-nearby@@18.0.3-eap:3)
09-23 07:48:26.557 26614 26614 W System.err: 	at com.google.android.gms.internal.nearby.zza.onTransact(com.google.android.gms:play-services-nearby@@18.0.3-eap:3)
09-23 07:48:26.557 26614 26614 W System.err: 	at android.os.Binder.execTransact(Binder.java:565)

There seem to be related messages in the logcat. This seems to be a successful check of exposure notification keys:

09-23 07:48:31.125 30382 26690 D ExposureNotification: Sending Intent { act=com.google.android.gms.exposurenotification.ACTION_EXPOSURE_NOT_FOUND pkg=de.rki.coronawarnapp (has extras) }
09-23 07:48:31.145 30382 26709 D ExposureNotification: Importing keys from file Sun Sep 13 02:00:00 GMT+02:00 2020 to Mon Sep 14 02:00:00 GMT+02:00 2020
09-23 07:48:37.080 30382 26709 D ExposureNotification: de.rki.coronawarnapp/<key removed> provided 4977 keys in 5.984s -> 831.718 keys/s
09-23 07:48:37.169 30382 26709 D ExposureNotification: Processed 0 new keys in 0.08s -> 0.0 keys/s

On the other hand, an error happened here:

09-23 07:48:14.727 30382 26532 D ExposureNotification: Sending Intent { act=com.google.android.gms.exposurenotification.ACTION_EXPOSURE_NOT_FOUND pkg=de.rki.coronawarnapp (has extras) }
09-23 07:48:14.758 30382 26569 D ExposureNotification: Importing keys from file Wed Sep 16 02:00:00 GMT+02:00 2020 to Thu Sep 17 02:00:00 GMT+02:00 2020
09-23 07:48:20.825 30382 26569 D ExposureNotification: de.rki.coronawarnapp/<key removed> provided 10235 keys in 6.169s -> 1659.102 keys/s
09-23 07:48:20.996 30382 26569 D ExposureNotification: Processed 0 new keys in 0.163s -> 0.0 keys/s
09-23 07:48:21.070 30382 30382 W ExposureNotification: Callback failed
09-23 07:48:21.070 30382 30382 W ExposureNotification: android.os.DeadObjectException
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.os.BinderProxy.transactNative(Native Method)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.os.BinderProxy.transact(Binder.java:617)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at com.google.android.gms.common.api.internal.IStatusCallback$Stub$Proxy.onResult(IStatusCallback.java:104)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at org.microg.gms.nearby.exposurenotification.ExposureNotificationServiceImpl$provideDiagnosisKeys$1$1$4.run(ExposureNotificationServiceImpl.kt:196)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.os.Handler.handleCallback(Handler.java:751)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.os.Handler.dispatchMessage(Handler.java:95)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.os.Looper.loop(Looper.java:154)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at android.app.ActivityThread.main(ActivityThread.java:6128)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at java.lang.reflect.Method.invoke(Native Method)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
09-23 07:48:21.070 30382 30382 W ExposureNotification:         at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
09-23 07:48:21.162 30382 26569 D ExposureNotification: Sending Intent { act=com.google.android.gms.exposurenotification.ACTION_EXPOSURE_NOT_FOUND pkg=de.rki.coronawarnapp (has extras) }

@jw243
Copy link

jw243 commented Sep 23, 2020

I have a similar problem with Corona Warn App. At first, it seemed to work well. But after a few days, the app refused to connect to the servers to download exposure tokens from people that have been tested positive. It produced the error messages in the attached screen shots.

I tried to delete the app data and even deleted and reinstalled the app, but none of that helped. The app refused to work right from the beginning after reinstallation. I even deleted all my captured tokens in MicroG, but that didn't help, either.

Have you already identified the problem causing this behaviour? I would be extremely happy, if a solution would be found.

Thanks for your effort!

Screenshot-1 1
Screenshot-2 1
Screenshot-3 1

@qoheniac
Copy link

qoheniac commented Sep 25, 2020

I have the same problem as @hubbty.

  • Fairphone Open 19.12.1-beta1 (Android 7.1.2)
  • microG Services Core 0.2.12.203315 (microG F-Droid repo)
  • Corona-Warn app 1.3.0 (Aurora Store)

Exposure notifications were active for 15 days when this happend.

Deleting data or reinstalling Corona-Warn app did not help.

@dueringa
Copy link

I also face the same problem (API error 8).

After deleting the CWA app data, it's back to "unknown risk", but according to adb logcat, ExpoureNotification is still checking old keys, e.g.

09-28 20:34:30.788 13212 15316 D ExposureNotification: Importing keys from file Mon Sep 14 02:00:00 GMT+02:00 2020 to Tue Sep 15 02:00:00 GMT+02:00 2020

Logcat of API error 8, which occurred after starting and quitting app several times (doesn't always occur):

09-28 20:37:28.862 13212 14669 D SafeParcel: Unknown field id 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
09-28 20:37:28.862 13212 14669 D SafeParcel: Unknown field id 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
09-28 20:37:28.862 13212 14669 D SafeParcel: Unknown field id 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
09-28 20:37:28.862 13212 14669 D SafeParcel: Unknown field id 13 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
09-28 20:37:28.862 13212 14669 D ExposureNotification: bound by: GetServiceRequest{serviceId=NEARBY_EXPOSURE, gmsVersion=12451000, packageName='de.rki.coronawarnapp', extras=Bundle[{}]}
09-28 20:37:28.882 13212 14669 D ExposureNotification: handleServiceRequest: de.rki.coronawarnapp
09-28 20:37:28.899  1286  2120 I ActivityManager: Displayed de.rki.coronawarnapp/.ui.LauncherActivity: +1s68ms
09-28 20:37:28.933  1286 10739 I ActivityManager: START u0 {cmp=de.rki.coronawarnapp/.ui.main.MainActivity} from uid 10154
09-28 20:37:28.963 16324 16324 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1573623
09-28 20:37:29.048   372  3545 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen de.rki.coronawarnapp#0
09-28 20:37:29.048   372  3545 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen de.rki.coronawarnapp#0
09-28 20:37:29.145  1286  2895 D CountryDetector: The first listener is added
09-28 20:37:29.352 16324 16324 W System.err: com.google.android.gms.common.api.ApiException: 8: 
09-28 20:37:29.354 16324 16324 W System.err: 	at android.support.v4.media.MediaDescriptionCompatApi21$Builder.setResultOrApiException(MediaDescriptionCompatApi21.java:3)
09-28 20:37:29.354 16324 16324 W System.err: 	at com.google.android.gms.internal.nearby.zzah.zza(com.google.android.gms:play-services-nearby@@18.0.3-eap:1)
09-28 20:37:29.354 16324 16324 W System.err: 	at com.google.android.gms.internal.nearby.zzbl.zza(com.google.android.gms:play-services-nearby@@18.0.3-eap:3)
09-28 20:37:29.354 16324 16324 W System.err: 	at com.google.android.gms.internal.nearby.zza.onTransact(com.google.android.gms:play-services-nearby@@18.0.3-eap:3)
09-28 20:37:29.354 16324 16324 W System.err: 	at android.os.Binder.execTransact(Binder.java:731)

Maybe something to do with the unknown fields?

For me, the errors also occurred after 14 days of use.

  • microg 0.2.12.203315
  • Fairphone FP2
  • microg-LineageOS 16, self-built, 20200814
  • CWA 1.3.1

@nidico
Copy link

nidico commented Oct 5, 2020

In the corresponding issue in the official German android app repo, @kbobrowski asks asks whether "ApiException: 8" has the same meaning in the MicroG EN implementation as in the Google implementation.

Does anybody have a clue? @mar-v-in?

@mar-v-in
Copy link
Member

mar-v-in commented Oct 5, 2020

IIRC, this error code is emitted by the client library, thus it doesn't matter which service is used. 8 means INTERNAL_ERROR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants