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

Socket error connecting to Cisco Jabber #1192

Closed
1 of 5 tasks
derchrisuk opened this issue Apr 25, 2018 · 2 comments
Closed
1 of 5 tasks

Socket error connecting to Cisco Jabber #1192

derchrisuk opened this issue Apr 25, 2018 · 2 comments

Comments

@derchrisuk
Copy link

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

I am...

  • Reporting a bug
  • Suggesting a new feature
  • Requesting help with running my bot
  • Requesting help writing plugins
  • Here about something else

I am running...

  • Errbot version: 5.2.0
  • OS version: OSX 10.12.6
  • Python version: 3.6.5
  • Using a virtual environment: no

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

fritzy/SleekXMPP#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
Copy link

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
Copy link
Contributor

sijis commented Jul 23, 2021

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

@sijis sijis closed this as completed Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants