Jabberpy & SSL?

Ross M Karchner theross at spamcop.net
Mon May 27 17:07:07 EDT 2002


Hello,

Does anyone have any documentation or expierience for using Jabberpy
0.3.1's SSL  support?  I was able to glean from the source code that a
'connection=2' argument while initializing a jabber.Client instance was the
important thing, and my Python install seems to have working ssl (I can
'import ssl from socket' without a complaint), but I can't seem to make it
work.

The server I am connecting to (er, attempting to) only supports SSL.

I have already asked on the jabberpy-devel list, and have gotten a response
from the main developer, but I thought I'd post here to see if anyone has
tripped over this before.

If this helps: (i took out the name of the jabber server)

Python 2.2.1 (#4, May 23 2002, 15:33:00)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import jabber
 >>> test=jabber.Client('snip',port=5223,connection=2)
 >>> test.connect()
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "jabber.py", line 358, in connect
     raise IOError(e)
IOError: No SSL Support

Is there anything I am missing?

-Ross






More information about the Python-list mailing list