I eagerly downloaded Smack 2.0.0 a few minutes ago but I can’'t get a GoogleTalkConnection up - I always get “XMPPError connecting to talk.google.com:5222.: (502)” in construction of a new GoogleTalkConnection. I have smack.jar, smackx.jar on classpath, and my code is as simple as:
GoogleTalkConnection con = new GoogleTalkConnection();
Chat newChat = con.createChat("email@example.com");
What could be going on? I am not running a firewall, I can connect to google talk using the username and pwd in google talk itself - the only other thing I can think of is that I’‘m using 1.4.1 java, it doesn’'t require 1.4.2 does it?