Hey folks. I’‘m new to Smack and jabber programming in general. I’'m trying to make a simple web client that is able to log into talk.google.com.
I was able to authenticate through a local Jiver server just fine, but logging into google comes back with an error 405, which seems to have something to do with the authentication method. I believe google requires TLS, but it’'s looking as though smack only supports plain text and SSL… is this the case?
Welcome to the Smack forums! As you’‘ve found, a few tweaks need to be made to Smack before it can connect to talk.google.com. We’‘re going to see if we can get those done over the next couple of days and get a new version released. In the meantime, you may wish to start coding your application by talking to another server such as Jive Messenger. You shouldn’'t need any code changes other than the server to connect to once we officially release Google Talk support.
We’'ll be sure to post progress throughtout the day on how the integration effort is going. We definitely want Smack to be the easiest and best way to connect to Google Talk through Java.
alright chaps! how’‘s that google talk fix coming along? I’‘ve messed around with Muse too and had no luck connecting. I’'m impressed that you are already on the case - are there many changes needed?
I’'m really impressed with the software you guys have cooked up. I tried setting up a jabberd server a few years ago, and although I did end up with a working server in the end, I walked away not just frusterated with jabberd, but completely turned off of jabber in general. If not for google using it, I probably never would have looked at the technology again.
All of your stuff has truely been a pleasure to use though, and the price certainly can’‘t be beat I’'m hoping I can find a way to work it into future projects.
Anyway, keep it up. I’'m looking forward to the next Smack release.
We are about to release Smack 2.0.0 with the TLS and SASL improvements. I tested the changes and Smack is able to connect to GoogleTalk using TLS and SASL. I was also able to connect to jabber.org using TLS and Non-SASL authentication. All the changes have been checked in and we are going to release the new Smack version tomorrow. If you are too anxious and cannot wait until the official release is out then you can download and use the next nightly build.
Smack 2.0.0 is out. New features affect the way Smack connects and authenticates with the server. Therefore, they should be transparent to you. We also provide a GoogleTalkConnection that is a convenience class to make it easier to connect to GoogleTalk. Follow this link to read more about url=http://www.jivesoftware.org/smack/smack_gtalk.jspGoogleTalk connection[/url].
You are a genius! Thanks for the quick turn around. My simple program is working. The only mistake i made was using my full email address as the login, whereas i should not have appended the @gmail.com for the username. Looking forward to exploring more features.