Hi,
I've just updated to version 4.1.0 of Smack and I now get this error when trying to login:
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using DIGEST-MD5: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthenticati on.java:365)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPC onnection.java:1033)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPCon nection.java:937)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnecti on.java:952)
at java.lang.Thread.run(Thread.java:745)
I'm using:
new XMPPTCPConnection (XmppStringUtils.escapeLocalpart ("me@somewhere.com"),
"123456789",
"www.myhost.com");
I've also tried with using the builder for the connection but get the same error.
I have the following jars in the classpath and am using Java 7:
smack-core-4.1.0.jar
smack-tcp-4.1.0.jar
smack-extensions-4.1.0.jar
smack-im-4.1.0.jar
jxmpp-core-0.4.1.jar
jxmpp-util-cache-0.4.1.jar
smack-java7-4.1.0.jar
smack-sasl-provided-4.1.0.jar
I'm trying to connect to an Openfire server (under my control) running 3.9.3.
This worked fine with 4.0.4 of Smack. The user account has been setup correctly in Openfire and the password is correct. Everything was running smoothly with version 4.0.4.
On the server the "xmpp.domain" setting is "www.myhost.com".
I have a RSA CA signed certificate setup for "www.myhost.com" (not the real domain btw) in Openfire. However I do not have a DSA one setup (Openfire offers to set one up for me).
Can anyone point out what I'm doing wrong and/or missing?
Thanks,
Gary