The Unity Gaming Service for performance and crash reporting is currently not working. The following error message is logged after enabling Cloud Diagnostics: Curl error 60: Certificate verification failed. The certificate has expired. UnityTls error code: 7
Please renew your server certificate. When attempting to verify the connection by running the following command directly, it confirms the certificate expiration issue:
Thanks for using Cloud Diagnostics! I can confirm that the certificate is not expired, and I can successfully run the curl command you posted above without issues. There are no indications on our end that the issue you’re facing is being experienced other Cloud Diagnostics users, which leads me to believe the failure is a symptom of a certificate configuration problem on your device rather than a problem with Cloud Diagnostics itself.
I can only authoritatively help with Cloud Diagnostics, but that said I will stay tuned here to help understand the problem! I recommend exploring possible local certificate store issues specific to the device you’re using.
In future, there are many online tools to inspect certificates which can be used by providing the relevant endpoint (https://perf-events.cloud.unity3d.com) and you can use any one of them as a preliminary check of whether a certificate has truly expired.
I can confirm this is a real issue. I made a minimal repo app(just the 3D template + Unity Cloud Diagnostics + a button to throw exception and a button crash) and had folks in our studio test it from various locations:
Pixel 6 - Cell - did not work (Cert verify error)
Samsung A11 - North Seattle wifi - did not work (Cert verify error)
Samsung A11 - Seattle downtown wifi - worked
Windows - Vancouver wifi - did not work (Cert verify error)
Samsung A11 - Kent wifi - worked
Pixel 5 - Seattle wifi - did not work (Cert verify error)
There is definitely something wrong, and it started in late September when we noticed a big drop off in our crash/exception rates and could confirm locally test crashes often did not show up. I’ve been talking to a Unity support rep about this since we noticed in September but only just today confirmed it’s this cert verify error that’s causing it.
Thanks for looking into it @UnityElishaS , but the command output unequivocally confirms that the server certificate has expired on September 24, 2023 for IPv6 connections on your end. Currently, only IPv4 connections have a valid certificate:
@troylightfox@Tron_314159265359 thank you so much for the additional context that your devices are using IPv6 connections! The issue was indeed on our end and has been resolved in my tests using the curl command provided, but please confirm on your respective ends and let me know if there is any further issues or concerns.
Thank you for your patience and for sharing your reproduction steps exactly.
@UnityElishaS Can confirm that the certificate is now valid, and the certification errors have been resolved. The Cloud Diagnostics dashboard shows exceptions and crash reports for some impacted devices as expected, so everything appears to be working correctly once again. Thanks!