Bug 463995

Summary: After standby, all email accounts stay offline
Product: [Applications] kontact Reporter: Martin Tlustos <martin.tlustos>
Component: mailAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: alexeya, robert.segrott
Priority: NOR    
Version: 5.18.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Tlustos 2023-01-08 08:38:28 UTC
When putting my system on standby, after resume kmail/kontact doesn't get online again, even when I click "fetch email" or hit F5 for updating. I have to stop akonadi (akonadictl stop) and restart for it to work again.


Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: X11
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR
Manufacturer: Acer
Product Name: Aspire A515-44G
System Version: V1.12
Comment 1 robert 2023-01-23 10:23:33 UTC
I also have this problem. I have tried removing and re-configuring mail accounts but to no avail.
Comment 2 Martin Tlustos 2023-01-23 15:02:33 UTC
It actually doesn't even need to go into standby, just longer periods of inactivity (maybe with screen of, I haven't checked it yet), trigger this behavior as well.
Comment 3 Martin Tlustos 2023-01-23 15:16:04 UTC
Sorry, it was a lost internet connection that triggered it. Anyway, after entering into offline mode, it does not go back to online mode, even if I try manually. I have to restart akonadi (akonadictl stop and then restart kontact) to be able to go online again.
Comment 4 robert 2023-01-24 19:01:57 UTC
(In reply to Martin Tlustos from comment #3)
> Sorry, it was a lost internet connection that triggered it. Anyway, after
> entering into offline mode, it does not go back to online mode, even if I
> try manually. I have to restart akonadi (akonadictl stop and then restart
> kontact) to be able to go online again.

same here. If I put my laptop into suspend that after waking, it will stay in offline mode until I restart akonadi.
When I do restart akonadi from the terminal with akonadictl restart I get some strange error messages like:

org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection akonadi_unifiedmailbox_agent (0x55ae3217fa90) : Dude, WTF?!?
Comment 5 IFriendly 2023-02-05 18:17:24 UTC
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11


The same issue.

Seems like https://bugs.kde.org/show_bug.cgi?id=461400

The problem with reconnecting to the network in network-dependent agents.