SASL authentication DIGEST-MD5 failed: not-authorized

Using the latest spark (2.6.3) as well as 2.6.2, I get this erro when I try to login to OpenFire (tried 2 servers so far). I’m on Win7 Ultimate 64bit.

WARNING: Exception in Login:

SASL authentication DIGEST-MD5 failed: not-authorized:

at org.jivesoftware.smack.SASLAuthentication.authenticate( 337)

at org.jivesoftware.smack.XMPPConnection.login(

at org.jivesoftware.LoginDialog$LoginPanel.login(

at org.jivesoftware.LoginDialog$LoginPanel.access$1200(

at org.jivesoftware.LoginDialog$LoginPanel$4.construct(

at org.jivesoftware.spark.util.SwingWorker$

at Source)

It tells my my login has failed but I can login elsewhere with it (and with other clients like Pidgin).

Any ideas?


Hmm, maybe this is related to:

I don’t know, but try to change openfire xmpp.domain name to match server fqdn

Go to openfire admin console: Server Manager/Server information. click edit and change Server name to match fqdn