Fix SSL timeout issue in Rest client

fixSSLTimeOut
Pasindu Rupasinghe 2 years ago
parent a438b0fbd4
commit 401c549f13

@ -73,7 +73,7 @@ public class HttpsTrustManagerUtils {
private static final String SSLV3 = "SSLv3"; private static final String SSLV3 = "SSLv3";
private static final String DEFAULT_HOST = "localhost"; private static final String DEFAULT_HOST = "localhost";
private static final String DEFAULT_HOST_IP = "127.0.0.1"; private static final String DEFAULT_HOST_IP = "127.0.0.1";
private static final int TIMEOUT = 100; private static final int TIMEOUT = 300;
public static OkHttpClient getSSLClient() { public static OkHttpClient getSSLClient() {

Loading…
Cancel
Save