Problem connecting to some servers (usually Prosody):
2017-02-07_19-59-35 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Established TCP connection to /178.33.214.172 at port 5222
2017-02-07_19-59-35 D/Smack﹕ SENT (5): <stream:stream xmlns=‘jabber:client’ to=‘basket.coach’ xmlns:stream=‘http://etherx.jabber.org/streams’ version=‘1.0’ from=‘grigory.fedorov@basket.coach’ xml:lang=‘en’>
2017-02-07_19-59-35 D/Smack﹕ RECV (5):
<?xml version='1.0'?>
<stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='basket.coach' id='2690a6ae-7793-4866-8f40-d48040958b3e' version='1.0'
xmlns=‘jabber:client’>
<c hash='sha-1' ver='bXs8XrxSU/TgUFllka/SnDFVjgQ=' node='http://prosody.im' xmlns='http://jabber.org/protocol/caps'/>
<register xmlns='http://jabber.org/features/iq-register'/>
</stream:features>
2017-02-07_19-59-35 D/Smack﹕ SENT (5):
2017-02-07_19-59-35 D/Smack﹕ RECV (5):
2017-02-07_19-59-35 D/Smack﹕ SENT (5): <stream:stream xmlns=‘jabber:client’ to=‘basket.coach’ xmlns:stream=‘http://etherx.jabber.org/streams’ version=‘1.0’ from=‘grigory.fedorov@basket.coach’ xml:lang=‘en’>
2017-02-07_19-59-35 D/Smack﹕ RECV (5):
<?xml version='1.0'?>
<stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='basket.coach' id='46b0b0db-dba0-4517-9db4-1fea9c4c38c9' version='1.0'
xmlns=‘jabber:client’>
<mechanisms
xmlns=‘urn:ietf:params:xml:ns:xmpp-sasl’>
PLAIN
SCRAM-SHA-1
SCRAM-SHA-1-PLUS
<c hash='sha-1' ver='bXs8XrxSU/TgUFllka/SnDFVjgQ=' node='http://prosody.im' xmlns='http://jabber.org/protocol/caps'/>
<auth mlns='http://jabber.org/features/iq-auth'/>
</stream:features>
2017-02-07_19-59-35 D/Smack﹕ SENT (5): eSwsbj1ncmlnb3J5LmZlZG9yb3Yscj1aOUNlSSJ9NicxO0tJJnVMe2h IdC5Saj1naG9Bczx7KA==
2017-02-07_19-59-36 D/Smack﹕ RECV (5):
2017-02-07_19-59-36 org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: malformed-request
2017-02-07_19-59-36 org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthenticati on.java:290)
2017-02-07_19-59-36 org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPC onnection.java:1081)
2017-02-07_19-59-36 org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPCon nection.java:980)
2017-02-07_19-59-36 org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnecti on.java:995)