SASL authentication failed using mechanism DIGEST-MD5

Hi All,

I need some help here. I am getting this error when I try to connect from client application.

( Openfire 3.6.4, Smack 3.1.0, Spark 2.5.8 )

error

Unable to connect to the service

SASL authentication failed using mechanism DIGEST-MD5:

at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentica

tion.java:325)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:395)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:349)

at smack.pega.ajaxImpl.AjaxSmack.login(AjaxSmack.java:118)

at smack.pega.ajaxImpl.AjaxSmack.(AjaxSmack.java:69)

any suggestions whould be greatly appreciated. Thank you.

Regards,

CheeLoong