Status Update
Comments
er...@google.com <er...@google.com>
al...@google.com <al...@google.com> #2
This error means that the proxy server you configured performs SSL termination to watch or modify the traffic. Android Studio proxy configuration allows you to turn off proxy settings for particular domains, I would suggest to disable the proxy for *.googleapis.com as the most secure solution.
yo...@gmail.com <yo...@gmail.com> #3
There often is no direct route to *.googleapis.com
and it is only accessible thru the proxy.
al...@google.com <al...@google.com> #4
I see, but can the proxy itself be configured to do SSL passthrough or SSL forwarding instead of ssl termination?
yo...@gmail.com <yo...@gmail.com> #5
TLS passthrough is not an option for many people.
I was able to add the TLS to Android Studio Iguana 2023.2.1 Canary 13.app/Contents/jbr/Contents/Home/lib/security/cacerts
which generally solves this issue in many cases, but in this case it seems to have had no effect (even after restarting studio).
Is there something about the way it is doing HTTPS requests that would cause it NOT to use Android Studio Iguana 2023.2.1 Canary 13.app/Contents/jbr/Contents/Home/lib/security/cacerts
as a source of root CA certs?
Is there some sort of cert pinning happening?
al...@google.com <al...@google.com> #6
Yes, there is a call which uses
Feature team, this is a dup of
jb...@google.com <jb...@google.com> #7
yo...@gmail.com <yo...@gmail.com> #8
Feature team, this is a dup of
feature request. b/266868580
FYI, that bug is not public.
yo...@gmail.com <yo...@gmail.com> #9
Tried again with Jellyfish Canary 11.
Now neither App vitals nor Firebase Crashlytics is working.
App vitals says
No apps available
Request that your app Admin provides you with the
View App Quality Information (read-only) permission via the Play Console.
but I DO have permission and I can see the vitals in the web UI.
Firebase Crashlytics says:
Request failed
You can retry the request or, if you currently don't
have a network connection, enter Offline Mode.
I do have a proxy set within Studio.
I logged out of my google accounts in studio and logged back in, same thing.
When the failure happens, all I see in the studio.log is this:
2024-02-28 06:22:17,331 [ 156853] WARN - GrpcUtils - Retry attempt #1 for a rpc call, retrying in 0.118 second(s)...
2024-02-28 06:22:17,331 [ 156853] WARN - GrpcUtils - Retry attempt #1 for a rpc call, retrying in 0.273 second(s)...
2024-02-28 06:22:17,331 [ 156853] WARN - GrpcUtils - Retry attempt #1 for a rpc call, retrying in 0.0 second(s)...
2024-02-28 06:22:17,331 [ 156853] WARN - GrpcUtils - Retry attempt #1 for a rpc call, retrying in 0.283 second(s)...
2024-02-28 06:22:17,331 [ 156853] WARN - GrpcUtils - Retry attempt #2 for a rpc call, retrying in 0.206 second(s)...
2024-02-28 06:22:17,450 [ 156972] WARN - GrpcUtils - Retry attempt #2 for a rpc call, retrying in 0.443 second(s)...
2024-02-28 06:22:17,539 [ 157061] WARN - GrpcUtils - Retry attempt #3 for a rpc call, retrying in 1.373 second(s)...
2024-02-28 06:22:17,608 [ 157130] WARN - GrpcUtils - Retry attempt #2 for a rpc call, retrying in 0.815 second(s)...
2024-02-28 06:22:17,615 [ 157137] WARN - GrpcUtils - Retry attempt #2 for a rpc call, retrying in 0.44 second(s)...
2024-02-28 06:22:17,895 [ 157417] WARN - GrpcUtils - Retry attempt #3 for a rpc call, retrying in 1.293 second(s)...
2024-02-28 06:22:18,060 [ 157582] WARN - GrpcUtils - Retry attempt #3 for a rpc call, retrying in 2.246 second(s)...
2024-02-28 06:22:18,425 [ 157947] WARN - GrpcUtils - Retry attempt #3 for a rpc call, retrying in 1.783 second(s)...
yo...@gmail.com <yo...@gmail.com> #10
Adding the custom CA cert to
$HOME/Applications/Android Studio Koala Feature Drop 2024.1.2 Canary 8.app/Contents/jbr/Contents/Home/lib/security/cacerts
AND setting play.vitals.grpc.use.transport.security=false
in
$HOME/Library/Application Support/Google/AndroidStudioPreview2024.1/idea.properties
seems to work.
eu...@gmail.com <eu...@gmail.com> #11
It looks like I have something similar. My corporation requires self signed root certificate to be added to certificate store.
I have script that uses keytool
to import certificate.
However, the play.vitals.grpc.use.transport.security
doesn't make job for me - Android Vitals and Crashlytics show that I'm offline.
jb...@google.com <jb...@google.com> #12
I've fixed Studio to use the default certificate store, which I think could be considered to fix this issue? I'm going to mark it as fixed, but if that's not a sufficient fix please let me know.
eu...@gmail.com <eu...@gmail.com> #13
Confirmed - I just downloaded the nightly version and I can see Android Vitals and Crashlytics data.
an...@google.com <an...@google.com> #14
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug | 2024.1.3 Canary 1
- Android Gradle Plugin 8.7.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
Description
Firebase Crashlytics panel fails to load when using a corporate proxy.
Oddly, the "Android Vitals" tab DOES work fine.
With this error (see attached screenshot):
There only logs that show up when refreshing the Firebase Crashlytics panel are these: