From 401c549f1326dec43e971a54a256fa66fee27157 Mon Sep 17 00:00:00 2001 From: pasindu Date: Mon, 15 May 2023 21:54:31 +0530 Subject: [PATCH] Fix SSL timeout issue in Rest client --- .../apimgt/extension/rest/api/util/HttpsTrustManagerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/util/HttpsTrustManagerUtils.java b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/util/HttpsTrustManagerUtils.java index b55857af37..79ed62a0a3 100644 --- a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/util/HttpsTrustManagerUtils.java +++ b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.extension.rest.api/src/main/java/io/entgra/device/mgt/core/apimgt/extension/rest/api/util/HttpsTrustManagerUtils.java @@ -73,7 +73,7 @@ public class HttpsTrustManagerUtils { private static final String SSLV3 = "SSLv3"; private static final String DEFAULT_HOST = "localhost"; 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() {