{"action":"created","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/2323","repository_url":"https://api.github.com/repos/square/okhttp","labels_url":"https://api.github.com/repos/square/okhttp/issues/2323/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/2323/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/2323/events","html_url":"https://github.com/square/okhttp/issues/2323","id":131971721,"number":2323,"title":"Unable to extract the trust manager","user":{"login":"AlexLardschneider","id":10795750,"avatar_url":"https://avatars.githubusercontent.com/u/10795750?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexLardschneider","html_url":"https://github.com/AlexLardschneider","followers_url":"https://api.github.com/users/AlexLardschneider/followers","following_url":"https://api.github.com/users/AlexLardschneider/following{/other_user}","gists_url":"https://api.github.com/users/AlexLardschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexLardschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexLardschneider/subscriptions","organizations_url":"https://api.github.com/users/AlexLardschneider/orgs","repos_url":"https://api.github.com/users/AlexLardschneider/repos","events_url":"https://api.github.com/users/AlexLardschneider/events{/privacy}","received_events_url":"https://api.github.com/users/AlexLardschneider/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/square/okhttp/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":54,"created_at":"2016-02-07T14:23:56Z","updated_at":"2016-04-26T22:01:32Z","closed_at":"2016-02-08T00:53:47Z","body":"Hi,\r\nafter upgrading from OkHttp 3.0.1 to 3.1.0 I get the following stack trace and crash after calling build() to create a OkHttpClient.\r\n\r\n```\r\njava.lang.IllegalStateException: Unable to extract the trust manager on okhttp3.internal.Platform$Android@1d8cf999, sslSocketFactory is class com.google.android.gms.org.conscrypt.KitKatPlatformOpenSSLSocketAdapterFactory\r\n                                                                        at okhttp3.OkHttpClient.<init>(OkHttpClient.java:187)\r\n                                                                        at okhttp3.OkHttpClient.<init>(OkHttpClient.java:60)\r\n                                                                        at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:719)\r\n```\r\n\r\nThis issue was not present in 3.0.1.\r\n\r\nHere's where the crash happens:\r\n```\r\nOkHttpClient.Builder builder = new OkHttpClient.Builder()\r\n                    .connectTimeout(10, TimeUnit.SECONDS)\r\n                    .writeTimeout(10, TimeUnit.SECONDS)\r\n                    .readTimeout(30, TimeUnit.SECONDS);\r\n\r\n            OkHttpClient client = builder.build();\r\n```"},"comment":{"url":"https://api.github.com/repos/square/okhttp/issues/comments/214901294","html_url":"https://github.com/square/okhttp/issues/2323#issuecomment-214901294","issue_url":"https://api.github.com/repos/square/okhttp/issues/2323","id":214901294,"user":{"login":"rogerhu","id":326857,"avatar_url":"https://avatars.githubusercontent.com/u/326857?v=3","gravatar_id":"","url":"https://api.github.com/users/rogerhu","html_url":"https://github.com/rogerhu","followers_url":"https://api.github.com/users/rogerhu/followers","following_url":"https://api.github.com/users/rogerhu/following{/other_user}","gists_url":"https://api.github.com/users/rogerhu/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerhu/subscriptions","organizations_url":"https://api.github.com/users/rogerhu/orgs","repos_url":"https://api.github.com/users/rogerhu/repos","events_url":"https://api.github.com/users/rogerhu/events{/privacy}","received_events_url":"https://api.github.com/users/rogerhu/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T22:01:32Z","updated_at":"2016-04-26T22:01:32Z","body":"Just a friendly ping to see if we can get a fix/release for this issue.  Trying to get things updated for the Parse SDK so would want to have a way to make a call to systemDefaultTrustManager()"}}