Summary: | Agent says "Connection established" without having any connection | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Thiago Macieira <thiago> |
Component: | IMAP resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | kermit, whatifgodwasoneofus |
Priority: | NOR | ||
Version First Reported In: | 5.14.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thiago Macieira
2020-07-15 17:35:20 UTC
Same problem here with 5.15.3 on KDE neon (20.04 based) in akonadiconsole: Akonadi Server Self-Test shows no errors. IMAP agent: Status: Offline, Idle Status Message: Connection established lsof -n -p `pgrep -f akonadi_imap_resource_1` | grep -v 'mem' shows no IP file descriptors (this is on my main computer - it does show them on my laptop, where akonadi is working fine) But: bearer plugins are enabled (or am i missing one?) # ls -la /usr/lib/x86_64-linux-gnu/qt5/plugins/bearer total 612 drwxr-xr-x 2 root root 4096 Nov 20 10:29 . drwxr-xr-x 73 root root 53248 Nov 28 23:14 .. -rw-r--r-- 1 root root 233536 Nov 10 18:12 libqconnmanbearer.so -rw-r--r-- 1 root root 81224 Nov 10 18:12 libqgenericbearer.so -rw-r--r-- 1 root root 254096 Nov 10 18:12 libqnmbearer.so There are no helpful messeges of any kind - clicking on "Check Mail" in kmail does absolutely nothing. I also tried resetting akonadi by following the steps at https://wiki.ubuntuusers.de/Akonadi/#Akonadi-zuruecksetzen (in german) and reconfiguring the IMAP agent. This did *not* fix the problem... So currently I can't check my mails on my main computer. Help! I have the exact same issue here, after 5 years and several versions later. My system is: Akonadi Console: 6.5.1 (25.08.1) KDE Frameworks: 6.18.0 Qt: Using 6.9.2 and built against 6.9.2 Manjaro Linux (Wayland) Build ABI: x86_64-little_endian-lp64 Kernel: linux 6.17.0-0-MANJARO (In reply to whatifgodwasoneofus from comment #2) I fixed it. It was the connectivity check of NetworkManager - see this old entry: https://www.reddit.com/r/kde/comments/uulpcv/i_get_limited_connectivity_even_though_my/ In /usr/lib/NetworkManager/conf.d/20-connectivity.conf I have: ---- [connectivity] uri=http://ping.manjaro.org/check_network_status.txt ---- but it seems not to be responding, therefore NetWorkmanager thinks I have “limited connectivity” and akonadi (can’t figure out why) stays offline. I solved by creating a NetworkManager config file that disables that check: /etc/NetworkManager/conf.d/disable-connectivity-check.conf: ---- [connectivity] enabled=false ---- and then restarted NetworkManager. Now IMAP agents do stay online. So, the reason was that the "ping URL" was unresponsive, but honestly I could not relate any role of NetworkManager with this... You fixed your problem, but not this problem. It might be related that Akonadi gets confused by the online status of VPN going up and down, and suspend/resume in different locations, but NM isn't confused in my case. So there may be another problem elsewhere. |