I’ve posted this once to the Spark Dev list, but I now realize that the problem is within Smack.
While testing beta 2 of spark, I found i could not connect to my server (ejabberd 2.0.1). I started debugger window to see what traffic looked like between the client and server and found the following:
Raw Sent Packets:
<stream:stream to=“ldmltd.ca” xmlns=“jabber:client” xmlns:stream="http://etherx.jabber.org/streams" version=“1.0”>
<stream:stream to=“ldmltd.ca” xmlns=“jabber:client” xmlns:stream="http://etherx.jabber.org/streams" version=“1.0”>
Raw Recieved Packets:
<?xml version='1.0'?>stream:features
DIGEST-MD5PLAIN</stream:features>](http://jabber.org/features/iq-register’/></stream:features>)
stream:featuresDIGEST-MD5PLAIN</stream:features>](http://jabber.org/features/iq-register’/></stream:features>)
I looks to me that Spark is trying to use an auth mechanism that the server is not advertising. Spark 2.5.8 works correctly by using auth method PLAIN, which the server does advertise, however, the beta is trying to use CRAM-MD5, which the server does not advertise.
Please let me know if I you have any other tests that I can run to get this fixed.
-Greg