0

How to configure async apache http client 5 to use SOCKS proxy with auth? Here is the answer for socks5 without auth.

IOReactorConfig.Builder config = IOReactorConfig.custom()
                            .setSocksProxyAddress(inetSocketAddress)
                            .setSocksProxyUsername(proxyOptions.getUsername())
                            .setSocksProxyPassword(proxyOptions.getPassword());
httpAsyncClientBuilder.setIOReactorConfig(config.build());

But not work.

enter image description here

Also send no authentication!

papaya
  • 1
  • 1

0 Answers0