System.setProperty("socksNonProxyHosts", socksNonProxyHost);
URI proxyUri = new URI(socksProxy);
String proxyHost = proxyUri.getHost();
System.setProperty("socksProxyHost", proxyHost);
if (proxyUri.getPort() > 0) {
String proxyPort = "" + proxyUri.getPort();
System.setProperty("socksProxyPort", proxyPort);
}
if (proxyUri.getUserInfo() != null) {
String username = proxyUri.getUserInfo().split(":")[0];
String password = proxyUri.getUserInfo().split(":")[1];
Authenticator.setDefault(new ProxyAuth(username, password))
}
Does the library suppose to be working using Socks proxy? If yes, is there any workaround that I can implement on my end to resolve the issue?
Thank you
--Krishna