powered by Jive Software

Consistent Errors using 3.0.4 against GTalk

I regularly get message bounce backs using Smack 3.0.4 when sending messages to GTalk users, but not to jabber.org users. This is with the client connecting to GTalk in orer to send messages:

final ConnectionConfiguration config = new ConnectionConfiguration(“talk.google.com”, 5222, “gmail.com”);

XMPPConnection c = new XMPPConnection(config);


c.login(login, pass);

Presence presence = new Presence(Presence.Type.available);


Then to send a message:

Message m = new Message(chat.getParticipant(), Message.Type.chat);



In order to set the chat type, which other posts in this forum imply GTalk requires.

The bounce back errors are of the form:

Sadly, i am wholly unable to figure out why this is happening. Any clues?