G

reconnection is not working correctly

When reconnecting after a long time (e.g. after computer has been in sleep for an extender period), the backend reconnect but new messages are not sent correctly (if we send a message to a MUC, it seems to be sent, but it is not). The following logs are visible when trying to send a message:

2019-07-09 07:43:57+0200 [-] [twisted] /etc/resolv.conf changed, reparsing
2019-07-09 07:43:57+0200 [-] [twisted] Resolver added ('192.168.0.1', 53) to server list
2019-07-09 08:01:05+0200 [-] [sat.core.xmpp] Sending message (type groupchat, to sat@chat.jabberfr.org)
2019-07-09 08:01:05+0200 [XmlStream,client] [sat.core.xmpp] Connection lost: Connection to the other side was lost in a non-clean fashion.
2019-07-09 08:01:05+0200 [XmlStream,client] [twisted] <wokkel.client.XMPPClientConnector instance at 0x7f5217b7eb00> will retry in 2 seconds
2019-07-09 08:01:05+0200 [XmlStream,client] [twisted] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x7f5214965850>
2019-07-09 08:01:07+0200 [-] [twisted] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x7f5214965850>
2019-07-09 08:01:07+0200 [-] [twisted] DNSDatagramProtocol starting on 35799
2019-07-09 08:01:07+0200 [-] [twisted] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f52006f1550>
2019-07-09 08:01:08+0200 [-] [twisted] (UDP Port 35799 Closed)
2019-07-09 08:01:08+0200 [-] [twisted] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f52006f1550>
2019-07-09 08:01:08+0200 [Uninitialized] [sat.plugins.plugin_misc_xmllog] XML log activated
2019-07-09 08:01:11+0200 [XmlStream,client] [sat.core.xmpp] jabberfr identified
2019-07-09 08:01:11+0200 [XmlStream,client] [sat.core.xmpp] Le flux XML est initialisé
2019-07-09 08:01:11+0200 [XmlStream,client] /!\ [sat.plugins.plugin_xep_0198] req_timer has been called/cancelled but not reset
2019-07-09 08:01:11+0200 [XmlStream,client] [sat.plugins.plugin_xep_0198] stream resumption not possible, restarting full session: item-not-found
2019-07-09 08:01:11+0200 [XmlStream,client] [sat.core.xmpp] our server support roster versioning, we use it
id

322

author

Goffi

created

09/07/2019, 06:08

updated

16/07/2019, 20:03

labels
backend
type
bug
status
closed
priority
normal
milestone
0.7
severity
normal