Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

aSmack-4.0.0-rc2 ResourceBindingNotOfferedException

$
0
0

Hi everyone, just tested asmack-android-8-4.0.0-rc2-SNAPSHOT-2014-04-30.jar. It throws ResourceBindingNotOfferedException on login.

 

Here is code to test:

        SmackConfiguration.DEBUG_ENABLED = true;

 

        String host = "chatstage.quickblox.com";

 

        ConnectionConfiguration configuration = new ConnectionConfiguration(host);

        configuration.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);

 

        final XMPPConnection connection = new XMPPTCPConnection(configuration);

        connection.connect();

        connection.login("18551-438", "videoChatUser1");

 

Log:

 

SENT (0): <stream:stream to="chatstage.quickblox.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">

RCV (0): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' from='chatstage.quickblox.com' id='1b2bc566-f142-4a37-9a31-52028d43ac31' version='1.0' xml:lang='en'>

RCV (0): <stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism >ANONYMOUS</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>

SENT (0): <auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">ADE4NTUxLTQzOAB2aWRlb0NoYXRVc2VyMQ==</ auth>

RCV (0): <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>

SENT (0): <stream:stream to="chatstage.quickblox.com" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">


Viewing all articles
Browse latest Browse all 10742

Trending Articles