Re: [Mutt] #3106: "BYE System Error" from Gmail
#3106: "BYE System Error" from Gmail
--------------------------+-------------------------------------------------
Reporter: mvip | Owner: brendan
Type: enhancement | Status: closed
Priority: major | Milestone: 2.0
Component: IMAP | Version: 1.4
Resolution: duplicate | Keywords:
--------------------------+-------------------------------------------------
Changes (by brendan):
* status: new => closed
* resolution: => duplicate
Old description:
> When I'm connected to Gmails (via IMAP) and read messages, I have
> encountered the following error (sporadically) on in the front-end:
> {{{
> No mailbox is open.
> }}}
>
> When running in debug mode (-d3), the debug message tells me the
> following:
> {{{
> > a0061 UID FETCH 56 BODY.PEEK[]
> < * BYE System Error
> Handling BYE
> System Error
> > a0062 CLOSE
> < a0061 NO System Error (Failure)
> Connection to imap.gmail.com closed
> imap_cmd_step: Error reading server response.
> imap_exec: command failed:
> CLOSE failed
> mutt_socket_close: Attempt to close closed connection.
> mx_check_mailbox: null or invalid context.
> No mailbox is open.
> }}}
>
> Although this is a remote server-error, it would be desirable if Mutt
> quietly reconnects and tries to read the message again.
>
> -------
> Mutt info:
> {{{
> Mutt 1.4.2.3i (2007-05-26)
> Copyright (C) 1996-2002 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: FreeBSD 7.0-RELEASE (i386) [using ncurses 5.6]
> Compile options:
> -DOMAIN
> +DEBUG
> -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
> +USE_FCNTL +USE_FLOCK
> -USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL
> +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
> +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
> +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
> +HAVE_LANGINFO_YESEXPR
> -HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
> ISPELL="/usr/local/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
> }}}
New description:
When I'm connected to Gmails (via IMAP) and read messages, I have
encountered the following error (sporadically) on in the front-end:
{{{
No mailbox is open.
}}}
When running in debug mode (-d3), the debug message tells me the
following:
{{{
> a0061 UID FETCH 56 BODY.PEEK[]
< * BYE System Error
Handling BYE
System Error
> a0062 CLOSE
< a0061 NO System Error (Failure)
Connection to imap.gmail.com closed
imap_cmd_step: Error reading server response.
imap_exec: command failed:
CLOSE failed
mutt_socket_close: Attempt to close closed connection.
mx_check_mailbox: null or invalid context.
No mailbox is open.
}}}
Although this is a remote server-error, it would be desirable if Mutt
quietly reconnects and tries to read the message again.
-------
Mutt info:
{{{
Mutt 1.4.2.3i (2007-05-26)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: FreeBSD 7.0-RELEASE (i386) [using ncurses 5.6]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL +USE_FLOCK
-USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
-HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
}}}
--
Comment:
Duplicate of #2056
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3106#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent