error 111

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue May 24 18:17:06 BST 2011


On Tue, May 24, 2011 at 10:28:49AM -0600, Tom Schutter wrote:
> 
> This appears to be related to a new folder that I created via the
> Exchange webmail interface.  Ironically the folder name was
> "offlineimap".  Deleting the folder and restarting offlineimap makes
> this error go away.  But the question still stands, how can I provide
> more/better information to diagnose the issue?

Does changing the name solve this issue?

> On Tue 2011-05-24 11:17, Tom Schutter wrote:
> > I am getting an "error 111".  In imaplibutil.py line 279 there is a
> > comment that says "FIXME".  Anything I can add to diagnose the problem?
> > 
> > My setup is mutt <-> offlineimap v6.3.4-rc1 <-> davmail 3.9.1 <-> Exchange 2007
> > 
> >  WARNING: Error occured attempting to sync account 'ISC':
> > Traceback (most recent call last):
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/accounts.py", line 177, in syncrunner
> >     self.sync()
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/accounts.py", line 235, in sync
> >     remoterepos.syncfoldersto(localrepos, [statusrepos])
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/repository/Base.py", line 124, in syncfoldersto
> >     srcfolders = src.getfolders()
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/repository/IMAP.py", line 246, in getfolders
> >     imapobj = self.imapserver.acquireconnection()
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/imapserver.py", line 208, in acquireconnection
> >     timeout=socket.getdefaulttimeout())
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/imaplib2.py", line 309, in __init__
> >     self.open(host, port)
> >   File "/home/tschutter/bin/nicolas33-offlineimap-938158e/offlineimap/imaplibutil.py", line 280, in open
> >     raise socket.error(last_error)
> > error: 111

Weird. I see nothing related to the folder list.

Error 111 means "connection refused" but we can't know why. Are you sure
this is reproducible?

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list