Unable to extract the trust manager on Android10Platform, sslSocketFactory is class com.android.org.conscrypt.OpenSSLSocketFactoryImpl site:stackoverflow.com
See original GitHub issueIssue Summary
I’m using version 1.1.3
.
VimeoClient crashes upon initialize
with the following stack trace:
Caused by: java.lang.IllegalStateException: Unable to extract the trust manager on Android10Platform, sslSocketFactory is class com.android.org.conscrypt.OpenSSLSocketFactoryImpl
at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.kt:751)
at com.vimeo.networking.RetrofitClientBuilder.build(RetrofitClientBuilder.java:186)
at com.vimeo.networking.VimeoClient.createOkHttpClient(VimeoClient.java:182)
at com.vimeo.networking.VimeoClient.createRetrofit(VimeoClient.java:132)
at com.vimeo.networking.VimeoClient.<init>(VimeoClient.java:121)
at com.vimeo.networking.VimeoClient.initialize(VimeoClient.java:114)
Reproduction Steps
Initialize the VimeoClient.
Expected Behavior
VimeoClient initializes.
Actual Behavior
VimeoClient throws IllegalStateException upon initialize.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
java.lang.IllegalStateException: Unable to extract the trust ...
Caused by: java.lang.IllegalStateException: Unable to extract the trust manager on Android10Platform, sslSocketFactory is class com.android.org.conscrypt.
Read more >okhttp - Android 11 - Unable to extract the trust manager on ...
Android 11 - Unable to extract the trust manager on AndroidPlatform, sslSocketFactory is class com.android.org.conscrypt.
Read more >Unable to extract the trust manager on Android10Platform ...
Unable to extract the trust manager on Android10Platform, sslSocketFactory is class com.android.org.conscrypt.OpenSSLSocketFactoryImpl site: ...
Read more >okhttp3.internal.platform.Platform.trustManager java ... - Tabnine
trustManager (sslSocketFactory); } try { // org.conscrypt. ... throw new IllegalStateException("Unable to extract the trust manager on " + Platform.get() + " ...
Read more >Unable to extract the trust manager on Android10Platform
无法在android10平台上提取信任管理器,sslSocketFactory是class com.android.org.conscrypt.OpenSSLSocketFactoryImpl 记录一下填坑内容。
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for your answer. I almost lost hope 😅 I’ve tried the alpha versions but I get conflict errors when trying to build:
It might be a problem on my side but I’ve never seen a similar error with any other libs.
I understand that releasing public versions of this library is not the main focus and I am willing to use the alpha versions as long as they work. If filing a support ticket might help to improve the situation, I’ll gladly do it.
Well, since I thought that alpha versions are only on Jitpack, I am using only
com.github.vimeo:vimeo-networking-java:2.0.0-alpha.88
artifact. I haven’t noticed that there are others artifacts likemodels-parcelable
so I didn’t include them. It looks like that the Jitpack dependency includes the whole repo with all modules so I am actually depending on all of themodels
modules.When I realized this I excluded
models-parcelable
andmodels-serializable
dependencies and everything seems to work now.For future reference I used:
@WhosNickDoglio
com.vimeo.networking:vimeo-networking:2.0.0-alpha.88
does not seem to work. I guess that would have to be on maven central but there is only the 1.1.3 version.