admin-ch / CovidCertificate-App-Android

CovidCertificate Apps for Android
Mozilla Public License 2.0
178 stars 42 forks source link

Covid-Checker Verification failed - unexpected error #257

Open rachyandco opened 3 years ago

rachyandco commented 3 years ago

Scanning valid a valid paper QR-Code vaccination Certificate generates "an unexpected error"

The Name, First Names and Date of Birth are correctly extracted from the QR-Code.

photo_2021-09-12_17-25-152

This is a lineageOs android without google tools and a simple wifi connection. Using the european checker on f-droid, the certificate is valid.

this is with Version 2.5.0 (2500) (Verifier)

How can I get better logs?

rachyandco commented 3 years ago

seems the service here is unavailable https://covidcertificate-app.bit.admin.ch/app/delivery/v1/ which is making the app fail.

goebelUB commented 3 years ago

Version 2.5 changed how the national rules are fetched from the backend. The new backend was not yet deployed to production when you tried v2.5 yesterday. It is/was marked as a pre-release for a reason ;)

Could you try again to see if it works now?

SamuelNitsche commented 3 years ago

I am experiencing the same issue on a Nokia Device on Android 11 using the F-Droid Version 2.0.0. Is there anything I can do to debug this?

rachyandco commented 3 years ago

works fine on 2500 now! certificate is green when checked

goebelUB commented 3 years ago

@SamuelNitsche I assume 2.0.0 worked before, but stopped working? In that case it sounds very similar to https://github.com/admin-ch/CovidCertificate-App-Android/issues/206#issuecomment-902556960. Then clearing the app's data may fix it.

If you want you can use adb logcat or use a logcat app to see if there's anything useful. There may not be anything though - so far we are rather conservative when it comes to logging, since pre-installed apps can read the system log. Additionally, the networking error (G|NWF) isn't very detailed at the moment unfortunately. So you need a debug build (which has more logging) or network interception to see what exactly is going wrong.

SamuelNitsche commented 3 years ago

I installed the app on three different Android phones and f-droid version 2.0.0 works perfectly fine on two of them. It doesn't work on a nokia phone using Android 11 (latest available version).

I will try to check the logs for something useful.