Summary: | KOrganizer does not detect subscribed calendars on Nextcloud | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Godfrey Hendrix <me> |
Component: | groupware | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | me, mikael, teogramm |
Priority: | NOR | ||
Version: | 5.16.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Godfrey Hendrix
2021-01-24 19:23:35 UTC
(In reply to Godfrey Hendrix from comment #0) Could you share what is the user-agent for the request KOrganizer makes when you are requesting for calendars? You can check this from your server logs. This issue of yours could be solved from Nextcloud's end. (In reply to Mikael from comment #1) > (In reply to Godfrey Hendrix from comment #0) > > Could you share what is the user-agent for the request KOrganizer makes when > you are requesting for calendars? You can check this from your server logs. > This issue of yours could be solved from Nextcloud's end. Below are the logs generated when I restart the Nextcloud account on KOrganizer. I think it is on that end as my phone (iOS) works fine with the same settings. The native Nextcloud calendar shows up, but the Todoist calendars I subscribe to don't. Logs: 172.19.0.2 - - [09/Nov/2021:04:14:22 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:22 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 207 1815 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 207 1824 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 401 1856 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 401 1860 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 207 2038 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 207 2053 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 401 1860 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/addressbooks/users/GodfreyHendrix/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 207 3027 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/addressbooks/users/GodfreyHendrix/ HTTP/1.1" 207 1983 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 207 1824 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/ HTTP/1.1" 207 1821 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 401 1852 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 401 1864 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 207 2044 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/principals/users/GodfreyHendrix/ HTTP/1.1" 207 2049 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 401 1862 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - - [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/addressbooks/users/GodfreyHendrix/ HTTP/1.1" 401 1866 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/addressbooks/users/GodfreyHendrix/ HTTP/1.1" 207 1979 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 207 3011 "-" "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" (In reply to Godfrey Hendrix from comment #2) > (In reply to Mikael from comment #1) > > (In reply to Godfrey Hendrix from comment #0) > > > > Could you share what is the user-agent for the request KOrganizer makes when > > you are requesting for calendars? You can check this from your server logs. > > This issue of yours could be solved from Nextcloud's end. > > Below are the logs generated when I restart the Nextcloud account on > KOrganizer. I think it is on that end as my phone (iOS) works fine with the > same settings. The native Nextcloud calendar shows up, but the Todoist > calendars I subscribe to don't. > > Logs: > > 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND > /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 207 3011 "-" > "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 > akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" Okay, it is this issue with Nextcloud https://github.com/nextcloud/server/issues/17754 kOrganizer (akonadi) could be updated to support webcals on caldav, but for now best way to solve this is to just update Nextcloud with above useragent. I'm going to make pull request of this because I'm having a same issue, and just wanted to confirm the user agent that is being used. If you want a temporary fix, you can add "/KIO/" -regex to ENABLE_FOR_CLIENTS array in apps/dav/lib/CalDAV/WebcalCaching/Plugin.php. Do note that this doesn't persist Nextcloud updates. Here's an example https://github.com/nextcloud/server/blob/81b60c14c985b0a46fd31733db2add9efd7bedba/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php#L46 (In reply to Mikael from comment #3) > (In reply to Godfrey Hendrix from comment #2) > > (In reply to Mikael from comment #1) > > > (In reply to Godfrey Hendrix from comment #0) > > > > > > Could you share what is the user-agent for the request KOrganizer makes when > > > you are requesting for calendars? You can check this from your server logs. > > > This issue of yours could be solved from Nextcloud's end. > > > > Below are the logs generated when I restart the Nextcloud account on > > KOrganizer. I think it is on that end as my phone (iOS) works fine with the > > same settings. The native Nextcloud calendar shows up, but the Todoist > > calendars I subscribe to don't. > > > > Logs: > > > > 172.19.0.2 - GodfreyHendrix [09/Nov/2021:04:14:23 +0000] "PROPFIND > > /remote.php/dav/calendars/GodfreyHendrix/ HTTP/1.1" 207 3011 "-" > > "Mozilla/5.0 (X11; Linux x86_64) KIO/5.87 > > akonadi_davgroupware_resource_0/5.18.3 (21.08.3)" > > Okay, it is this issue with Nextcloud > https://github.com/nextcloud/server/issues/17754 > kOrganizer (akonadi) could be updated to support webcals on caldav, but for > now best way to solve this is to just update Nextcloud with above useragent. > I'm going to make pull request of this because I'm having a same issue, and > just wanted to confirm the user agent that is being used. > > If you want a temporary fix, you can add "/KIO/" -regex to > ENABLE_FOR_CLIENTS array in apps/dav/lib/CalDAV/WebcalCaching/Plugin.php. Do > note that this doesn't persist Nextcloud updates. > Here's an example > https://github.com/nextcloud/server/blob/ > 81b60c14c985b0a46fd31733db2add9efd7bedba/apps/dav/lib/CalDAV/WebcalCaching/ > Plugin.php#L46 Ah, ok. Thanks for the help! |