I have a ejabberd installed on my mac os x 10.6 and trying to connect to it using smack 3.1.
Here is my code:
ConnectionConfiguration config = new ConnectionConfiguration(
“127.0.0.1”, 5222, “localhost”, ProxyInfo.forDefaultProxy()
XMPPConnection con = new XMPPConnection( config );
for this line: con.login(“user”, “pass”);
i receive this:
“Exception in thread “main” SASL authentication failed using mechanism DIGEST-MD5:”
The Adium the ichat can connect easily. What could be the problem?
Based on a previous topic, i downloaded the svn version and using a compiled version from it.
Any help would be much appreciated.