Gnus development mailing list
 help / color / mirror / Atom feed
* Some imap accounts not updating in 24.4
@ 2014-11-25 22:55 Alberto Luaces
  2014-12-08 16:53 ` Ted Zlatanov
  0 siblings, 1 reply; 9+ messages in thread
From: Alberto Luaces @ 2014-11-25 22:55 UTC (permalink / raw)
  To: ding

Hi,

since updating from 24.3 to 24.4, one of my imap accounts stopped being
updated automatically.  It doesn't show new messages for that server,
even I press 'g'.  The only way to get those messages is to directly
press 'Meta-g' on that group.

My configuration is along the lines of:

--8<---------------cut here---------------start------------->8---
(setq gnus-select-method '(nnnil))

(setq gnus-secondary-select-methods '((nnimap "server1"

...)
				      (nnimap "server2"
... ))
--8<---------------cut here---------------end--------------->8---

Even if I switch the order of server stanzas in the configuration, the
one being updated correctly is always the same (server2).

One more difference I see with respect to older 24.3 is that the
variable gnus-secondary-select-methods always shows a nnml method, even
if I set the variable with setq instead of add-to-list, and I am not
setting it in my configuration:

--8<---------------cut here---------------start------------->8---
; Value of gnus-secondary-select-methods in 24.4
((nnml "")
 (nnimap "server1"
	 ...)
 (nnimap "server2"
	 ...))
--8<---------------cut here---------------end--------------->8---

Any hints about this?

Thanks!

-- 
Alberto




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-11-25 22:55 Some imap accounts not updating in 24.4 Alberto Luaces
@ 2014-12-08 16:53 ` Ted Zlatanov
  2014-12-18 20:24   ` Alberto Luaces
  0 siblings, 1 reply; 9+ messages in thread
From: Ted Zlatanov @ 2014-12-08 16:53 UTC (permalink / raw)
  To: ding

On Tue, 25 Nov 2014 23:55:26 +0100 Alberto Luaces <aluaces@udc.es> wrote: 

AL> since updating from 24.3 to 24.4, one of my imap accounts stopped being
AL> updated automatically.  It doesn't show new messages for that server,
AL> even I press 'g'.  The only way to get those messages is to directly
AL> press 'Meta-g' on that group.

I am far from expert on that, but would guess that logs (`nnimap-debug'
for instance) would be very helpful to see what's different at the
protocol level.

Ted




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-12-08 16:53 ` Ted Zlatanov
@ 2014-12-18 20:24   ` Alberto Luaces
  2014-12-20  3:07     ` Ted Zlatanov
  0 siblings, 1 reply; 9+ messages in thread
From: Alberto Luaces @ 2014-12-18 20:24 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Tue, 25 Nov 2014 23:55:26 +0100 Alberto Luaces <aluaces@udc.es> wrote: 
>
> AL> since updating from 24.3 to 24.4, one of my imap accounts stopped being
> AL> updated automatically.  It doesn't show new messages for that server,
> AL> even I press 'g'.  The only way to get those messages is to directly
> AL> press 'Meta-g' on that group.
>
> I am far from expert on that, but would guess that logs (`nnimap-debug'
> for instance) would be very helpful to see what's different at the
> protocol level.

I am setting nnimap-debug through (setq nnimap-debug t), but I am not
able to get any log buffer for imap.

-- 
Alberto




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-12-18 20:24   ` Alberto Luaces
@ 2014-12-20  3:07     ` Ted Zlatanov
  2014-12-22 19:48       ` Alberto Luaces
  0 siblings, 1 reply; 9+ messages in thread
From: Ted Zlatanov @ 2014-12-20  3:07 UTC (permalink / raw)
  To: ding

On Thu, 18 Dec 2014 21:24:12 +0100 Alberto Luaces <aluaces@udc.es> wrote: 

AL> Ted Zlatanov <tzz@lifelogs.com> writes:
>> On Tue, 25 Nov 2014 23:55:26 +0100 Alberto Luaces <aluaces@udc.es> wrote: 
>> 
AL> since updating from 24.3 to 24.4, one of my imap accounts stopped being
AL> updated automatically.  It doesn't show new messages for that server,
AL> even I press 'g'.  The only way to get those messages is to directly
AL> press 'Meta-g' on that group.
>> 
>> I am far from expert on that, but would guess that logs (`nnimap-debug'
>> for instance) would be very helpful to see what's different at the
>> protocol level.

AL> I am setting nnimap-debug through (setq nnimap-debug t), but I am not
AL> able to get any log buffer for imap.

I see my debug logs in " *nnimap imap.gmail.com 993  *nntpd**" for
instance.  I think this is all I did:

(setq imap-log t ; obsolete, I think
      nnimap-debug t)

Perhaps you didn't see that buffer because it starts with a space, so
it's hidden by default?  That's by design in Emacs IIRC.

Ted




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-12-20  3:07     ` Ted Zlatanov
@ 2014-12-22 19:48       ` Alberto Luaces
  2015-02-04 11:48         ` Ted Zlatanov
  2015-02-05  3:14         ` Lars Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: Alberto Luaces @ 2014-12-22 19:48 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Thu, 18 Dec 2014 21:24:12 +0100 Alberto Luaces <aluaces@udc.es> wrote: 
