Hi, I had a similar problem . My problem was caused by OkHTTP SSL management . Take a look at this error on the OkHTTP github page
My workaround (they say it will be fixed with v2.0):
URL.setURLStreamHandlerFactory(new OkHttpClient());
: Square OkHTTP v1.5.0, hould have fixed SSL.
, SSL OkHttp OkHttpClient :
okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
SSL factory. , SSL, OkHttpClient.