Bug 377399 - kontact loses imap connections constantly
Summary: kontact loses imap connections constantly
Status: REOPENED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 1.13.0
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 00:02 UTC by Steve
Modified: 2023-07-03 18:47 UTC (History)
7 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 Steve 2017-03-09 00:02:18 UTC
kontact keeps losing connections with the imap server. 

Mar  8 18:46:15 x2 akonadi_imap_resource: org.kde.pim.akonadicore: The item sync is being rolled-back.
Mar  8 18:46:15 x2 akonadi_imap_resource: org.kde.pim.imapresource: Fetch job failed  "Connection to server lost."
Mar  8 18:46:15 x2 akonadi_imap_resource: org.kde.pim.imapresource: ""
Mar  8 18:46:47 x2 akonadi_imap_resource: org.kde.pim.kimap: Connection to server lost  0
Mar  8 18:46:47 x2 akonadi_imap_resource: org.kde.pim.imapresource: Session login cancelled

I can usually access 1 or 2 emails before it loses the session. It becomes unresponsive and if I shutdown and restart kontact, it segfaults. Kontact is so complex the only solution is to reboot the system.
Comment 1 Steve 2017-03-14 02:37:09 UTC
This happened another 3 or 4 times today. Is there any troubleshooting information you might want? Sometimes it segfaults, sometimes the front-end just cannot communicate at all.
Comment 2 Thomas Arend 2018-10-29 15:51:49 UTC
Have the same problem with the kmail 5.9.1 under debian 9.5/sid

org.kde.pim.kimap: Connection to server lost  9
org.kde.pim.imapresource: Session login cancelled
org.kde.pim.kimap: Connection to server lost  9
org.kde.pim.imapresource: Session login cancelled
...

The server reports almost every few seconds:

Oct 29 16:49:13 xxx dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=2003:xxx, lip=2a01:xxx, TLS handshaking: SSL_accept() syscall failed: Success, session=<T/jEAmB5BqggAwDiry2dAAB69dJU2Ufj>
Comment 3 Justin Zobel 2022-12-02 01:22:51 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Steve 2022-12-02 17:10:01 UTC
I can't reproduce this with the current release. I needed help a long time ago.
Comment 5 Bug Janitor Service 2022-12-17 05:13:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-01 05:20:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 7 Paul Brown 2023-07-02 07:58:30 UTC
(In reply to Justin Zobel from comment #3)
> Thank you for reporting this issue in KDE software. As it has been a while
> since this issue was reported, can we please ask you to see if you can
> reproduce the issue with a recent software version?
> 
> If you can reproduce the issue, please change the status to "REPORTED" when
> replying. Thank you!

Happening now every few minutes in Arch with KMail version 5.23.2, Akonadi version 23.04.2.

Akonadi message is:

org.kde.pim.imapresource: Get metadata failed:  "Connection to server lost."