No connection to server if session resumption fails (no new session initiation)
- Gajim git master be420d44
- python-nbxmpp git master f2a2033878
Server gone:
12/13/2018 23:55:57 (W) nbxmpp.dispatcher_nb: Unknown stanza: <error xmlns="http://etherx.jabber.org/streams"><system-shutdown xmlns="urn:ietf:params:xml:ns:xmpp-streams" /><text xmlns="urn:ietf:params:xml:ns:xmpp-streams">Received SIGTERM</text></error>
12/13/2018 23:55:58 (D) nbxmpp.smacks: IN, error
12/13/2018 23:55:58 (I) nbxmpp.client_nb: Disconnecting NBClient: system-shutdown
12/13/2018 23:55:58 (D) nbxmpp.client_nb: Client disconnected..
12/13/2018 23:55:58 (D) nbxmpp.client_nb: Calling disconnect handler <bound method Connection._on_disconnect of <gajim.common.connection.Connection object at 0x7f749dcd8c18>>
Gajim reconnects:
<failed xmlns='urn:xmpp:sm:3'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></failed>
_____________
(E) nbxmpp.smacks: StreamManagement negotiation failed
(I) nbxmpp.smacks: Session timed out, last server h: None
(E) nbxmpp.smacks: Server did not send h attribute
(I) gajim.c.connection: Resume failed
And nothing more. 30 minutes later Gajim reconnects once again, tries to restore the same non-existent session and so on in a loop.