diff --git a/telegram-core/telegram-core-main/src/main/java/dev/struchkov/godfather/telegram/main/core/TelegramDefaultConnect.java b/telegram-core/telegram-core-main/src/main/java/dev/struchkov/godfather/telegram/main/core/TelegramDefaultConnect.java index c0edeb6..d3401c7 100644 --- a/telegram-core/telegram-core-main/src/main/java/dev/struchkov/godfather/telegram/main/core/TelegramDefaultConnect.java +++ b/telegram-core/telegram-core-main/src/main/java/dev/struchkov/godfather/telegram/main/core/TelegramDefaultConnect.java @@ -47,7 +47,7 @@ public class TelegramDefaultConnect implements TelegramConnect { if (checkNotNull(proxyConfig.getHost())) { System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2"); - System.setProperty("javax.net.debug", "all"); +// System.setProperty("javax.net.debug", "all"); botOptions.setProxyHost(proxyConfig.getHost()); botOptions.setProxyPort(proxyConfig.getPort()); botOptions.setProxyType(convertProxyType(proxyConfig.getType())); diff --git a/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramConnectBot.java b/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramConnectBot.java index c692c93..2bd5e07 100644 --- a/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramConnectBot.java +++ b/telegram-core/telegram-core-quarkus/src/main/java/dev/struchkov/godfather/telegram/quarkus/core/TelegramConnectBot.java @@ -74,7 +74,7 @@ public class TelegramConnectBot implements TelegramConnect { try { if (checkNotNull(proxyConfig) && proxyConfig.isEnable() && checkNotNull(proxyConfig.getHost()) && !"".equals(proxyConfig.getHost())) { System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2"); - System.setProperty("javax.net.debug", "all"); +// System.setProperty("javax.net.debug", "all"); log.info(System.getProperty("https.protocols")); DefaultBotOptions botOptions = new DefaultBotOptions(); botOptions.setProxyHost(proxyConfig.getHost()); diff --git a/telegram-core/telegram-core-simple/src/main/java/dev/struchkov/godfather/telegram/simple/core/TelegramConnectBot.java b/telegram-core/telegram-core-simple/src/main/java/dev/struchkov/godfather/telegram/simple/core/TelegramConnectBot.java index 0bcfc10..10e2974 100644 --- a/telegram-core/telegram-core-simple/src/main/java/dev/struchkov/godfather/telegram/simple/core/TelegramConnectBot.java +++ b/telegram-core/telegram-core-simple/src/main/java/dev/struchkov/godfather/telegram/simple/core/TelegramConnectBot.java @@ -58,7 +58,7 @@ public class TelegramConnectBot implements TelegramConnect { try { if (checkNotNull(proxyConfig) && proxyConfig.isEnable() && checkNotNull(proxyConfig.getHost()) && !"".equals(proxyConfig.getHost())) { System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2"); - System.setProperty("javax.net.debug", "all"); +// System.setProperty("javax.net.debug", "all"); log.info(System.getProperty("https.protocols")); DefaultBotOptions botOptions = new DefaultBotOptions(); botOptions.setProxyHost(proxyConfig.getHost());