Complete.Org: Mailing Lists: Archives: offlineimap: November 2007:
Re: 'EOF occurred in violation of protocol' error
Home

Re: 'EOF occurred in violation of protocol' error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: CB <cb.lists@xxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: 'EOF occurred in violation of protocol' error
From: Tom Purl <tom@xxxxxxxxxxx>
Date: Tue, 27 Nov 2007 20:05:42 -0600
Reply-to: tom@xxxxxxxxxxx

I also use Gmail with offlineimap, and am seeing the same problems.  If
I re-reun offlineimap, it usually works.

On Wed, Nov 28, 2007 at 09:07:06AM +1000, CB wrote:
> Hi,
> 
> I've been successfully using OffiineIMAP since Gmail supported IMAP.
> But over the last couple of days it's been generating an error. I've
> pasted the offlineIMAP output below. Any ideas on what might be going
> wrong?
> 
> Also -- is there a searchable archive of this mailing list somewhere?
> I would have liked to check whether or not anyone else has come across
> this before posting.
> 
> Cheers,
> 
> CB.
> 
>  <---------- OfflineIMAP output ------------>
> OfflineIMAP 4.0.16
> Copyright (C) 2002 - 2006 John Goerzen <jgoerzen@xxxxxxxxxxxx>
> This software comes with ABSOLUTELY NO WARRANTY; see the file
> COPYING for details.  This is free software, and you are welcome
> to distribute it under the conditions laid out in COPYING.
> ***** Processing account Test
> Copying folder structure from IMAP to Maildir
> Establishing connection to imap.gmail.com:993.
> Syncing INBOX: IMAP -> Maildir
> Deleting 4 messages (8896, 8897, 8898, 8899) in Maildir[INBOX],
> LocalStatus[INBOX]
> Copy message 8913 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
> Copy message 8914 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
> Copy message 8910 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
> Syncing [Gmail]/All Mail: IMAP -> Maildir
> Copy message -2 Maildir[[Gmail].All Mail] -> IMAP[[Gmail]/All Mail],
> LocalStatus[[Gmail].All Mail]
> Copy message -1 Maildir[[Gmail].All Mail] -> IMAP[[Gmail]/All Mail],
> LocalStatus[[Gmail].All Mail]
> Thread 'New msg sync from [Gmail].All Mail' terminated with exception:
> Traceback (most recent call last):
>  File "/var/lib/python-support/python2.5/offlineimap/threadutil.py",
> line 153, in run
>    Thread.run(self)
>  File "threading.py", line 440, in run
>    self.__target(*self.__args, **self.__kwargs)
>  File "/var/lib/python-support/python2.5/offlineimap/folder/Base.py",
> line 212, in syncmessagesto_neguid_msg
>    successuid = tryappend.savemessage(uid, message, flags, rtime)
>  File "/var/lib/python-support/python2.5/offlineimap/folder/IMAP.py",
> line 239, in savemessage
>    date, content)[0] == 'OK')
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 318, in append
>    return self._simple_command(name, mailbox, flags, date_time)
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 975, in _simple_command
>    return self._command_complete(name, apply(self._command, (name,) + args))
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 805, in _command_complete
>    typ, data = self._get_tagged_response(tag)
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 906, in _get_tagged_response
>    self._get_response()
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 823, in _get_response
>    resp = self._get_line()
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 916, in _get_line
>    line = self.readline()
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 1155, in readline
>    return self.sslobj.readline()
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 1090, in readline
>    linebuf = self.read(1024)
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 1081, in read
>    retval = self._read(n)
>  File "/var/lib/python-support/python2.5/offlineimap/imaplib.py", line
> 1069, in _read
>    return self.sslsock.read(n)
> sslerror: (8, 'EOF occurred in violation of protocol')
> 
> 
> Last 11 debug messages logged for New msg sync from [Gmail].All Mail
> prior to exception:
> imap: savemessage: called
> imap: savemessage: using date "22-Nov-2007 10:04:56 +1000"
> imap: savemessage: initial content is: '\x02\x00\x00\x00'
> imap: savemessage: new headers are:
> X-OfflineIMAP-x1957881961-52656d6f74654578616d706c65-5b476d61696c5d2f416c6c204d61696c:
> 1196197222-0857630596624-v4.0.16
> imap: savemessage_addheader: called to add
> X-OfflineIMAP-x1957881961-52656d6f74654578616d706c65-5b476d61696c5d2f416c6c204d61696c:
> 1196197222-0857630596624-v4.0.16
> imap: savemessage_addheader: insertionpoint = -1
> imap: savemessage_addheader: leader = '\x02\x00\x00'
> imap: savemessage_addheader: newline =
> 'X-OfflineIMAP-x1957881961-52656d6f74654578616d706c65-5b476d61696c5d2f416c6c204d61696c:
> 1196197222-0857630596624-v4.0.16'
> imap: savemessage_addheader: trailer = '\x02\x00\x00\x00'
> imap: savemessage: new content is:
> '\x02\x00\x00X-OfflineIMAP-x1957881961-52656d6f74654578616d706c65-5b476d61696c5d2f416c6c204d61696c:
> 1196197222-0857630596624-v4.0.16\x02\x00\x00\x00'
> imap: savemessage: new content length is 126
>  <---------- End OfflineIMAP output ------------>
> 
> 



[Prev in Thread] Current Thread [Next in Thread]