sslerror: (8, 'EOF occurred in violation of protocol')

Roopesh roopesh.raj at gmail.com
Tue Jan 16 17:09:01 CET 2007


I am getting an SSL error while fetching mails from Gmail over SSL on
Port 995. This problem occurs occasionally only, otherwise it works
file. Any idea why it happens.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "c:\python24\lib\threading.py", line 442, in __bootstrap
    self.run()
  File
"C:\The_email_archive_system\email_archiver\pensive\mail_source.py",
line
 425, in run
    self.download_mails ()
  File
"C:\The_email_archive_system\email_archiver\pensive\mail_source.py",
line
 403, in download_mails
    mymsg = M.retr(msg_no)
  File "c:\python24\lib\poplib.py", line 237, in retr
    return self._longcmd('RETR %s' % which)
  File "c:\python24\lib\poplib.py", line 172, in _longcmd
    return self._getlongresp()
  File "c:\python24\lib\poplib.py", line 157, in _getlongresp
    line, o = self._getline()
  File "c:\python24\lib\poplib.py", line 374, in _getline
    self._fillBuffer()
  File "c:\python24\lib\poplib.py", line 364, in _fillBuffer
    localbuf = self.sslobj.read()
sslerror: (8, 'EOF occurred in violation of protocol')


Regards
Roopesh




More information about the Python-list mailing list