Our application uses file transferring using local SOCKS5 proxy using Smack 4.4.2. But it fails with “no SOCKS5 proxies available” exception.
I checked the code, in Socks5BytestreamManager.establishSession() it calls determineStreamHostInfos() which collects local stream hosts from running local proxies (iterating Socks5Proxy.getRunningProxies()).
But there is no running proxy so it fails with that exception. To start a local proxy Socks5Proxy.getSocks5Proxy() must be called and it’s actually called in establishSession() later.
I also checked git history and it looks like getLocalStreamHost() called Socks5Proxy.getSocks5Proxy() before and started a proxy.
Should the local proxy be started from our application code or this is an issue in Smack library code?
Thanks in advance