powered by Jive Software

SASL authentication troubles


I’m trying to create a very simple XMPP client - connect and login to “jabber.ru” server using my own account. The most workable feature I was able to

implement is connection establishment. All my tries to make login work failed. It just throws SASL exception “SASL authentication DIGEST-MD5 failed: not-authorized”.


at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java: 337)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:230)

I’ve read some of the topics here describing similar problems and applied some patches to the Smack. It gave no result. I’ve tried to rewrite “challengeReceived” method, down-grading to 3.0.4 and setting different connection parameters. Nothing helped. What should I do?