powered by Jive Software

I got the same problem:Failed : SASL authentication failed:

I got the same question like m33p

I found an older threat dealing with a login method … but couldn’‘t reply there so here’'s the new threat.

My code snippet is as following:

package Chat;

import org.jivesoftware.smack.*;

public class Login {

public static void main(String[] args) {

try {

XMPPConnection connection = new XMPPConnection(“jabber.org”, 5222);


} catch (Exception e) {

System.out.println("Failed : " + e);




Failed : SASL authentication failed:

please see http://www.jivesoftware.org/community/thread.jspa?messageID=120348&#120348 for an answer.

If everyone who could simply confirm an existing problem would post a new thread then the process to solve it would get much more simplified. wouldn’'t it?