Bug 275573 - akonadi won't stop reloading remote ical file
Summary: akonadi won't stop reloading remote ical file
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.6.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
Depends on:
Blocks: 449110
  Show dependency treegraph
 
Reported: 2011-06-13 19:32 UTC by Kevin Bader
Modified: 2022-01-25 00:20 UTC (History)
9 users (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 Kevin Bader 2011-06-13 19:32:46 UTC
Version:           4.6.0 (using KDE 4.6.4) 
OS:                Linux

When I add a remote calendar (over https), Akonadi reloads the file every second. The corresponding item in KOrganizer's calendar list is flashing because of this, so as a side-effect, I cannot even select it. The calendar file is okay, though, as it works when I download it first. Maybe it's important that the ical file has 'xhtml' as extension on the server.

Reproducible: Always

Steps to Reproduce:
Add a calendar, select "from ical file", enter a URL to a remote ical file.

Actual Results:  
it reloads every second, making it impossible to select and use.

Expected Results:  
Downloading it and doing a reload every few minutes (would be great if this inverval would be configurable, but I will open another ticket for this).

I'm afraid I cannot supply the URL, since it is my private calendar of my university.

The software doesn't crash, so I set severity to normal. But since I cannot use my remote calendar right now (it's updated server-side frequently), I would be glad if this could be fixed soon :]

Thanks.
Comment 1 Sergio Martins 2011-06-13 19:38:24 UTC
Can you try: http://www.kde.org/releaseschedule.ics
Comment 2 Kevin Bader 2011-06-13 19:59:08 UTC
(In reply to comment #1)
> Can you try: http://www.kde.org/releaseschedule.ics

It works with this URL. The URL I use looks like this:
https://tiss.tuwien.ac.at/events/ical.xhtml?locale=de&token=d880fcb8-2707-4a0d-bce7-3b22541b23de

Hope this helps..
Comment 3 Kevin Bader 2011-06-14 11:35:44 UTC
I just want to add that adding this calendar (using a similar URL) worked using the previous version of KOrganizer (using ArchLinux packages and Gentoo sources).
Comment 4 Matthias Fauconneau 2011-07-17 07:55:52 UTC
I could reproduce by loading this URL as an Akonadi iCal file in KOrganizer: http://www.google.com/calendar/ical/gsummerofcode@gmail.com/public/basic.ics

I had akonadi_nepomuk taking all my CPU and leaking memory.
Since it persists even after quitting KOrganizer (and even reboot), I think it is triggered by Plasma Calendar.

Removing the resource resolve the symptoms and only left an akonadi_nepomuk_calendar_feeder process taking much memory.

This bug might be a result of a bad fix for the crashes described in:
https://bugs.kde.org/show_bug.cgi?id=273676

-- Gentoo --
Akonadi: 1.5.3
KDE: 4.6.5
Qt: 4.7.3
Comment 5 Ryan Rix 2011-09-07 21:04:12 UTC
This is still happening for me on kdepim 4.7.0 for multiple iCal files, one from Google Calendar, and another from Toodledo.
Comment 6 Sergio Martins 2011-09-08 09:59:03 UTC
Fixed in master, and can't be backported due to ABI issues.
Comment 7 Ryan Rix 2011-09-08 10:16:19 UTC
is there any sort of workaround that will let users have calendars within the next six months, then?
Comment 8 Ryan Rix 2011-09-09 23:21:22 UTC
What commits is this fixed in? I'd like to backport them in a personal build at least, since remote calendars are pretty important to my workflow.
Comment 9 Jari Laamanen 2011-12-10 00:33:51 UTC
This bug seems to be related to Bug 287871 .
Comment 10 Felix Yan 2012-12-28 05:57:40 UTC
I am still getting this error in KOrganizer 4.10rc1, my url is like this:
http://xxx.yyy.com/zzz.ics?key=kkkkkkkkkkkkkkkkkkkkkkkkkk

I've tried to write a wrapper(using WSGI) to proxy above url:
http://xxx.yyy.com/zzz/kkkkkkkkkkkkkkkkkkkkkkkk.ics
And this will fix the strange behavior.

Hope this helps.
Comment 11 gh403 2013-09-11 03:39:22 UTC
I still have this problem.  Any news on this bug?
Comment 12 Brian DeRocher 2014-02-02 02:40:35 UTC
I also see a remote calendar loading every second.  In Akonadi Console, i see an ICal Calendar File whose filename is http://calendar.openstreetmap.org.uk/events.ics.  In the console i see it toggle from Ready to Downloading remote file (100%) every second.  It spikes my CPU.  I have to Abort Activity on the agenty to stop this.

For a while i suspected the IMAP agent was spiking my CPU, but i'm amazed to see it's just this simple calendar.

I'm using libakonadi-* 4:4.11.5-1 (Debian sid).
Comment 13 Brian DeRocher 2014-02-08 19:53:34 UTC
One possible explanation is the CNAME.

root@three:~# dig calendar.openstreetmap.org.uk

; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Debian-1:9.9.3.dfsg.P2-4 <<>> calendar.openstreetmap.org.uk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46339
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;calendar.openstreetmap.org.uk. IN      A

;; ANSWER SECTION:
calendar.openstreetmap.org.uk. 19386 IN CNAME   osmcal.street.me.uk.
osmcal.street.me.uk.    19386   IN      CNAME   cappuccino.street.me.uk.
cappuccino.street.me.uk. 19386  IN      A       213.138.100.213

;; AUTHORITY SECTION:
street.me.uk.           19386   IN      NS      c.ns.bytemark.co.uk.
street.me.uk.           19386   IN      NS      b.ns.bytemark.co.uk.
street.me.uk.           19386   IN      NS      a.ns.bytemark.co.uk.

;; ADDITIONAL SECTION:
a.ns.bytemark.co.uk.    9480    IN      A       80.68.80.26
b.ns.bytemark.co.uk.    10062   IN      A       85.17.170.78
c.ns.bytemark.co.uk.    1452    IN      A       80.68.80.27
c.ns.bytemark.co.uk.    2603    IN      AAAA    2001:41c8:2::5

;; Query time: 1 msec
;; SERVER: 172.22.1.2#53(172.22.1.2)
;; WHEN: Sat Feb 08 14:46:49 EST 2014
;; MSG SIZE  rcvd: 269

btw tcpdump -X confirmed communication with cappuccino.street.me.uk.
Comment 14 Thiago Jung Bauermann 2014-12-11 15:55:26 UTC
Should this bug be set to Product: Akonadi and Component: ICal file resource?
Comment 15 Boian Berberov 2015-03-26 16:21:34 UTC
It is happening to me too.  Kubuntu 14.04.2,  KDE 4.13.3.  I have added two different calendars from Google iCal links, but only one keeps reloading.  If I remove it, everything is back to normal.
Comment 16 Thiago Jung Bauermann 2015-03-26 17:49:43 UTC
For remote ical files from Google, this is probably the culprit:

http://www.enricozini.org/2015/debian/google-ics-evil/
Comment 17 Denis Kurz 2016-09-24 18:46:29 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 18 Denis Kurz 2017-01-07 21:28:34 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.