I am re-open the issue as it happens quite frequent (10~20%) while performing system testing on aTalk installed on Note 3. The “No response received within reply timeout” can happen under following conditions:
-
Reply received well within the specified timeout (case #1)
-
Even before the request stanza is sent (no log attached)
-
Even before the request is sent (case #2)
I am not sure if the problem happen because there are too many smack debug messages being sent to console.
======= Case #1 ===========
08-03 11:50:45.881 D/SMACK: SENT (0):
08-03 11:50:46.331 D/SMACK: RECV (0): <feature var='http://jabber.org/protoco
08-03 11:50:46.331 D/SMACK: RECV (0): l/pubsub#publish’/>
08-03 11:50:55.891 E/αTalk: [10] org.jivesoftware.smackx.omemo.OmemoManager.run() connectionListener.authenticated() failed to initialize OmemoManager: 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=cx166-109)), : fromFilter (OrFilter: (FromMatchesFilter (full): leopard@atalk.org, FromMatchesFilter (full): null)).
======= Case #2 ===========
08-03 12:11:50.011 D/SMACK: SENT (0): BcdRaXODwwV2iX21saahdi5EXYx2zHnKL9ToLHwQPExS</signedPreKeyPu blic>9InTdCLINuWZFTQpidfrcoCthzXG0UEBWG6KC+0pLXUlclSKZo6C OLUCgZT26lfv7Xw5PUW+WkJwC7F2avykAA==BbZGG4d UIqGR4GkiE2QDSwoa2JnFyiTowje+tIlOkAZ5BbW/KsLDl9IoAu9mmojckoRpRXBIRc+APhilqE+Ua193<preK eyPublic
…
preKeyId=‘46’>BeXzeIe5mr3a0Dbz+wsSYpnHPt0zB9CdlzM6g2TpVuUH<preKey Public preKeyId=’
08-03 12:11:53.361 E/αTalk: [17] org.jivesoftware.smackx.omemo.OmemoManager.run() connectionListener.authenticated() failed to initialize OmemoManager: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: IQReplyFilter: iqAndIdFilter (AndFilter: (OrFilter: (IQTypeFilter: type=error, IQTypeFilter: type=result), StanzaIdFilter: id=cx166-170)), : fromFilter (OrFilter: (FromMatchesFilter (full): leopard@atalk.org, FromMatchesFilter (full): null)).
08-03 12:12:02.861 D/SMACK: RECV (0): <iq xml:lang=‘en’ to=‘leopard@atalk.org/atalk’ from=‘leopard@atalk.org’ type=‘result’ id='cx166-170’>