I use Retrofit2. Requests are no execute after adding on server side SSL. The method onFailure get next Throwable - javax.net.ssl.SSLHandshakeException: Connection closed by peer.
Initialization Retrofit:
Retrofit retrofit = new Retrofit.Builder()
.baseUrl(InterfaceAPI.BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.build();
Then use this client for retrofit