ssl and timeout issue

  • Thread starter =?ISO-8859-15?Q?Tarek_Ziad=E9?=
  • Start date
?

=?ISO-8859-15?Q?Tarek_Ziad=E9?=

Hello,

I cannot manage to use socket timeouts with an imap ssl connector,and i
badly *need* it :'(

I have already mentionned it here:
http://archives.free.net.ph/message/20050620.151244.e5390efe.en.html

Does anyone have a solution ?

(I thought of coding my own threaded timer over the ssl socket, but...)


Tarek

Traceback:
Traceback (most recent call last):
File "<stdin>", line 1, *in* ?
File "/usr/lib/python2.4/imaplib.py", line 480, *in* login
typ, dat = self._simple_command('LOGIN', user, self._quote(password))
File "/usr/lib/python2.4/imaplib.py", line 1028, *in* _simple_command
*return* self._command_complete(name, self._command(name, *args))
File "/usr/lib/python2.4/imaplib.py", line 858, *in* _command_complete
typ, data = self._get_tagged_response(tag)
File "/usr/lib/python2.4/imaplib.py", line 959, *in* _get_tagged_response
self._get_response()
File "/usr/lib/python2.4/imaplib.py", line 876, *in* _get_response
resp = self._get_line()
File "/usr/lib/python2.4/imaplib.py", line 969, *in* _get_line
line = self.readline()
File "/usr/lib/python2.4/imaplib.py", line 1135, *in* readline
char = self.sslobj.read(1)
socket.sslerror: The read operation timed out('OK', ['LOGIN Ok.'])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top