3 Replies Latest reply on Jul 21, 2017 2:50 AM by cmeng

    Smack OmemoManager.purgeDevices() throws NoResponseException prior to sending the stanza

    cmeng

      omemoManager.purgeDevices() throws a SmackException$NoResponseException even before the actual stanza is being sent. See log below.

      Basing on the log event time stamp, it seems that the waiting filter IQ has been set incorrectly / or overwritten by the next stanza on the queue?

       

      ==================== aTalk log on purgeDevices() =======================

      07-09 09:19:17.219 D/SMACK: SENT (0): <iq to='leopard@atalk.org' id='qyRxG-173' type='set'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.devicelist'><item><list xmlns='eu.siacs.conversations.axolotl'><device id='1604234256'/></list></item></publish></pubsub></iq>

      07-09 09:19:17.349 D/SMACK: RECV (0): <iq xml:lang='en' to='leopard@atalk.org/atalk' from='leopard@atalk.org' type='result' id='qyRxG-173'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.devicelist'><item id='5DB89793A63A5'/></publish></pubsub></iq>

      07-09 09:19:17.379 D/SMACK: RECV (0): <r xmlns='urn:xmpp:sm:3'/>

      07-09 09:19:17.399 D/SMACK: RECV (0): <message to='leopard@atalk.org/atalk' from='leopard@atalk.org' type='headline'><event xmlns='http://jabber.org/protocol/pubsub#event'><items node='eu.siacs.conversations.axolotl.devicelist'><item id='5DB89793A63A5'><list xmlns='eu.siacs.conversations.axolotl'><device id='1604234256'/></list></item></items></event><addresses xmlns='http://jabber.org/protocol/address'><address jid='leopard@atalk.org/atalk' type='replyto'/></addresses></message>

      07-09 09:19:22.879 W/System.err: org.jivesoftware.smack.SmackException$NoResponseException: 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=qyRxG-176)), : fromFilter (OrFilter: (FromMatchesFilter (full): leopard@atalk.org, FromMatchesFilter (full): null)).

      07-09 09:19:22.889 W/System.err:     at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:2 53)

      07-09 09:19:22.889 W/System.err:     at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:2 08)

      07-09 09:19:22.889 W/System.err:     at org.jivesoftware.smackx.pubsub.LeafNode.send(LeafNode.java:350)

      07-09 09:19:22.889 W/System.err:     at org.jivesoftware.smackx.pubsub.LeafNode.send(LeafNode.java:325)

      07-09 09:19:22.899 W/System.err:     at org.jivesoftware.smackx.pubsub.PubSubManager.tryToPublishAndPossibleAutoCreate( PubSubManager.java:394)

      07-09 09:19:22.899 W/System.err:     at org.jivesoftware.smackx.omemo.OmemoService.publishBundle(OmemoService.java:300)

      07-09 09:19:22.899 W/System.err:     at org.jivesoftware.smackx.omemo.OmemoManager.purgeDevices(OmemoManager.java:374)

      07-09 09:19:22.899 W/System.err:     at org.atalk.crypto.omemo.OmemoDeviceDeleteDialog$2.onClick(OmemoDeviceDeleteDialo g.java:104)

      07-09 09:19:22.899 W/System.err:     at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertContr oller.java:162)

      07-09 09:19:22.899 W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)

      07-09 09:19:22.909 W/System.err:     at android.os.Looper.loop(Looper.java:145)

      07-09 09:19:22.909 W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5940)

      07-09 09:19:22.909 W/System.err:     at java.lang.reflect.Method.invoke(Native Method)

      07-09 09:19:22.909 W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)

      07-09 09:19:22.909 W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1389 )

      07-09 09:19:22.909 W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1184)

      07-09 09:22:08.849 D/SMACK: SENT (0): <iq to='leopard@atalk.org' id='qyRxG-176' type='set'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.bundles:1604234256'><item><bundle xmlns='eu.siacs.conversations.axolotl'><signedPreKeyPublic signedPreKeyId='1'>BRrzarnIyYx8CiyOcvGZHGFDIuk8ahApVUTYJlGmNQ8y</signedPreKeyPu blic><signedPreKeySignature>RuMzAEBr21bXjsJ91GdlAnhyQSAFTKWms1tSq/IOnfcdh2LRlvPu UJJvznd6vfVzxgOsW+oNyXswJUKFYYFsjQ==</signedPreKeySignature><identityKey>BcBVdk+ +LLlB+H0cVIWl/HUg4PB3B/lYnTuZSW4pLt0D</identityKey><prekeys><preKeyPublic preKeyId='71'>BUh1xIbw9n+iD5vVxsP3e8fHd8ZTEUCMAmbGP9gk5k1x</preKeyPublic><preKe yPublic preKeyId='97'>BU7/+mypKARX1RvaEIfPdveJ7rsH7zXaUL9ny5hgamk4</preKeyPublic><preKe yPublic preKeyId='23'>BeSRFhYzQSQcMEnJTAal8pWJO9pNiYIghqWJsqzo4fks</preKeyPublic><preKe yPublic preKeyId='54'>Bd+TMbbghylI/lbzjinwd1KsrRN8jCzPbexfTDrAWCU9</preKeyPublic><preKe yPublic preKeyId='94'>Bbc9iEIIr0m126rRJDYJMjIq8wgCxvoTaYMNVZ5mOa4+</preKeyPublic><preKe yPublic preKeyId='55'>BZpJ5frIzbXVHyMJfC49v7DXG/IYlB2LHBBdD3CV0DFv</preKeyPublic><preKe yPublic preKeyId='17'>BQQkGBmsP5H6E+dBgWwHx9P5aV76TqBGlys9HomenbV+</preKeyPublic><preKe yPublic preKeyId='64'>BVF1QZ+gdSlvC+skvUk/ZDBBox9u/Y+q/vmaXV0g9uIA</preKeyPublic><preKe yPublic preKeyId='84'>Bb1bT7rMZmhmKKNA9GT+cxydiuGy0QGQrNUJAD/aBmsO</preKeyPublic><preKe yPublic preKeyId='49'>BYSKbF4/kex+gUvuRO1u1Yzv40kOnLCsh/DEjru/YPYj</preKeyPublic><preKe yPublic preKeyId='67'>BfESXGuQ6sprHYX9lsoIi11Cdsp3J6yGE7YE1d10abhE</preKeyPublic><preKe yPublic preKeyId='30'>BdX/7rBf9K9Drp0jPz5XfdAf8QFomF+Arr3leAjYjiRz</preKeyPublic><preKe yPublic preKeyId='3'>BTyRBy7Danhza3pw5g/MZY81nceZeQ9g7k/WLRJXJ9Nj</preKeyPublic><preKey Public preKeyId='57'>BRsSTAqflFIfWfyRCp1I/jyFicT8G+FdOA24k8lJPJoc</preKeyPublic><preKe yPublic preKeyId='61'>BXKEfwAhbTz/PId/y4Dq54Gc9RD/GLelz1j25iPPGKcM</preKeyPublic><preKe yPublic preKeyId='59'>Be/v1QfCpKYiybw0oQHkhaK19yXeMkuAQcpr/x4xmic6</preKeyPublic><preKe yPublic preKeyId='93'>BSmyrhDY5oGSSzHiPyGPjJaH3Zz29Bpz+5LBA2yF2NRE</preKeyPublic><preKe yPublic preKeyId='86'>BQwo22XvwZTqMrZXUX51K6HWl2nEuSbMUAS0co6WFA4p</preKeyPublic><preKe yPublic preKeyId='81'>BU/G4DPnqOKcGVTv0RDuI4/zvSKQtXBNPJe/fzS3F8g4</preKeyPublic><preKe yPublic preKeyId='9'>BSdC54cTW1VV1J6vjqFldhaMzrJ1ynq05PTiE8My/RIN</preKeyPublic><preKey Public preKeyId='40'>BZWjnlciOIWOdml+mtZd1iCVzG9FCEYRe1C18kxs7qZr</preKeyPublic><preKe yPublic preKeyId='24'>BVhkISLTQzgfBLmVkqXvkL1fgeawAJr9U6Fcfs/2LGFl</preKeyPublic><preKe yPublic preKeyId='96'>BR1ORiAUTWE3Vi3Srmq8Y+M/aSP74k8tk8+09wZthKk3</preKeyPublic><preKe yPublic preKeyId='102'>BV+FF5W7vnDZ9Kq1y4ClroC76nySPndf5Zuxc7Zr0K4f</preKeyPublic><preK eyPublic preKeyId='63'>BdrHJG5/0B9rwHxYHnejlui8N5MnWEA6c3eoIE/GKyVz</preKeyPublic><preKe yPublic preKeyId='68'>BQFEpp5SsDzZXKF/ykfYft0/WwBrNJ5MiW23T95BbIJn</preKeyPublic><preKe yPublic preKeyId='45'>BX9v86L5oXlGBIQBlV2dSB/GHHNBaoNMJ+/zEzC6KcU5</preKeyPublic><preKe yPublic preKeyId='80'>BXhI/7oJAmyK7trY1Mny1oyAgv3Vpu0d73qJWptVBFQd</preKeyPublic><preKe yPublic preKeyId='28'>BZT5F2llCsxCXn5Uj1q0XjM1VqXwZEFqVLuepwAv+eYR</preKeyPublic><preKe yPublic preKeyId='1'>BY5eD+vv/JA2+O2JTn48iBTamAQ1xl2d/+sHLrS+PTYM</preKeyPublic><preKey Public preKeyId='15'>BU5gEOB6ha57ZtrUOyBLwWYAls3PV82L803/He2MjgRP</preKeyPublic><preKe yPublic preKeyId='56'>BfbzHpWg4FLfrVEO/Bk+x+JZfAuCvi5pSSfoskawvgVK</preKeyPublic><preKe yPublic preKeyId='87'>BZ0OQQMMwkttS3XXM1MHr85mub+hOpH60lkYZwoerAQC</preKeyPublic><preKe yPublic preKeyId='26'>BeN4PSzumn9K/94ZwFhZhSALpLyZTr8m9Mm/fehedWxM</preKeyPublic><preKe yPublic preKeyId='41'>BVooJJ8nu30O6vDE42aOvJ+pUpLcgWycEEm8AKjYe253</preKeyPublic><preKe yPublic preKeyId='25'>BV1SoVVLMwVUIBZ8dlaFizfDffY2OWuemyPiMDetcEsO</preKeyPublic><preKe yPublic preKeyId='60'>BcKBPX5CNwZd45OOWoQ1qXh6dYI58RfUZSAtggArJjkW</preKeyPublic><preKe yPublic preKeyId='58'>BatlhKhFMR7YYoYJXGKCjwSro16fiUua95YT6LnnvbdI</preKeyPublic><preKe yPublic preKeyId='46'>BUtbjsjmtt8BEZE1tTlmqkd+yTNMCZdacHMZDVHUY3M7</preKeyPublic><preKe yPublic preKeyId='14'>BQodeYv5ABJpZ7AT7zvpD5S9UeWrzTLGSbSr9Uv6hvAa</preKeyPublic><preKe yPublic preKeyId='20'>BZ0dNyimKh/

      07-09 09:22:08.849 D/SMACK: SENT (0): </pubsub></iq>

      07-09 09:22:13.179 D/SMACK: RECV (0): <iq xml:lang='en' to='leopard@atalk.org/atalk' from='leopard@atalk.org' type='result' id='qyRxG-176'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='eu.siacs.conversations.axolotl.bundles:1604234256'><item id='5DB898436B6C6'/></publish></pubsub></iq>

      07-09 09:26:13.099 D/SMACK: RECV (0): <iq to='leopard@atalk.org/atalk' from='atalk.org' type='get' id='10696268439859765316'><ping xmlns='urn:xmpp:ping'/></iq>

      07-09 09:26:13.209 D/SMACK: SENT (0): <iq to='atalk.org' id='10696268439859765316' type='result'></iq><r xmlns='urn:xmpp:sm:3'/>