Learn business growth with Google Analytics 4 Forums Google Analytics 4 Troubleshooting SSL connection issue with Firebase Reply To: Troubleshooting SSL connection issue with Firebase

  • Addison

    Member
    21 January 2023 at 11:37 am

    Your problem seems to be related to an SSL Certificate not being recognized by Firebase/Google Analytics. One of the primary causes of SSLHandshakeException is that the SSL certificate presented by the server is not trusted.

    If you are using a self-signed certificate or a certificate issued by an internal certificate authority (CA), make sure it’s imported and properly set up in your Android key store. If that doesn’t work, consider using an SSL certificate from a well-known CA to ensure Firebase recognises and trusts the server’s certificate during the SSL handshake.

    Additionally, the problem may also be due to restrictions caused by VPN. Google uses your device’s IP to deliver the analytics data. If you are using a VPN, it can interfere with, or block, traffic between your app and Firebase.

    Lastly, it may be beneficial to try running your application on a real device instead of a simulator. Certain network-related operations can return different results on real devices and emulators.

    Without further details and specifics about your project’s setup and settings, it’s difficult to provide a more precise solution. However, I hope this general advice helps you understand possible steps to resolve the issue.