Bug 444288 - Akonadi "losing connection" to Google Calendars after some uptime / waking from sleep until either akonadictrl restart is used or Google Groupware is restarted in Korganizer.
Summary: Akonadi "losing connection" to Google Calendars after some uptime / waking fr...
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: 5.18.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-23 18:30 UTC by KDamian
Modified: 2023-10-04 04:08 UTC (History)
18 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 KDamian 2021-10-23 18:30:31 UTC
SUMMARY

Akonadi is losing events from Google Calendars after some uptime / sleep until either akonadictrl restart is used or Google Groupware is restarted in Korganizer.

STEPS TO REPRODUCE
1. Add some Google Calendars in the Korganizer.
2. Close KOrganizer
3. Leave the PC running for some time (from ~30 minutes to an hour or more, I cannot pinpoint the exact time).
4. After this time access to Google Calendars in Akonadi (and by that in KOrganizer) will be lost until either akonadictrl restart is issued or Google Groupware is restarted in KOrganizer. 

OBSERVED RESULT

After this time access to Google Calendars in Akonadi (and by that in KOrganizer) will be lost until either akonadictrl restart is issued or Google Groupware is restarted in KOrganizer.

EXPECTED RESULT

Google Calendars should stay available and visible no matter the uptime.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

ADDITIONAL INFORMATION

Log from journalctrl from current boot with grep "akonadi" used as below:

https://pastebin.com/x6UKjN4t

akonadictl 5.18.2 (21.08.2)
Comment 1 me 2021-11-02 12:02:51 UTC
same issue here despite restarting akonadi doesn't workaround the problem for me. Last time I did a reboot, the google resource was usable for a limited time.
Comment 2 Sebastian Goth 2021-11-13 10:58:03 UTC
Same issue on multiple systems with different google accounts each.

KOrganizer just loses the configured google calendars from time to time.
If i restart only the 'Google Groupware' agent in akonadiconsole, the calendars appear in korganizer again.
Comment 3 cartes 2021-12-21 09:12:06 UTC
I am facing the same problem on my stable neon kde. The service can run for several days in a row and then the service stops. You will then have to restart the google groupware service
Comment 4 Denys Madureira 2022-01-05 17:18:35 UTC
I am facing this issue too. Either on OpenSUSE Tumbleweed and in Arch Linux.
Comment 5 strangequark 2022-01-20 11:31:20 UTC
Same problem.

Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.14-200.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Comment 6 Alex Dewar 2022-01-20 15:23:49 UTC
I was experiencing this bug and now things seem to have got worse -- restarting Google Groupware (or the whole of the akonadi service) doesn't fix it, so I can't view my Google Calendar at all :-(
Comment 7 Denys Madureira 2022-01-20 15:26:00 UTC
We're going to Plasma 5.24 release and this error still exists
Comment 8 Erasmo Caponio 2022-01-21 11:09:16 UTC
(In reply to Alex Dewar from comment #6)
> I was experiencing this bug and now things seem to have got worse --
> restarting Google Groupware (or the whole of the akonadi service) doesn't
> fix it, so I can't view my Google Calendar at all :-(

I confirm this
Comment 9 Sebastian Goth 2022-01-28 10:34:39 UTC
(In reply to Erasmo Caponio from comment #8)
> (In reply to Alex Dewar from comment #6)
> > I was experiencing this bug and now things seem to have got worse --
> > restarting Google Groupware (or the whole of the akonadi service) doesn't
> > fix it, so I can't view my Google Calendar at all :-(
> 
> I confirm this

+1
Comment 10 Denys Madureira 2022-02-03 14:35:56 UTC
(In reply to Alex Dewar from comment #6)
> I was experiencing this bug and now things seem to have got worse --
> restarting Google Groupware (or the whole of the akonadi service) doesn't
> fix it, so I can't view my Google Calendar at all :-(

The same happens to me now.
Comment 11 maxlefou 2023-08-28 11:48:57 UTC
Same problem. My google calendar refused to update on korganizer so i tred deleting it and put it back again, but while it doesn't give any error and even gives the list of calendars, they don't get added.
Comment 12 whatifgodwasoneofus 2023-09-10 12:59:48 UTC
(In reply to maxlefou from comment #11)
> Same problem. My google calendar refused to update on korganizer so i tred
> deleting it and put it back again, but while it doesn't give any error and
> even gives the list of calendars, they don't get added.

@maxlefou you're probably seeing the symptoms of bug 473897. It is a a new instance, maybe a new issue, but is very similar to what happened already in the past (when this bug was created).