I can reproduce the problem. The (a) problematic event is
This is an event without end (no COUNT or UNTIL in RRULE), and it seems that the existence of RDATE/EXDATE in such events can’t be processed by the Android calendar provider, which sends:
icsx5 : Found VEVENT: email@example.com
icsx5 : firstname.lastname@example.org not in local calendar, adding
RecurrenceProcessor: DateException with r=FREQ=MONTHLY;WKST=MO;BYDAY=3SU rangeStart=135390560256 rangeEnd=9223372036854775807
CalendarProvider2: Could not calculate last date.
CalendarProvider2: com.android.calendarcommon2.DateException: No range end provided for a recurrence that has no UNTIL or COUNT.
CalendarProvider2: at com.android.calendarcommon2.RecurrenceProcessor.expand(RecurrenceProcessor.java:768)
CalendarProvider2: at com.android.calendarcommon2.RecurrenceProcessor.expand(RecurrenceProcessor.java:663)
So, it seems that such events are not supported by Android.
Why not use 15 min in this case? Files are only downloaded when they have changed, so 15 or 30 min shouldn’t make much difference.
This is precisely what I’m currently doing, Not that I wouldn’t preferred the proposed alternative, Including having different intervals, but I see the opposite is documented.
See what office365 offers to set for reminder as an example:
Can’t provide URL to my calendar as mentioned, and office365 doesn’t offer URLs per individual events, so can’t provide them. In this case you can see there’s a 5 mins reminder prior to event.
With this new update, I am seeing an issue where new subscribed events while syncing do not show up at the right time. They show up the night before as a short event. This was an issue with a version about a year ago and it seems to have returned in this version.
ICSdroid is lacking a setting that prevents to sync without wifi. It’d be pretty useful, not just to prevent using mobil data transmission, but also to prevent sync failures, which are possible when not having good mobile connection. Notice DAVdroid does offer the setting.
Thank a lot !
@amo said in Unable to setup a subscription because of timeouts:
Thank you very much for your help!
Yes, with the APK you sent to me, it is working fine!
Perfect. Will be included in the next version.
I noticed that the app takes much longer to retrieve the calendar than curl on my desktop. Where curl takes between 15 and 20 seconds, the app takes around 30 seconds, which is probably why it ran into timeouts a lot.
I think this is because ICSx⁵ takes a few seconds to process the file. So the 20 seconds are probably the same, but a few seconds are needed for processing before ICSx⁵ updates the “last synced” field.
2: I think this is what the server admin meant when I got told that caching has been activated for me.
Are you sure? Caching sounds like “file is cached (and will be served from cache immediately) for some time, but as soon as the file is expired, it will be calculated at the next call (and take 20 secs again)”.
First of all, thanks for this great app which I’m using since more than a year now and I’ve never had any complaints about it.
However, I am missing an import/export calendar sources feature, e.g when I want to add the same calendar sources to several phones for my family. Would be great if such a functionality could be added, also I would be happy to help in the development if help is needed.