Bug 498384 - Kontact does not sync, stays offline, no matter what.
Summary: Kontact does not sync, stays offline, no matter what.
Status: VERIFIED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: contacts (show other bugs)
Version: 6.3.0
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-08 13:02 UTC by Tobias Herzig
Modified: 2025-01-12 16:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Herzig 2025-01-08 13:02:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
IMAP mail account, address book and calendars can't go online.

STEPS TO REPRODUCE
1. Set up a new IMAP account in kmail, a DAV address book in Kontact and a DAV calendar in KOrganizer
2. Folders/DAV are synced, but no mails/contacts/calendar data, as account goes immediatly offline
3. Telling the account to go online has no effect. All other apps, also thunderbird, are online and retrieve/send without a problem to the same server over the  same connection.

OBSERVED RESULT
Mails/contacts/calendars can't be synced, no matter what.

EXPECTED RESULT
Mails/contacts/calendars should be synced, account should be online checking for updated data.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse Tumbleweed
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
I use nordvpn for the interrnet connection, but as I said, all this works over the same connection with thunderbird. As all the parts of Kontact are affected, could akonadi be the problem?
Comment 1 Tobias Herzig 2025-01-11 16:24:46 UTC
I installed package "akonadi-apparmor" and the account went online for several seconds, downloaded all the mail, then went offline again.
Comment 2 Allen Winter 2025-01-11 16:55:00 UTC
nordvpn 
are you using a web browser app to control the VPN?
does KDE Network Manager indicate any connection issues when nordvpn is running?
Comment 3 Tobias Herzig 2025-01-11 22:04:54 UTC
(In reply to Allen Winter from comment #2)
> nordvpn 
> are you using a web browser app to control the VPN?
> does KDE Network Manager indicate any connection issues when nordvpn is
> running?

No, I use the rpm directly from NordVPN. KDE Network Manager indicated that the internet connection would be restricted. So I did a fresh install without NordVPN and everything works like intended. Thanks for pointing me in the right direction.
Comment 4 Allen Winter 2025-01-12 12:25:48 UTC
Coincidentally, I've been having similar issues with ExpressVPN recently.
then I finally realized Network Manager wasn't happy starting the VPN from the Firefox app.

so I had to by-hand create a real VPN configuration in Network Manager.
sounds like nordVPN is better than expressVPN in this regard.
Comment 5 Tobias Herzig 2025-01-12 14:46:56 UTC
So, I did more testing and found out the following:
- NordVPN installed the official way using this manual https://support.nordvpn.com/hc/en-us/articles/20398426993809-Installing-and-using-NordVPN-on-openSUSE-Linux leads to Kontact/KMail/KOrganizer being offline all the time.
- Unistalling the app NordVPN restored Kontact/KMail/KOrganizer being online again.
- Installing NordVPN manually in KDE Networkmanager by importing the VPN connection file from my NordVPN account gives me a working VPN while maintaining Kontact/KMail/KOrganizer being online. So that's the fix.

Side note: I email NordVPN with the problem. Maybe they can find an easier fix.
Comment 6 Allen Winter 2025-01-12 16:26:07 UTC
yep. exactly the same for expressvpn