Bug 300784 - Need more resilience against intermittent authentication failures
Summary: Need more resilience against intermittent authentication failures
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: POP3 Resource (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 21:10 UTC by Szczepan Hołyszewski
Modified: 2022-07-20 13:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szczepan Hołyszewski 2012-05-28 21:10:35 UTC
I have 2 POP3 accounts on a server that is plagued by intermittent authentication failures: a POP3 login attempt with correct credentials will just randomly fail once in ten attempts or so. Whenever this happens during a periodic mail check, akonadi re-prompts me for password. This is very distracting because the password dialog pops up out of the blue every 20 minutes or so, interrupting work and thought.

Reproducible: Always



Expected Results:  
I would expect akonadi to use a more robust strategy:
- upon first failure, silently retry the same password a configurable number of times.
- if these attempts fail, *skip* one periodic check or *wait* a configured amount of time, whichever will result in retrying sooner.
- only show the password dialog if the known password still fails after the retries *and* the wait.

I believe that "intermittent network or server problem" is generally a much more likely cause of authentication failures than "user has actually changed the account password". The design of strategies for dealing with POP3 login failures should be guided by this assumption.
Comment 1 Justin Zobel 2021-03-09 05:46:26 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Szczepan Hołyszewski 2022-07-20 13:13:42 UTC
If the bug is still present, it WILL manifest in this scenario with 100% certainty, but setting up this scenario (i.e. setting up a dummy POP3 server that can be instructed to fail authentication attempts on demand, configuring the accounts etc.) is not something you should expect a bug reporter (and end user) to do. That's test team's job.