>
> AL> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> On Tue, 25 Nov 2014 23:55:26 +0100 Alberto Luaces <aluaces@udc.es> wrote: 
>>> 
> AL> since updating from 24.3 to 24.4, one of my imap accounts stopped being
> AL> updated automatically.  It doesn't show new messages for that server,
> AL> even I press 'g'.  The only way to get those messages is to directly
> AL> press 'Meta-g' on that group.
>>> 
>>> I am far from expert on that, but would guess that logs (`nnimap-debug'
>>> for instance) would be very helpful to see what's different at the
>>> protocol level.
>
> AL> I am setting nnimap-debug through (setq nnimap-debug t), but I am not
> AL> able to get any log buffer for imap.
>
> I see my debug logs in " *nnimap imap.gmail.com 993  *nntpd**" for
> instance.  I think this is all I did:
>
> (setq imap-log t ; obsolete, I think
>       nnimap-debug t)
>
> Perhaps you didn't see that buffer because it starts with a space, so
> it's hidden by default?  That's by design in Emacs IIRC.
>

Ok, that was it, thank you.

Now, in the log for the server not updating, I can see at then end:

Process *nnimap* connection broken by remote peer

...and one thing that caught my eye is that the connection might be
caused by gnus flooding the server before:

* 1 FETCH (UID 384 FLAGS (\Seen))
* 2 FETCH (UID 385 FLAGS (\Seen))
* 3 FETCH (UID 386 FLAGS (\Seen))
* 4 FETCH (UID 387 FLAGS (\Seen))
* 5 FETCH (UID 388 FLAGS (\Seen))

[...]

* 3009 FETCH (UID 5442 FLAGS (\Seen))
* 3010 FETCH (UID 5443 FLAGS (\Seen))
* 3011 FETCH (UID 5444 FLAGS (\Seen))
* 3012 FETCH (UID 5446 FLAGS (\Seen))

Those are 3012 simultaneous requests for the server, aren't they?

-- 
Alberto




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-12-22 19:48       ` Alberto Luaces
@ 2015-02-04 11:48         ` Ted Zlatanov
  2015-02-05  3:14         ` Lars Ingebrigtsen
  1 sibling, 0 replies; 9+ messages in thread
From: Ted Zlatanov @ 2015-02-04 11:48 UTC (permalink / raw)
  To: ding

On Mon, 22 Dec 2014 20:48:37 +0100 Alberto Luaces <aluaces@udc.es> wrote: 

AL> ...and one thing that caught my eye is that the connection might be
AL> caused by gnus flooding the server before:

AL> * 1 FETCH (UID 384 FLAGS (\Seen))
AL> * 2 FETCH (UID 385 FLAGS (\Seen))
AL> * 3 FETCH (UID 386 FLAGS (\Seen))
AL> * 4 FETCH (UID 387 FLAGS (\Seen))
AL> * 5 FETCH (UID 388 FLAGS (\Seen))

AL> [...]

AL> * 3009 FETCH (UID 5442 FLAGS (\Seen))
AL> * 3010 FETCH (UID 5443 FLAGS (\Seen))
AL> * 3011 FETCH (UID 5444 FLAGS (\Seen))
AL> * 3012 FETCH (UID 5446 FLAGS (\Seen))

AL> Those are 3012 simultaneous requests for the server, aren't they?

Sorry, I don't know.  Every time I try to understand IMAP, I wake up on
the floor with an empty bottle of Jack Daniels and a bad hangover, so
I've stopped trying :)

Ted




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2014-12-22 19:48       ` Alberto Luaces
  2015-02-04 11:48         ` Ted Zlatanov
@ 2015-02-05  3:14         ` Lars Ingebrigtsen
  2015-02-18 19:39           ` Alberto Luaces
  1 sibling, 1 reply; 9+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-05  3:14 UTC (permalink / raw)
  To: Alberto Luaces; +Cc: ding

Alberto Luaces <aluaces@udc.es> writes:

> Those are 3012 simultaneous requests for the server, aren't they?

IMAP is a streaming protocol, so you can send as many commands as you
wish.  They're not handled in parallel.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2015-02-05  3:14         ` Lars Ingebrigtsen
@ 2015-02-18 19:39           ` Alberto Luaces
  2015-02-19  5:56             ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Alberto Luaces @ 2015-02-18 19:39 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Alberto Luaces <aluaces@udc.es> writes:
>
>> Those are 3012 simultaneous requests for the server, aren't they?
>
> IMAP is a streaming protocol, so you can send as many commands as you
> wish.  They're not handled in parallel.  :-)

Yes, but I suppose there is always a top limit.  Anyways, that turned
out to be a red herring.

I deleted my .newsrc.eld and then my nnimap server groups began to
behave correctly.  I had to manually restore all my nntp groups from a
backup, though.

I think that something is happening with the .newsrc.eld format between
emacs 24.3 and 24.4.  I think I have seen a similar report of weird
things happening when jumping between those versions.  In fact, some of
the groups didn't work at first when restored from backup, because the
server was written as

"news.gmane.org"

instead of

(nntp "news.gmane.org")

-- 
Alberto




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Some imap accounts not updating in 24.4
  2015-02-18 19:39           ` Alberto Luaces
@ 2015-02-19  5:56             ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-19  5:56 UTC (permalink / raw)
  To: Alberto Luaces; +Cc: ding

Alberto Luaces <aluaces@udc.es> writes:

>> IMAP is a streaming protocol, so you can send as many commands as you
>> wish.  They're not handled in parallel.  :-)
>
> Yes, but I suppose there is always a top limit.

Nope.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-02-19  5:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 22:55 Some imap accounts not updating in 24.4 Alberto Luaces
2014-12-08 16:53 ` Ted Zlatanov
2014-12-18 20:24   ` Alberto Luaces
2014-12-20  3:07     ` Ted Zlatanov
2014-12-22 19:48       ` Alberto Luaces
2015-02-04 11:48         ` Ted Zlatanov
2015-02-05  3:14         ` Lars Ingebrigtsen
2015-02-18 19:39           ` Alberto Luaces
2015-02-19  5:56             ` Lars Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).