"You have exceeded the maximum number of connections" after setting number of cached connections to 1
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
People
(Reporter: just.someone, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Steps to reproduce:
With the actual version 78.12.0 Thunderbird started to show an annoying behavior. After some time of working with Thunderbird an error shows up saying: "Unable to connect to your IMAP server. You have exceeded the maximum number of connections. If so, use Advanced IMAP Server Settings to reduce the number of cached connections."
This only happens with posteo (posteo.de), but not with gmx (gmx.net) or gmail. I can't reliably reproduce this behavior, however the more emails I send the faster this error seems to show up. When it does, Thunderbird would not update contents of subfolders anymore, send emails or move / copy emails from one subfolder to another. I've already set the max number of cached connections from 5 to 1, however, that hasn't solved the problem.
Actual results:
Error: "Unable to connect to your IMAP server. You have exceeded the maximum number of connections. If so, use Advanced IMAP Server Settings to reduce the number of cached connections." + Thunderbird won't connect to posteo IMAP server anymore.
Expected results:
Thunderbird should not throw these error messages and stop connecting to the posteo IMAP server.
I've had the same accounts incl. posteo and configurations with previous versions of Thunderbird (78.10. and earlier) without those problems.
Comment 1•4 years ago
|
||
If so, use Advanced IMAP Server Settings to reduce the number of cached connections.
Please share to which number you reduced the setting.
| Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Andre Klapper from comment #1)
If so, use Advanced IMAP Server Settings to reduce the number of cached connections.
Please share to which number you reduced the setting.
As mentioned above I've set the max number of cached connections to 1 in the advanced server settings. However, the error still occurs. Or did I misread your question? Apologies if I did.
| Reporter | ||
Comment 3•4 years ago
|
||
Some further observations:
It seems that when I open a fresh instance of Thunderbird I can browse subfolders and move emails between folders without any problems for quite a while. The problems seem to start when sending emails. Mostly the problems start with the first email sent, but it also happens that the error message occurs with the 2nd or 3rd email sent. Sometimes the error message pops up when Thunderbird tries to copy a sent email to the sent folder, producing another error message that the email has been sent but could not been stored. On other occasions the error occurs later when I navigate to the sent folder or when I try to move emails between folders). However, I'm still not able to reliably reproduce the error, so it is just a pattern I believe to start to see.
Comment 4•4 years ago
|
||
Does problem reproduce when using newer version (91 for example) with Help > Troubleshoot mode?
| Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #4)
Does problem reproduce when using newer version (91 for example) with Help > Troubleshoot mode?
Yes, unfortunately the problem still occurs in Troubleshoot mode of version 91.3.0
Updated•4 years ago
|
Does the mail account share with other devices or users. Historically, the iphone would consume ALL available connections for instance.
Comment 7•4 years ago
|
||
The error the reporter is seeing about "exceeded max conns" is really a "catch all" for unable to connect to server. So it may not really be due to too many connections. AFAIK, no imap server actually reports back that the max number of conns is exceeded, instead they just refuse the connection.
The only way I know to diagnose this is to maybe do an IMAP:5 log and attach it. It might show something. See https://wiki.mozilla.org/MailNews:Logging
I don't know why the frequency of sending messages would affect receiving message via IMAP. They are independent things except that the sending process does use IMAP to copy the sent message to Sent mailbox.
Also, if it's only happening on one server (posteo) and not another, that tends to point to the server as refusing the connection for some reason. Unfortunately, the IMAP:5 log won't really say why a connection is refused; lower level diagnosis would require a tool like wireshark to see the detailed network activities.
Comment 8•4 years ago
|
||
(In reply to Matt from comment #6)
Does the mail account share with other devices or users. Historically, the iphone would consume ALL available connections for instance.
Yes, that's good point that if other devices are also connecting to the posteo imap server it could cause connectivity problems.
Description
•