Reset connection from the server side causes the client to crash
Versions
- OS: Ubuntu 19.10
- GTK Version: 3.24.12
- PyGObject Version: 3.34.0
- GLib Version : 2.62.0
- python-nbxmpp Version: 0.9.94
- Gajim Version: 1.1.94+f8b22b1d
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher.py", line 489, in _timeout_check
func(self._client, StanzaTimeoutError(id_), **user_data)
File "/usr/lib/python3/dist-packages/nbxmpp/client.py", line 789, in _on_pong
self._disconnect(immediate=True)
File "/usr/lib/python3/dist-packages/nbxmpp/client.py", line 409, in _disconnect
self._con.disconnect()
AttributeError: 'NoneType' object has no attribute 'disconnect'
Steps to reproduce the problem
- Be connected to a server
- Reboot the server so when it comes up, the client get connection reset