I am using Smack 2.2.0 (w/ JDK 1.5) and attempting to connect to GTalk services. I am working from behind a proxy server, and so I have set up the necessary proxy settings (as system properties). When I attempt to login, i get the following error stack:
XMPPError connecting to talk.google.com:5222.: (502)
– caused by: java.net.ConnectException: Connection timed out: connect
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:281)
Has anyone else come across this issue?