History sync problem since 1.1.3
Versions
- OS: Windows 10
- Gajim version: 1.3.2 nightly 6/29/2021
- GTK version: 3.24.29
- Python-nbxmpp version: 2.0.2
Steps to reproduce the problem
1.Accounts---->Advance---->Synchronize History 2.Choose the duration
Expected behavior
Start synchronizing history and show progress
Actual behavior
The Synchronize window appears without progress
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Philipp Hörist moved from gajim#10596 (moved)
moved from gajim#10596 (moved)
- ticktostick changed the description
changed the description
- Maintainer
You could start the XML console (Ctrl + Shift + X) and see what's printed there while trying to sync history.
- Daniel Brötzmann added needs info in gajim label
added needs info in gajim label
- Author
I have the same problem. Using Gajim on Windows with ejabberd-21.01 on Debian 10.
Gajim 1.1.3 is the last one for which history synchronization works.
Any newer version, up to and including 1.3.2 hang on "Connecting..."
XML Console shows:
<!-- Outgoing 14.07.2021 19:51:41 (fijam@heap.ovh) --> <iq xmlns="jabber:client" to="fijam@heap.ovh" type="set" id="db9cb33c-2419-4bfb-9bfb-139b1325e436"> <query xmlns="urn:xmpp:mam:2"> <x xmlns="jabber:x:data" type="submit"> <field type="hidden" var="FORM_TYPE"> <value>urn:xmpp:mam:2</value> </field> <field type="text-single" var="end"> <value>2021-07-14T17:51:39Z</value> </field> </x> <set xmlns="http://jabber.org/protocol/rsm"> <max>0</max> </set> </query> </iq> <!-- Outgoing 14.07.2021 19:51:41 (fijam@heap.ovh) --> <r xmlns="urn:xmpp:sm:3" /> <!-- Incoming 14.07.2021 19:51:41 (fijam@heap.ovh) --> <iq xmlns="jabber:client" xml:lang="en" to="fijam@heap.ovh/gajim.KVN0TMA2AF74N3DH" from="fijam@heap.ovh" type="result" id="db9cb33c-2419-4bfb-9bfb-139b1325e436"> <fin complete="false" xmlns="urn:xmpp:mam:2"> <set xmlns="http://jabber.org/protocol/rsm"> <count>70185</count> </set> </fin> </iq> <!-- Incoming 14.07.2021 19:51:41 (fijam@heap.ovh) --> <r xmlns="urn:xmpp:sm:3" /> <!-- Outgoing 14.07.2021 19:51:41 (fijam@heap.ovh) --> <a xmlns="urn:xmpp:sm:3" h="27" /> <!-- Incoming 14.07.2021 19:51:41 (fijam@heap.ovh) --> <a h="20" xmlns="urn:xmpp:sm:3" />
Same behaviour in Fedora 34.
Gajim 1.3.2 with nbxmpp 2.0.2:
7/18/2021 18:07:01 (W) nbxmpp.m.mam (heap.ovh) first or last element missing
Gajim 1.2.1 with nbxmpp 1.0.2:
(W) nbxmpp.m.mam (heap.ovh) Received malformed stanza from fijam@heap.ovh: missing first or last element
Gajim 1.1.3 with nbxmpp 0.6.10 works fine
Collapse replies - Maintainer
In both cases the server sends us invalid content please open an issue with the server software
fijam (@fijam) gitlab@dev.gajim.org schrieb am Mo., 19. Juli 2021, 00:26:
Server-side issue reported at https://github.com/processone/ejabberd/issues/3644
- Maintainer
Hi i looked into it again, i just know saw the stanza you posted in this issue.
Seems a bug when we are trying to get the message count, there is no first or last element needed there.
- Philipp Hörist closed with commit f532ff35
closed with commit f532ff35
- Philipp Hörist mentioned in commit afaf927d
mentioned in commit afaf927d