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

XMPP Agent fails to connect with "secured" XMPP server #1187

Open
ghost opened this issue Sep 1, 2016 · 0 comments
Open

XMPP Agent fails to connect with "secured" XMPP server #1187

ghost opened this issue Sep 1, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2016

$ archipel-adminaccounts --jid=[email protected] --password=abcdefghijk --list

^CTraceback (most recent call last):
File "/usr/local/bin/archipel-adminaccounts", line 6, in
exec(compile(open(file).read(), file, 'exec'))
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/install/bin/archipel-adminaccounts", line 140, in
xmppclient = initialize(options)
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/scriptutils.py", line 99, in initialize
xmppclient = connect(JID, options.password)
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/scriptutils.py", line 80, in connect
if not xmppclient.connect():
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 200, in connect
if not CommonClient.connect(self,server,proxy,secure,use_srv) or secure<>None and not secure: return self.connected
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 170, in connect
connected=sock.PlugIn(self)
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/client.py", line 73, in PlugIn
if self.class.dict.has_key('plugin'): return self.plugin(owner)
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/transports.py", line 118, in plugin
if not self.connect(server): return
File "/home/cowdrey/Archipel/ArchipelAgent/archipel-core/archipelcore/xmpp/transports.py", line 139, in connect
self._sock.connect(sa)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
KeyboardInterrupt

--- the included XMPP client fails to handle mandatory server-side SSL connection.

ejabberd 16.01
StartTLS
REQUIRED
SASL

Pre-TLS None
Post-TLSPLAIN
SCRAM-SHA-1
X-OAUTH2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants