|  | @@ -27,6 +27,7 @@ public class HttpUtils {
 | 
											
												
													
														|  |      private static final Logger LOG = LoggerFactory.getLogger(HttpUtils.class);
 |  |      private static final Logger LOG = LoggerFactory.getLogger(HttpUtils.class);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      public static String sendToWithProxy(String url, String proxyHost, Integer proxyPort) throws IOException {
 |  |      public static String sendToWithProxy(String url, String proxyHost, Integer proxyPort) throws IOException {
 | 
											
												
													
														|  | 
 |  | +        System.setProperty("jdk.tls.client.protocols", "TLSv1.2");
 | 
											
												
													
														|  |          System.setProperty("https.protocols", "TLSv1.2");
 |  |          System.setProperty("https.protocols", "TLSv1.2");
 | 
											
												
													
														|  |          Registry<ConnectionSocketFactory> reg = RegistryBuilder.<ConnectionSocketFactory>create()
 |  |          Registry<ConnectionSocketFactory> reg = RegistryBuilder.<ConnectionSocketFactory>create()
 | 
											
												
													
														|  |                  .register("http", PlainConnectionSocketFactory.INSTANCE)
 |  |                  .register("http", PlainConnectionSocketFactory.INSTANCE)
 |