-
Troubleshooting SSL connection issue with Firebase
Hey buddies! So I’m stuck in this serious jam and can’t seem to find a way out, the internet’s been no help either.
Long story short, I keep running into some issues whenever I attempt to use Firebase Events. More accurately,
I get hit with a ‘Network upload failed. Will retry later. SSLHandshakeException: CertPathValidatorException: Trust anchors for certification path not found’ message.
In case you’re wondering, this project is loaded with security measures. To even construct this app, you have to insert some certs in your keytool and – lo and behold – a super aggressive VPN.
The hitch is, we need to test some events using GA4/Firebase and guess what? I can’t seem to connect my device to the Firebase DebugView nor log even a single successful event. We could be waiting for hours, or even godforsaken days… our event still never shows up.
We’ve also tried a few commands, like this one:
adb shell setprop debug.firebase.analytics.app "your.app.package.name"
And several others, like those cheeky log.tag.FA commands to get a glimpse of something in the logcat.
I’ve also attempted using the networkSecurityConfig, setting both user and system certificates as trust anchors. But to no avail, unfortunately.
So yes, I’ve hit a wall here and I’m hoping someone out there has the magic spell to my issue.
Oh, and just so you know, I’ve been running this application on a simulator.
Really hope to hear back soon, and thanks in advance!
Log in to reply.