Open gagamail opened 4 years ago
Thanks for the report. We've also been getting similar reports from Play Store comments. Reports from there show that
Quotes from Play Store:
Initially, but for several days (even after reinstallation) a "Cause 2001" error worked: a secure connection to the server could not be established. EDIT: The error suddenly appeared / without changing the network, is in all WLAN networks, and also in mobile data mode. EDIT 2: the device was not modified and no firewall was installed. Resetting the network settings did not solve the problem
Until the update - all errors correcting - the app ran really well. No error message or similar. However, since the update: Error: CAUSE 2001. Rien ne va plus! No more risk assessment. This is how the app helps me - especially when the number of cases increases again. Please troubleshoot here. Then I also like to upgrade.
Unfortunately now without function. Something has been made worse, now it only shows that something went wrong. Cause of error 2001. Under "Details" there follows a cryptic error message. Android 9, Samsung S8. No blockers active. Own WiFi without restrictions. And before I get any tips like updating: I have installed version 1.5. Theoretically should correct errors, but in practice does the opposite. I uninstalled the app first.
After the update to 1.1.1 only error message 2001 comes. Even a restart of the cell phone brought no improvement. Risk determination is active, risk status is only displayed after the error message. Cause 2001 is displayed. Something went wrong. I am logged in to my own WLAN and have not made any changes to the network. Even a new installation did not bring any improvement. After the risk determination has been switched off, the error message disappears.
A different error after each update. Now after the latest update on 07/25/2020 "Cause 2001" on Huawei P8 Android 6.0. an error occured while trying to establish a secure connection to the server. Tried 3 different WLANs as well as cell phones. All unsuccessful. With another device - Samsung J3 - it works in the same networks.
The following error message appears when the APP is called: CAUSE: 2001 Something went wrong an error occured while trying to establish a secure connection to the server What can I do? Thank you for your help Edit: Unfortunately a restart does nothing to change this behavior. ____ Edit: The error has occurred since the update to version 1.1.1. Lenovo Moto G5. Android 8.0.1, Google Play Store 21.0.17-all, services 20.24.14
The following error message appears when the APP is called: CAUSE: 2001 Something went wrong an error occured while trying to establish a secure connection to the server What can I do? Thank you for your help. The device has been restarted several times since it first appeared. The error always comes reliably since the update to version 1.1.1
Reported devices (all on CWA 1.1.1):
As reports are increasing, we will address this with high priority to product management to prioritize analyses and a fix.
Mit freundlichen GrĂĽĂźen/Best regards, SW Corona Warn-App Open Source Team
@gagamail Can you please contact me directly to provide more details about the network setup
@thomasaugsten @gagamail Hi, gagamail listed Android July Patch for his device settings. The July Patch also consists of Qualcomm fixes that seem to affect wifi. May there be any (timely) relation to the July Patch? https://source.android.com/security/bulletin/2020-07-01?hl=en
@thomasaugsten @gagamail Hi, gagamail listed Android July Patch for his device settings. The July Patch also consists of Qualcomm fixes that seem to affect wifi.
The SM-N950F is the version with the Samsung Exynos Processor and not Qualcomm Snapdragon. So I guess it can't be related?
May there be any (timely) relation to the July Patch? https://source.android.com/security/bulletin/2020-07-01?hl=en
According to the logfiles I installed the last upgrade (i don't think there was any other upgrade besides the July Patch) on July, 28th which would mean it already did not work without July Patch.
Hi all, I am effected by this bug as well (last working was the 20th July as well). Since the error message gives more details hinting in the direction of the error, I wanted to provide some information from it. Unfortunately I am not allowed to take a screenshot of the error message and will thus not type the whole error stack. The full error message starts with:
Etwas ist shiefgelaufen. Ursache: de.rki.coronawarnapp.exception.CwaWebSecurityException: an error occurred while trying to establish a secure connection to the server
And it ends with:
Caused by: java.securit.cert.CertPathValidatorException: Trust anchor for certification path not found.
I hope this helps :)
Cheers
Hi @gagamail , thanks for clearing up!
According to the logfiles I installed the last upgrade (i don't think there was any other upgrade besides the July Patch) on July, 28th which would mean it already did not work without July Patch.
So, any problems with 2001 related to that patch can be completely excluded then. And you are right, Qualcomm for that model is US market only. Anyway, there were also some Samsung internal fixes and Android kernel fixes. However, doesn't play any role here.
Hi @DerPlankton13 , thanks for your report! You mentioned that app was working well until July 20th. Interestingly, around July 21st/22nd, CWA-server 1.2.0 was released... May there be any correlation, @thomasaugsten @EvgeniiSkrebtcov ?
Hi, the issues is the app cannot verify the ssl certificate of the diagnosis key server (Introduced with v1.1.1). This can caused by multiple things.
Maybe you can provide a screenshot of Open Settings Tap “Security & location” Tap “Encryption & credentials” Tap “Trusted credentials.”
maybe any problem in server certificate pinning?
1. Date/Time is not correct.
Is correct.
2. Android Root/CA certificates are not up to date
I have one certificate which is not up to date. Thats an old Deutsche Telekom Root CA 2 which I needed in the past for WLAN access.
3. Antivirus App is breaking the ssl chain
No Antivirus App installed
4. Network/Firewall tool like pi-hole is breaking the ssl chain
In my home WLAN I have a pi-hole, but the App also does not work outside of this WLAN. On the smartphone I have Blokada which I completely deactivated. Before July 21st the App worked with both activated.
@gagamail Can you remove the old CA and test again?
@gagamail Can you remove the old CA and test again?
Looks like I can't. I don't find a possibility to deinstall it, according to what I found with google it is not possible to completely remove a WLAN CA. But it is (and was before) dectivated.
Redmi Note 7
Hi Kira, can you provide a screenshot of Settings Tap “Security & location” Tap “Encryption & credentials” Tap “Trusted credentials.”
Hi Kira, can you provide a screenshot of Settings Tap “Security & location” Tap “Encryption & credentials” Tap “Trusted credentials.”
Did my screenshots help? If not, can you give me a hint where to find the settings?
@kira99 Settings->Additional Settings->Privacy->Trusted Credentials Is the button "Clear credentials" active?
There is no additional settings in the App visible. Only settings. In settings everything is on. My operating system MIUI is in German. But I could not find any similar settings to credentials. Where do I have to look?
I mean the Android Settings not the App Settings
Sorry, MIUI does not show this. The settings UI is not Android standard. I looked up privacy. There is not setting for credentials and I even have already activated developer mode for MIUI.
Ok maybe you can try Settings->Privacy & security -> Privacy->Trust agents Settings->Privacy & security -> Privacy->Encryption Credentials->Trusted Credentials Settings->Privacy & security -> Privacy->Encryption Credentials->User Credentials
Or did you mean this?
@kira99 "VertrauenswĂĽrdige Anmeldedaten" seems to be what you should look for.
Hi thanks for your help. The setting: VertrauenswĂĽrdige Anmeldedaten is empty? Ok this helps. I deleted one your screenshots because of privacy reasons
VertrauenswĂĽrdige Anmeldedaten has a lot of system certificates, but no user certificate.
Can you provide a screenshot of this.
Left column shows names of certificates.
The screenshots I made show exactly the same error notations as reported by "Kira99". (Samsung Galayx S8 with Android9).
The error always occurs when I try to activate the warning function. Sometimes also just after opening the app. It is independent from the connection, or time, or any other apps running. Wifi is working fine, mobile connection too. I did not exclude anything, since I did not manipulate my security settings up to now. My mobile provider is Vodafone, maybe they have some firewall function included?
The system certificates would be interesting.
@NixAlsVerdruss Did you check your Date/Time is correct on your phone? Is the device a private or company device? Is there any firewall or antivirus app installed? Because it is not working on wifi and mobile data the issue is on your device.
As there are no problems with anything except this app, I don't think my device is defect. It seems the CoronaWarnApp has problems with some devices...
2020-08-07 21:39 GMT+02:00, Thomas Augsten notifications@github.com:
The system certificates would be interesting.
@NixAlsVerdruss Did you check your Date/Time is correct on your phone? Is the device a private or company device? Is there any firewall or antivirus app installed? Because it is not working on wifi and mobile data the issue is on your device.
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670680833
You can double check if you have following certificate in VertrauenswĂĽrdige Anmeldedaten/Trusted Credentials
T-Telesec Global Root Class 2 01.10.2033, 23:59:59 GMT 91:E2:F5:78:8D:58:10:EB:A7:BA:58:73:7D:E1:54:8A:8E:CA:CD:01:45:98:BC:0B:14:3E:04:1B:17:05:25:52
??? I don't want to re-program my Android... It's not me who gets paid for that.
2020-08-07 23:34 GMT+02:00, Thomas Augsten notifications@github.com:
You can double check if you have following certificate in VertrauenswĂĽrdige Anmeldedaten/Trusted Credentials
T-Telesec Global Root Class 2
01.10.2033, 23:59:59 GMT
91:E2:F5:78:8D:58:10:EB:A7:BA:58:73:7D:E1:54:8A:8E:CA:CD:01:45:98:BC:0B:14:3E:04:1B:17:05:25:52
https://www.pki.dfn.de/wurzelzertifikate/globalroot2/
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670722159
App seems to work now. There were no changes on my side and also no updates (also no updates for apps) since the last time the app did not work.
@gagamail Did you change something in your network setup.
No, nothing changed. But the last try before was in a different network (I will access it on Monday). Since last try in the current network the following Apps got an update: AndrOpen Office, Quipp, Microsoft OneDrive, Google and Amazon Alexa. So in principal it is possible that it is a combination of the network and one those Apps. I will find out on Monday.
Hi all, thanks @kira99 for providing all the screenshots. I followed some of the steps suggested here and I actually found a solution for me. As suggested by @thomasaugsten I double checked that I have the T-Telesec Global Root Class 2 certificate and found that this was deactivated in on my phone. After activating it, the App works as intended!
By deactivating the certificate I could recreate the error.
@DerPlankton13 Do you have an idea why this certificate was deactivated on your device?
But it seems the certificate is installed. I don't have any way to install/ uninstall certificates.(device isn't rooted). Does not help
Ingrid L. luzie97@gmail.com schrieb am Fr., 7. Aug. 2020, 23:39:
??? I don't want to re-program my Android... It's not me who gets paid for that.
2020-08-07 23:34 GMT+02:00, Thomas Augsten notifications@github.com:
You can double check if you have following certificate in VertrauenswĂĽrdige Anmeldedaten/Trusted Credentials
T-Telesec Global Root Class 2
01.10.2033, 23:59:59 GMT
91:E2:F5:78:8D:58:10:EB:A7:BA:58:73:7D:E1:54:8A:8E:CA:CD:01:45:98:BC:0B:14:3E:04:1B:17:05:25:52
https://www.pki.dfn.de/wurzelzertifikate/globalroot2/
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670722159
@thomasaugsten I am not sure. It may have something to with Eduroam. I had a Benutzerzertifikat for Eduroam, which I deinstalled. I think this certificate was the T-TeleSec Global Root Class 2 certificate as well. To clarify a little what I did: I first skimmed over all the system certificates (as shown by @kira99's screenshot). I did not notice anything unusual, but I may have overlooked that the one certificate was deactivated. Then I uninstalled all certificates which I found under Einstellungen > Biometrische Daten und Sicherheitsoptionen > Andere Sicherheitseinstellungen > Benutzerzertifikate, which were the certificate from Eduroam and the com.samsung.android.dqagent_SA_SDK certificate. After this I read about the T-TeleSec Global Root Class 2 certificate in your post and rechecked that and found that it was deactivated. I hope this helps...
I followed the description of kira99 to see all certificates. Found the relevant certificates named T-Systems... class 2 and class 3 , which were installed but deactivated. I switched them active. Now the app is going to work! No more connection errors.
The reason may be that the installed certificates are deactivated by something. Maybe the last Android update, or any security algorithms from Samsung or Vodafone.
DerPlankton13 notifications@github.com schrieb am Sa., 8. Aug. 2020, 20:45:
I am not sure. It may have something to with Eduroam. I had a Benutzerzertifikat for Eduroam, which I deinstalled. I think this certificate was the T-TeleSec Global Root Class 2 certificate as well. To clarify a little what I did: I first skimmed over all the system certificates (as shown by @kira99 https://github.com/kira99's screenshot). I did not notice anything unusual, but I may have overlooked that the one certificate was deactivated. Then I uninstalled all certificates which I found under Einstellungen > Biometrische Daten und Sicherheitsoptionen > Andere Sicherheitseinstellungen > Benutzerzertifikate, which were the certificate from Eduroam and the com.samsung.android.dqagent_SA_SDK certificate. After this I read about the T-TeleSec Global Root Class 2 certificate in your post and rechecked that and found that it was deactivated. I hope this helps...
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670961015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQZ3QV56AYNJVNEITYX5YTR7WMNFANCNFSM4PUCDJKQ .
I switched them active. Now the app is going to work! No more connection errors.
Are you sure that this is not just a coincidence? Yesterday the App also started to work for me again. But I did not change anything in the certificates and especially the T-TeleSec Global Root Certificates always were activated.
You can double check if you have following certificate in VertrauenswĂĽrdige Anmeldedaten/Trusted Credentials
T-Telesec Global Root Class 2 01.10.2033, 23:59:59 GMT 91:E2:F5:78:8D:58:10:EB:A7:BA:58:73:7D:E1:54:8A:8E:CA:CD:01:45:98:BC:0B:14:3E:04:1B:17:05:25:52
I do have this certificate and it is activated - has always been.
I don't think it was a coincidence. A minute before the app did not work. After activating the certificates, it did.
Mayve you got some update of
gagamail notifications@github.com schrieb am Sa., 8. Aug. 2020, 22:30:
I switched them active. Now the app is going to work! No more connection errors.
Are you sure that this is not just a coincidence? Yesterday the App also started to work for me again. But I did not change anything in the certificates and especially the T-TeleSec Global Root Certificates always were activated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670970830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQZ3QTXYDI64HFQMRULFXLR7WYV3ANCNFSM4PUCDJKQ .
@kira99 Shows the iPhone in your network also connections errors or only the xiaomi devices?
It is only my XIAOMI REDMI Note 7, not the other two devices.
The certificates show up as "T-Systems Enterprise Services GmbH"
Alexandra notifications@github.com schrieb am Sa., 8. Aug. 2020, 23:09:
It is only my XIAOMI REDMI Note 7, not the other two devices.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670974054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQZ3QVYZAF4RUIUMA7MRFTR7W5HPANCNFSM4PUCDJKQ .
Yes, I saw that. T-Systems is printed in bold and then T-Telesec Global Root Class 2 in the next line. I also have T-Telesec Global Root Class 3. Both have always been activated, I did not change anything. My app does not show any errors at the moment.
Maybe there are more certificates which need to be active?
Alexandra notifications@github.com schrieb am Sa., 8. Aug. 2020, 23:21:
Yes, I saw that. T-Systems is printed in bold and then T-Telesec Global Root Class 2 in the next line. I also have T-Telesec Global Root Class 3. Both have always been activated, I did not change anything. My app does not show any errors at the moment.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-670975050, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQZ3QXLRF4VY2NVH2WLBN3R7W6VTANCNFSM4PUCDJKQ .
@gagamail
I noticed another coincidence, at least one that might apply to you:
Remember https://github.com/corona-warn-app/cwa-app-android/issues/968#issuecomment-669896599 ? CWA-server v 1.2.0 was released on July 22nd, that was the time when problems began for you.
You say, since yesterday it works again without changing anything from your side? CWA-server 1.3.0 was released yesterday... https://github.com/corona-warn-app/cwa-server/releases/tag/v1.3.0
Again, I'm doing an uneducated guess (one day people will throw paper balls at me...), just as a theory what could have happened: What if during the initialization of CWA-server 1.2.0 a minor flaw somewhere in the certficate chain was occuring? Maybe it was such a small flaw, no one recognized it, and allmost all devices accepted the server certificate. Except a handful of some hypersensible Android OS, that refused the connection for security reasons? And would it then be in the scope of possibility, that some of these OS just deactivated the root certificate due to the certificate chain flaw, while other OS didn't touch the certificate and just refused the connection? This might explain what is seen now: In some devices the root certificate was disabled (obviously without user interaction), in some not. Since August 7th, devices work again, either automatically without user interaction, or after enabling the root certficate again. If it really was related to a certificate chain flaw, then initialization of CWA-server 1.3.0 somehow did the trick.
May this be? Or completely nonsense?
released doesn't mean deployt I will check the exact date of the deployment.
EDIT: Corona-Warn-App Open Source Team
Solved: See FAQ:
ORIGINAL POST
Avoid duplicates
Describe the bug
When I open the App I immediatley get the error message "Ursache: 2001 an error occured while trying to establish a secure connection to the server". This results in a not working App. Deinstalling and restarting did not help. Last confirmed working of the App was on July, 20th, first time I saw the error was on July, 23rd. In between I did not start the App.
Expected behaviour
The App should work
Steps to reproduce the issue
Starting the App is enough, I did not do anything specific and I did not change anything on my own on my Smartphone since the App is not working anymore.
Technical details
Possible Fix
No idea
Additional context
My first thought was that Blokada changed something. Deactivating Blokada did not help. And even if so I am not willing to deactivate it completely (CWA is on the Allowed Apps list) as the App worked with it before.
Internal Tracking ID: EXPOSUREAPP-10944