errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.13k stars 616 forks source link

Socket error connecting to Cisco Jabber #1192

Closed derchrisuk closed 3 years ago

derchrisuk commented 6 years ago

In order to let us help you better, please fill out the following fields as best you can:

I am...

I am running...

Issue description

I'm trying to get errbot to connect to a Cisco Jabber. Entering all the details in the config, I get this error:

18:03:18 DEBUG    sleekxmpp.features.featur Starting TLS
18:03:18 INFO     sleekxmpp.xmlstream.xmlst Negotiating TLS
18:03:18 INFO     sleekxmpp.xmlstream.xmlst Using SSL version: TLSv1
18:03:18 DEBUG    sleekxmpp.xmlstream.xmlst Event triggered: socket_error
18:03:18 ERROR    sleekxmpp.xmlstream.xmlst Socket Error #2: No such file or directory
18:03:18 DEBUG    sleekxmpp.xmlstream.xmlst reconnecting...
18:03:18 DEBUG    sleekxmpp.xmlstream.xmlst Event triggered: session_end

Steps to reproduce

This error is with the following version settings from

https://github.com/fritzy/SleekXMPP/issues/477

pyasn1==0.3.6
pyasn1-modules==0.1.5
sleekxmpp==1.3.3

Additional info

If I use XMPP_CA_CERT_FILE = None the I get the following

18:08:57 DEBUG    sleekxmpp.xmlstream.xmlst Event triggered: socket_error
18:08:57 ERROR    sleekxmpp.xmlstream.xmlst Socket Error #9: Bad file descriptor
mattpoel commented 6 years ago

Had the same error message when trying to get errbot running with HipChat Server. Using the XMPP_CA_CERT_FILE = None setting with the following package versions fixed it for me:

pyasn1==0.3.7
pyasn1-modules==0.1.5
sleekxmpp==1.3.2
sijis commented 3 years ago

Solution seems viable. If issue persist open new issue with new version.