SASLError using DIGEST-MD5: incorrect-encoding

D/SMACK﹕ SENT (0): <stream:stream xmlns=‘jabber:client’ to=’(server-ip)’ xmlns:stream=‘http://etherx.jabber.org/streams’ version=‘1.0’>

D/SMACK﹕ RCV (0): <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream=“http://etherx.jabber.org/streams” xmlns=“jabber:client” from=“server” id=“a9c7264d” xml:lang=“en” version=“1.0”>

D/SMACK﹕ RCV (0): stream:featuresDIGEST-MD5PLAINANONYMOUSCRAM-MD5</mech anism>zlib</stream:features>

D/SMACK﹕ SENT (0): =

D/SMACK﹕ RCV (0):

E/XMPPManager login failed﹕ org.jivesoftware.smack.sasl.SASLErrorException: SASLError using DIGEST-MD5: incorrect-encoding

at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(Unknown Source)

at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(Unknown Source)

at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(Unknown Source)

at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(Unknown Source)

Smack 4.1.0 alpha1 and 2

Openfire 3.10.0 Alpha

I don’t think that this is a Client (library, i.e. Smack) problem.

Thank you, tested on other server and it worked. Maybe because it’s an alpha version.

Confirmed, see https://igniterealtime.org/issues/browse/OF-736?focusedCommentId=22759&page=com. atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-22759