Skip to content

Ludolph sometimes disconnects himself from the xmpp server #74

@secult

Description

@secult

This happens to me once in a while, resulting in disconnect of the bot from the xmpp server. Bot has to be restarted manually then.

sep 29 18:02:11 mon ludolph[11243]: 2017-09-29 18:02:11,670 INFO     sleekxmpp.xmlstream.xmlstream: Waiting for </stream:stream> from server
sep 29 18:02:17 mon ludolph[11243]: 2017-09-29 18:02:17,758 ERROR    sleekxmpp.xmlstream.xmlstream: Could not connect to ----omitted----. Socket Error #111: Connection refused
sep 29 18:02:29 mon ludolph[11243]: 2017-09-29 18:02:29,414 INFO     sleekxmpp.xmlstream.xmlstream: Negotiating TLS
sep 29 18:02:29 mon ludolph[11243]: 2017-09-29 18:02:29,414 INFO     sleekxmpp.xmlstream.xmlstream: Using SSL version: TLS 1.0
sep 29 18:02:29 mon ludolph[11243]: 2017-09-29 18:02:29,485 WARNING  sleekxmpp.xmlstream.cert: Could not find pyasn1 and pyasn1_modules. SSL certificate COULD NOT BE VERIFIED.
sep 29 18:02:29 mon ludolph[11243]: 2017-09-29 18:02:29,662 INFO     sleekxmpp.features.feature_bind.bind: JID set to: ludolph@----omitted----
sep 29 18:02:29 mon ludolph[11243]: 2017-09-29 18:02:29,671 WARNING  sleekxmpp.xmlstream.cert: Could not find pyasn1 and pyasn1_modules. SSL certificate expiration COULD NOT BE VERIFIED.
sep 29 18:02:59 mon ludolph[11243]: 2017-09-29 18:02:59,681 WARNING  sleekxmpp.xmlstream.handler.waiter: Timed out waiting for IqWait_ff00ec05-153b-47af-a778-ff8da3ba834c-22
sep 29 18:03:29 mon ludolph[11243]: 2017-09-29 18:03:29,695 WARNING  sleekxmpp.xmlstream.handler.waiter: Timed out waiting for IqWait_ff00ec05-153b-47af-a778-ff8da3ba834c-23
sep 29 18:03:29 mon ludolph[11243]: 2017-09-29 18:03:29,696 ERROR    sleekxmpp.xmlstream.xmlstream: Error processing event handler: <bound method LudolphBot._session_start of <ludolph.bot.LudolphBot object at
sep 29 18:03:29 mon ludolph[11243]: Traceback (most recent call last):
sep 29 18:03:29 mon ludolph[11243]: File "/usr/lib/python2.7/site-packages/sleekxmpp/xmlstream/xmlstream.py", line 1708, in _event_runner
sep 29 18:03:29 mon ludolph[11243]: func(*args)
sep 29 18:03:29 mon ludolph[11243]: File "/usr/lib/python2.7/site-packages/ludolph/bot.py", line 795, in _session_start
sep 29 18:03:29 mon  ludolph[11243]: self.client.get_roster()
sep 29 18:03:29 mon  ludolph[11243]: File "/usr/lib/python2.7/site-packages/sleekxmpp/clientxmpp.py", line 263, in get_roster
sep 29 18:03:29 mon  ludolph[11243]: response = iq.send(block, timeout, callback)
sep 29 18:03:29 mon ludolph[11243]: File "/usr/lib/python2.7/site-packages/sleekxmpp/stanza/iq.py", line 233, in send
sep 29 18:03:29 mon ludolph[11243]: raise IqTimeout(self)
sep 29 18:03:29 mon  ludolph[11243]: IqTimeout
sep 29 18:03:29 mon  ludolph[11243]: 2017-09-29 18:03:29,697 ERROR    sleekxmpp.basexmpp: Request timed out: <iq type="get" id="ff00ec05-153b-47af-a778-ff8da3ba834c-23"><query xmlns="jabber:iq:roster" /></iq>
sep 29 18:03:29 mon  ludolph[11243]: 2017-09-29 18:03:29,698 WARNING  sleekxmpp.basexmpp: You should catch IqTimeout exceptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions