Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ludolph sometimes disconnects himself from the xmpp server #74

Open
secult opened this issue Sep 29, 2017 · 0 comments
Open

Ludolph sometimes disconnects himself from the xmpp server #74

secult opened this issue Sep 29, 2017 · 0 comments
Labels

Comments

@secult
Copy link

secult commented Sep 29, 2017

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
@secult secult added the bug label Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant