The problem is now fixed for me.

Took me weeks to dig.

Before 2014, it was all working fine. Around 2014, Google have set a
limit, to 10 simultaneous connexions per account. 3 months later, the
limit was raised to 15.

This issue is common for all Google users; whatever they are using Legacy
Google/Gmail services, or Apps/Works.

The problem is that Thunderbird was accessing to Gmail via IMAP.  Plus
Gkrellm (email notifier for desktop). Plus Thunderbird Calendar. Plus
email filtering scripts, and Spam downloaders. Plus desktop sending
emails. Plus 3 servers connecting to SMTP to send emails. Plus .. plus ...
plus ...

I forgot the details of what I did, but, the issue was fixed about how
exactly Thunderbird and K9 connect to servers:
- number of simultaneous connexions
- push folders (which need one connexion per forlder).

Since I adjusted this, by summer 2016, I never had any pop-up again on any
desktop, server, or mobile.

I provide feedback, and hope this mailing list is published somewhere on
the web.

On 30/01/16 15:18, Seth H Holmes wrote:
> It's not really an issue to fix at the level of k9.
>
> When you switch from Wi-Fi to mobile or vice versa, you're creating a
> while new set of connections, effectively doubling them. The mobile
> connections all need to time out.
>
> You can probably mitigate the problem one of two ways...
>
> 1) leave thunderbird running, it will then take longer for your mobile
> device to be able to sync again once on Wi-Fi but that sounds okay in
> this situation.
>
> 2) reduce the number of folders you are syncing on mobile.
>
> You mentioned gmail so you don't have any options on the server side.
>
> On January 29, 2016 4:45:23 AM EST, Benoit-Pierre DEMAINE
> <[email protected]> wrote:
>
>
>
>         This mostly sounds like a server limitation issue.
>
>
>     Basicly, yes. But I hope there is a fix at K9 level.
>      
>
>         By default, if you are logged in, an IMAP client will hold one
>         login
>         connection per account and one connection for each mailbox/folder
>         that is "open". With clients in a non-mobile environment, that
>         means
>         that if you have one account and have 50 mailboxes open, you'll
>         have
>         51 connections open -- in just one client. If you connect and open
>         mailboxes with a second client you'll add to that count.
>
>
>     So, you are saying 12 folders will use 12 connexions ?
>
>     Are you talking about sync, or push ?
>
>     I have seen 30mn ago that I had miss configured many things. I had 8
>     folders in class 2, and class 2 was set to push; this means my class
>     2 was using 8 connexions (one per push folder).
>      
>
>         K-9 may hold connections differently with on wifi vs. cell data,
>
>
>     especially for me, because tasker removes the SYNC flag when I loose
>     wifi.
>      
>
>         but
>         with wifi it holds a connection open while you have it open (your
>         push/sync settings may effect this). I'm not in a position to
>         easily
>         check what happens in a cell data environment. The server may close
>         a non-active connection after a period of time (e.g., after
>         30min if
>         the account push is at say 4 hour intervals), but that's way beyond
>         the client's control.
>
>
>     There is a heartbeat to prevent this. Server closes connexion only
>     when heart beat is too low (or too many beats have been missed). I
>     had this setting available years ago, on my Nokia N95 ( push was
>     pretty new back then).
>      
>
>
>         If you close/unload K-9 (e.g., with a "swipe close") I believe it
>         closes all connections.
>
>
>     No. Not for me.
>
>     Maybe ... if ... I close K9 gently (not even sure we can). Force
>     killing K9 does not help. Switching wifi off does not help. I have
>     to wait at least 10mn to be able to connect with TB. The only quick
>     fix I have found was to login Gmail-webmail, and in the DETAIL link
>     bottom right, I can close all active connexions. The list given does
>     not give all actual connexions (Gkrellm never appears there); but I
>     can kill every one, and then TB will work.
>      
>
>
>         So, I believe you are simply running into an issue with the
>         stateful
>         way that IMAP (*Interactive*MailAccessProtocol) opens and holds
>         connections, and that gmail is now seemingly constraining that
>         count. I.e., this isn't a TB or K-9 (or any other IMAP client)
>         issue.
>
>         [please only reply to the list - do not include my direct
>         address in
>         your reply.]
>
>
>
>     Oups, sorry,  ticked something by mistake yesterday night. Did not
>     intend to send you copies of messages. I ticked "original author"; I
>     thought it meant ME as author of first message of discussion;
>     obviously was "author of message I answer to".
>
>
> -- 
> Seth H Holmes
> Sent from my Nexus 7 with K-9 Mail. Please excuse my brevity. 


-- 
 >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)

-- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to