powered by Jive Software

SMACK-295: Status of the latest beta client

Hello,

I have check the latest Spark client (rev.11653) and con not report a sucessfull correction.

After loosing the network connection, the client shows (seldomly but regulary) the users in offline status. This is not easy to reproduce. My user is shown as online in Spark, while the server says the user is offline. Smack debug shows outbound messages, but no answers. On the server side the user is shown as offline.

After disconnecting the client from the network the loss of connection is shown in Spark and a sucessfull reconnect was possible.

Fortunately the debug window of smack was running, the following data steems from the point in teme were the connect was lost and the reconnect was not sucessful.

I hope this helps a bit

Walter

The last messages im SMACK outbound to the server were:

<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="dcc7ed42" xml:lang="en" version="1.0">
<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="dcc7ed42" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImphYmJlci5pbnQua24iLG5vbmNlPSIrSDBjZVd3L2dnTjhFQ3BWK3gxQzdnVWNBcVJYKzJDR1JRVVJCSTVJIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1mMzlmMDk5MDQyODBmYTU3YzEwZDBlYTBlMGFhNDgxNg==</success>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="dcc7ed42" xml:lang="en" version="1.0"><stream:features><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="6c69226" xml:lang="en" version="1.0">
<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="6c69226" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="22b05f72" xml:lang="en" version="1.0">
<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber" id="22b05f72" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>JIVE-SHAREDSECRET</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
<iq type="result" id="GhUUc-225"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username><password/><digest/><resource/></query></iq>
<iq type="result" id="GhUUc-226" to="walter.ebeling@jabber/spark"/>
<compressed xmlns='http://jabber.org/protocol/compress'/>
Inbound form the server were the last messages. <iq id="GhUUc-215" type="get"><query xmlns="jabber:iq:private"><scratchpad xmlns="scratchpad:tasks"/></query></iq>
<presence id="GhUUc-216" type="unavailable"><x xmlns="vcard-temp:x:update"><photo>936a54c5c23e1d715ef264637ddc448d73eefe0e</photo></x><x xmlns="jabber:x:avatar"><hash>936a54c5c23e1d715ef264637ddc448d73eefe0e</hash></x></presence>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Y2hhcnNldD11dGYtOCx1c2VybmFtZT0id2FsdGVyLmViZWxpbmciLHJlYWxtPSJqYWJiZXIuaW50LmtuIixub25jZT0iK0gwY2VXdy9nZ044RUNwVit4MUM3Z1VjQXFSWCsyQ0dSUVVSQkk1SSIsbmM9MDAwMDAwMDEsY25vbmNlPSJiMjMzaDFVSGZ3Rnlhc2x4VU04UVJvL0dKVnlGUlkzTk4zL3J5VTRaIixkaWdlc3QtdXJpPSJ4bXBwL2phYmJlci5pbnQua24iLG1heGJ1Zj02NTUzNixyZXNwb25zZT1lMzE5MjdiMDA4MWZkYmJlNTcxOTVmMDM3MDcyNWNhNCxxb3A9YXV0aCxhdXRoemlkPSJ3YWx0ZXIuZWJlbGluZyI=</response>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<iq id="GhUUc-221" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>spark</resource></bind></iq>
</stream:stream>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
</stream:stream>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<iq id="GhUUc-225" type="get"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username></query></iq>
<iq id="GhUUc-226" type="set"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username><digest>32abec21f0839edc19a56c6b464a11f9ec13d82b</digest><resource>spark</resource></query></iq>
<compress xmlns='http://jabber.org/protocol/compress'>
<method>zlib</method></compress>
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
<stream:stream to="jabber" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" version="1.0">
<iq id="GhUUc-228" type="get"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username></query></iq>
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
<iq id="GhUUc-230" type="get"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username></query></iq>
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl"></auth>
<iq id="GhUUc-232" type="get"><query xmlns="jabber:iq:auth"><username>walter.ebeling</username></query></iq>
<iq id="GhUUc-233" type="get"><query xmlns="jabber:iq:roster"></query></iq>
<presence id="GhUUc-234" to="gtalk.jabber"><status>Away</status><priority>1</priority><show>away</show><x xmlns="vcard-temp:x:update"><photo>936a54c5c23e1d715ef264637ddc448d73eefe0e</photo></x><x xmlns="jabber:x:avatar"><hash>936a54c5c23e1d715ef264637ddc448d73eefe0e</hash></x></presence>

Hi,

I can’t reproduce your error. Can you reproduce it and provide more details, is any exception is thrown?

Regards

Guenther

Hi Günther,

there is no exception in the logs. I’ll keep an eye on it and try to get something solid for bug hunting.

Walter