Bot stopped connecting to new contacts after a couple of weeks
Log:
[ERROR] otrbot.core.client: Failed to remove JID chris@jabber.greenhost.nl from roster {u'heus@xmpp.freepressunlimited.org': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'maarten@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'chris@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'suzanne@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'heus@freepressunlimited.org': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'totem2@jabme.eu': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'user@jabber.example.com': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}}
[ERROR] otrbot.core.client: Failed to remove JID suzanne@jabber.greenhost.nl from roster {u'heus@xmpp.freepressunlimited.org': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'maarten@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'chris@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'suzanne@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'heus@freepressunlimited.org': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'totem2@jabme.eu': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'user@jabber.example.com': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}}
[ERROR] otrbot.core.client: Failed to remove JID heus@freepressunlimited.org from roster {u'heus@xmpp.freepressunlimited.org': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'maarten@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'chris@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'suzanne@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'heus@freepressunlimited.org': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'totem2@jabme.eu': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'user@jabber.example.com': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}}
[ERROR] otrbot.core.client: Failed to remove JID totem2@jabme.eu from roster {u'heus@xmpp.freepressunlimited.org': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'maarten@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'chris@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'suzanne@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'heus@freepressunlimited.org': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'totem2@jabme.eu': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'user@jabber.example.com': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}}
[ERROR] otrbot.core.client: Failed to remove JID user@jabber.example.com from roster {u'heus@xmpp.freepressunlimited.org': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'maarten@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'chris@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'suzanne@jabber.greenhost.nl': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'heus@freepressunlimited.org': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'totem2@jabme.eu': {'to': False, 'pending_out': False, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}, u'user@jabber.example.com': {'to': False, 'pending_out': True, 'from': False, 'name': None, 'groups': [], 'pending_in': False, 'whitelisted': False, 'subscription': 'none'}}
[ERROR] sleekxmpp.xmlstream.xmlstream: Error processing event handler: <bound method OtrBot.session_start of <otrbot.core.client.OtrBot object at 0x7fdd8492f210>>
Traceback (most recent call last):
File "/canvas/otr-bot/env/lib/python2.7/site-packages/sleekxmpp/xmlstream/xmlstream.py", line 1710, in _event_runner
func(*args)
File "/canvas/otr-bot/otrbot/core/client.py", line 502, in session_start
self._set_vcard()
File "/canvas/otr-bot/otrbot/core/client.py", line 796, in _set_vcard
self['xep_0054'].publish_vcard(jid=jid, vcard=vcard, block=True)
File "/canvas/otr-bot/env/lib/python2.7/site-packages/sleekxmpp/plugins/xep_0054/vcard_temp.py", line 119, in publish_vcard
return iq.send(block=block, callback=callback, timeout=timeout)
File "/canvas/otr-bot/env/lib/python2.7/site-packages/sleekxmpp/stanza/iq.py", line 233, in send
raise IqTimeout(self)
IqTimeout
[ERROR] sleekxmpp.basexmpp: Request timed out: <iq to="totem2@jabme.eu" type="set" id="e8a9163d-28ea-414d-bbf1-df135887dc21-31"><vCard xmlns="vcard-temp"><NICKNAME>Marvin</NICKNAME><JABBERID>totem2@jabme.eu</JABBERID><TITLE>OTR Bot</TITLE><DESC>This is an instance of the OTR Bot. Source code is available on https://code.greenhost.net</DESC></vCard></iq>
[ERROR] otrbot.core.client: Could not get vcard for 'suzanne@jabber.greenhost.nl'
[ERROR] otrbot.core.client: Could not get vcard for 'maarten@jabber.greenhost.nl'
[ERROR] otrbot.core.client: Could not get vcard for 'maarten@jabber.greenhost.nl'
[ERROR] otrbot.core.client: Could not get vcard for 'maarten@jabber.greenhost.nl'