The Google Talk service does not support the discovery of items. Performing a query will throw an
XMPP exception.
Problem:
When trying to establish a Socks5 stream, the Socks5StreamManager tries to retrieve all Socks5 proxy of the XMPP server.
This fails for Google Talk and so no Socks5 stream is established although a direct Socks5 stream connection may be possible.
Class: Socks5BytestreamManager
Method: public Socks5BytestreamSession establishSession(String targetJID, String sessionID) throws XMPPException, IOException, InterruptedException
Change:
// determine SOCKS5 proxies from XMPP-server
List proxies = determineProxies();
to
List proxies = new ArrayList()
try
{
proxies.addAll(determineProxies());
} catch(XMPPException e)
{
… do exception stuff here
}