AnsweredAssumed Answered

Smack 4.2.1-beta2-SNAPSHOT: No response received within reply timeout even before the request is sent

Question asked by cmeng on Aug 24, 2017
Latest reply on Aug 31, 2017 by cmeng

I am raising this observation again, as it seems to happen very frequent for slow device on first launch immediately after the apk is installed. The stanza request seems not specific but generally is on system startup after installation. Not sure if this is due to large amount of Omemo data need to be process during system up, as I do not remember such frequent reply timeout before implementing Omemo.

 

See also:

Smack 4.2.1-beta2-SNAPSHOT: No response received within reply timeout even when reply is received well within the specified PacketReplyTimeout.

Smack Omemo Identities Regenerate failed on slow android device due to reply timeout

 

=============== aTalk logcat capture on Sony Xperia Tablet S ================

08-25 09:19:24.450 E/αTalk: [14] org.jivesoftware.smack.roster.Roster.processException() Exception reloading roster

                            org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 10000ms (~10s). Waited for response using: IQReplyFilter: iqAndIdFilter (AndFilter: (OrFilter: (IQTypeFilter: type=error, IQTypeFilter: type=result), StanzaIdFilter: id=0ibal-113)), : fromFilter (OrFilter: (FromMatchesFilter (full): null, FromMatchesFilter (ignoreResourcepart): smith476@atalk.org, FromMatchesFilter (full): atalk.org)).

                                at org.jivesoftware.smack.AbstractXMPPConnection$7.run(AbstractXMPPConnection.java :1560)

...

08-25 09:21:37.420 D/SMACK: SENT (0): <iq to='smith476@atalk.org' id='0ibal-109' type='set'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.bundles:902688231'><item><bundle xmlns='eu.siacs.conversations.axolotl'><signedPreKeyPublic signedPreKeyId='1'>BckyQ4ns69pHmGYCVndH3uG41d1r4l/sm8xngtt6GTtr</signedPreKeyPu blic><signedPreKeySignature>bxomkKsXqZstMjOSepmsgUp4iulcaCNDg0K5Y40NJtZLMi5fnCou mst3T4a5HMuV22DrtuTcePsQMLSSBQLojA==</signedPreKeySignature><identityKey>BaYfEh9 Rp5HJDsSROw4MIW84Ub1tkyEhEf1BFZ1pARtU</identityKey><prekeys><preKeyPublic

.....

preKeyId='37'>BVvzWjAJlRIwDPh1tcy/PhsANiqSP6/pYW8KrFChdM9U</preKeyPublic><preKey Public preKeyId='42'>BYMYj8B0UQic6xwPqlEPdKgan3gRFmS6Yxvy+rrjMA4A</preKeyPublic><preKe yPublic preKeyId='43'>BfBOWPLFT62aTCNlKE

08-25 09:21:37.650 D/SMACK: SENT (0): </pubsub></iq><r xmlns='urn:xmpp:sm:3'/><r xmlns='urn:xmpp:sm:3'/><iq id='0ibal-113' type='get'><query xmlns='jabber:iq:roster' ver='2bfaf910e748483f1180d108077540a88424bfc2'></query></iq><presence id='0ibal-115'><status></status><priority>30</priority><x xmlns='vcard-temp:x:update'><photo>a1591ab3403f8842d938ebc363db39789de62548</ph oto></x><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://android.atalk.org' ver='ly4V5FEXrvryOHsfSaS6M5WX9WA='/></presence><a xmlns='urn:xmpp:sm:3' h='29'/><iq id='0ibal-117' type='set'><enable xmlns='urn:xmpp:carbons:2'/></iq>

08-25 09:21:43.380 D/SMACK: RECV (0): <iq xml:lang='en' to='smith476@atalk.org/atalk' from='smith476@atalk.org' type='result' id='0ibal-109'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.bundles:902688231'><item id='5DF985E62D325'/></publish></pubsub></iq>

08-25 09:21:43.410 D/SMACK: RECV (0): <r xmlns='urn:xmpp:sm:3'/>

08-25 09:21:43.410 D/SMACK: RECV (0): <iq xml:lang='en' to='smith476@atalk.org/atalk' from='smith476@atalk.org' type='result' id='0ibal-113'/>

Outcomes