[Tutor] ssl error when trying to connect to https (also using timeoutsocket.py)

Tsila Hassine tsila.hassine at gmail.com
Thu Mar 8 01:47:21 CET 2007


Hello all,

in my code i am importing timeoutsocket in order to set the time out of a
connection. When i try to acces an https site I get the error:

"TypeError: ssl() argument 1 must be _socket.socket, not _socketobject"

when I am not using the timeoutsocket module, I don't have any problems. how
can i solve this ? (I still need to be able to set the timeout of a
connection...)

thanks,
Tsila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070308/7f9fd01d/attachment.html 


More information about the Tutor mailing list