PubSub - query never returns (#84)
Andrzej Wójcik (Tigase) opened 4 years ago
Affected versions
3.0

From our support channel:

[2021-02-27 15:02:02] <mimi89999-beagle>: That’s why I got confused
[2021-02-27 15:01:35] <mimi89999-beagle>: I’m getting an error from the server immediately, but I only enter the completion handler after a very long time.
[2021-02-27 15:00:43] <mimi89999-beagle>: <!--   2021-02-27T13:59:50Z   >>>>   -->
<iq type='get' to='mimi89999-beagle@lebihan.pl' id='A5FC3D3B-E72F-4330-886B-A44766A27986'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='eu.siacs.conversations.axolotl.bundles:1223947518'>
<item id='current'/>
</items>
</pubsub>
</iq>

<!--   2021-02-27T13:59:50Z   <<<<   -->
<iq type='error' id='A5FC3D3B-E72F-4330-886B-A44766A27986' to='mimi89999-beagle@lebihan.pl/DQ_I8wUp'>
<error type='cancel'>
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
[2021-02-27 11:20:16] <mimi89999>: The stanza gets lost somewhere
[2021-02-27 11:19:18] <mimi89999>: I get a reply when I make a similar query from Gajim

It looks like if we send stanza to BareJID some servers are responding without from being set and those responses are not properly handled in TigaseSwift.

The issue with handling responses on <iq/> requests with to when response misses from.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
3.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#84
Please wait...
Page is in error, reload to recover