METHOD:REQUEST prevents sync
I am using vdirsyncer in docker (container 2.5.5) with vdirsyncer 0.19.3 and python 3.12.6.
My config file looks like this:
(I removed the configs for my other calendars and contacts because they are not relevant here, but they are included in the log)
# example from https://github.com/pimutils/vdirsyncer/blob/main/config.example
# modified for usecase to sync NextCloud <-> Mailcow (SOGo)
[general]
status_path = "~/.vdirsyncer/status/"
[pair calendar_personal]
a = "calendar_nextcloud_personal"
b = "calendar_mailcow_personal"
# see "vdirsyncer discover"
# config name, name on site a (nextcloud), name on site b (mailcow)
collections = [["pair_calendar_personal", "personal-1", "personal"]]
[storage calendar_nextcloud_personal]
type = "caldav"
url = "https://nextcloud.example/remote.php/dav/calendars/my-username/personal-1/"
username = "my-username"
password = "my-password"
[storage calendar_mailcow_personal]
type = "caldav"
url = "https://mailcow.example/SOGo/dav/my-username/Calendar/personal/"
username = "my-username"
password = "my-password"
The output of vdirsyncer -vdebug sync is:
Syncing contacts/pair_contacts
debug: ====================
debug: PROPFIND https://nextcloud.example/remote.php/dav/addressbooks/users/my-username/contacts/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
Syncing calendar_personal/pair_calendar_personal
debug: ====================
debug: PROPFIND https://nextcloud.example/remote.php/dav/calendars/my-username/personal-1/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
Syncing calendar_study/pair_calendar_study
debug: ====================
debug: PROPFIND https://nextcloud.example/remote.php/dav/calendars/my-username/study-1/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
Syncing calendar_study_politics/pair_calendar_study_politics
debug: ====================
debug: PROPFIND https://nextcloud.example/remote.php/dav/calendars/my-username/study-politics/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
Syncing calendar_work/pair_calendar_work
debug: ====================
debug: PROPFIND https://nextcloud.example/remote.php/dav/calendars/my-username/work/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=LXBdkKQq3HVZn4lH6n0%2F8JEfctBk7qt%2Fj%2BrhMAXAJ0oG9515niyMkOyL7x0V%2BWHgJbIJQfj5etYy3pLKEVgD1w%2FrwByZe7BtI08CFs7nKesX4SgtRi0pSAOyMmvjlUdy; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Content-Security-Policy': "default-src 'none';", 'Set-Cookie': 'ociki9rs4erd=13c98ed149aef9afa3c9a26b2a156c13; path=/; secure; HttpOnly; SameSite=Lax', 'Vary': 'Brief,Prefer', 'DAV': '1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, oc-resource-sharing, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, nc-calendar-trashbin, nc-calendar-webcal-cache, calendarserver-subscribed, oc-calendar-publishing, calendarserver-sharing, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar', 'X-Request-Id': '317f3p3cwGuEdrFm7zwr', 'X-Debug-Token': '317f3p3cwGuEdrFm7zwr', 'Content-Encoding': 'gzip', 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader 602 bytes eof>
debug: Already normalized: '/remote.php/dav/calendars/my-username/study-1/'
debug: Skipping '/remote.php/dav/calendars/my-username/study-1/', is collection.
debug: ====================
debug: PROPFIND https://mailcow.example/SOGo/dav/my-username/Calendar/14F-67606080-1-46247C00/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=m%2FatcbnvyxHhLKovmtijQ5dozAhZ01SLdrQZD1e8QARxy7vo5zw9zijWJoEdEgM%2BwxKlkSKK6MRdGnPCDs4X7qzBprXHm2aNEPA82x%2FRw4lUE6EKKHm3hxy86%2FAF%2FNU%2F; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Content-Security-Policy': "default-src 'none';", 'Set-Cookie': 'ociki9rs4erd=50839890978c735170b368965b45d2bf; path=/; secure; HttpOnly; SameSite=Lax', 'Vary': 'Brief,Prefer', 'DAV': '1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, oc-resource-sharing, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, nc-calendar-trashbin, nc-calendar-webcal-cache, calendarserver-subscribed, oc-calendar-publishing, calendarserver-sharing, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar', 'X-Request-Id': 'Tcz2rjFDnInQpNbdcd33', 'X-Debug-Token': 'Tcz2rjFDnInQpNbdcd33', 'Content-Encoding': 'gzip', 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader 1350 bytes eof>
debug: Already normalized: '/remote.php/dav/calendars/my-username/personal-1/'
debug: Skipping '/remote.php/dav/calendars/my-username/personal-1/', is collection.
debug: Already normalized: '/remote.php/dav/calendars/my-username/personal-1/14F-67606680-7-46247C00.ics'
debug: Already normalized: '/remote.php/dav/calendars/my-username/personal-1/A5BED850-516C-4EDE-864C-0B2A57C26877.ics'
debug: ====================
debug: PROPFIND https://mailcow.example/SOGo/dav/my-username/Calendar/personal/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=vaRQ%2Bf%2B0ZSgHW4BsDy5ePH%2BH0DQI46rSz77F%2BlB9nGHGNLM3gwtvypyRSD3n7gpvM88xy6Cq%2F4zWYVnDYwKvl7J%2BLpEXRN4IYy80cOs0THLY8C92v%2BD5SQ94bnO2k0D8; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Content-Security-Policy': "default-src 'none';", 'Set-Cookie': 'ociki9rs4erd=8e0a51875c715fa767e8d20e1f8b6a8d; path=/; secure; HttpOnly; SameSite=Lax', 'Vary': 'Brief,Prefer', 'DAV': '1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, oc-resource-sharing, addressbook, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar', 'X-Request-Id': 'GJpKwRN4GQo6lsKdugGs', 'X-Debug-Token': 'GJpKwRN4GQo6lsKdugGs', 'Content-Encoding': 'gzip', 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader 942 bytes eof>
debug: Already normalized: '/remote.php/dav/addressbooks/users/my-username/contacts/'
debug: Skipping '/remote.php/dav/addressbooks/users/my-username/contacts/', is collection.
debug: Already normalized: '/remote.php/dav/addressbooks/users/my-username/contacts/1DFB3100-4A22-4161-AC7B-9BBFE95D5926.vcf'
debug: ====================
debug: PROPFIND https://mailcow.example/SOGo/dav/my-username/Contacts/personal/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=5AVjE4wgMxZhyha0adyrtoiUjWniS5Kz%2BKQxJ1PL7DV%2FSGIXL7mw6AmqXEheXDCKF1xLS7tZoTADxvtYppe0LsWE3dWjK7oH25BvdsCZubdTQJo%2FxcIOFzOonhV0%2Fvkg; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Content-Security-Policy': "default-src 'none';", 'Set-Cookie': 'ociki9rs4erd=cbb25f91b07533b164829c468058f695; path=/; secure; HttpOnly; SameSite=Lax', 'Vary': 'Brief,Prefer', 'DAV': '1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, oc-resource-sharing, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, nc-calendar-trashbin, nc-calendar-webcal-cache, calendarserver-subscribed, oc-calendar-publishing, calendarserver-sharing, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar', 'X-Request-Id': '9K98J68s0ohaypfTSsXs', 'X-Debug-Token': '9K98J68s0ohaypfTSsXs', 'Content-Encoding': 'gzip', 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader>
debug: Already normalized: '/remote.php/dav/calendars/my-username/work/'
debug: Skipping '/remote.php/dav/calendars/my-username/work/', is collection.
debug: ====================
debug: PROPFIND https://mailcow.example/SOGo/dav/my-username/Calendar/1597-67606080-1-17BE0C20/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=%2B79MJqHuRxqpCLGoKCU0eUfk1VxHnQZQCxmPZqozJXFmIQQNIuzdqcWSfetEbvWCmE3mTWP0kuQF0DZlQQujS%2BIPAiZTxuEydb%2FtszBflXG66wBaUtZuRxEKA4UT%2FOoq; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Content-Security-Policy': "default-src 'none';", 'Set-Cookie': 'ociki9rs4erd=30d0d83f48038fb173f6d18d3749a879; path=/; secure; HttpOnly; SameSite=Lax', 'Vary': 'Brief,Prefer', 'DAV': '1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, oc-resource-sharing, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, nc-calendar-trashbin, nc-calendar-webcal-cache, calendarserver-subscribed, oc-calendar-publishing, calendarserver-sharing, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar', 'X-Request-Id': 'zBUtoJv8ePBQgxQ63xpM', 'X-Debug-Token': 'zBUtoJv8ePBQgxQ63xpM', 'Content-Encoding': 'gzip', 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader 609 bytes eof>
debug: Already normalized: '/remote.php/dav/calendars/my-username/study-politics/'
debug: Skipping '/remote.php/dav/calendars/my-username/study-politics/', is collection.
debug: ====================
debug: PROPFIND https://mailcow.example/SOGo/dav/my-username/Calendar/14D-67606080-3-6B326280/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8', 'Depth': '1'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <propfind xmlns="DAV:">\n <prop>\n <resourcetype/>\n <getcontenttype/>\n <getetag/>\n </prop>\n </propfind>\n '
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '508', 'Connection': 'keep-alive', 'X-Dav-Error': '200 No error', 'Ms-Author-Via': 'DAV', 'Pragma': 'no-cache', 'Content-Encoding': 'gzip', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 1629 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/'
debug: Skipping '/SOGo/dav/my-username/Calendar/personal/', is collection.
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48'
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/14F-67606680-7-46247C00.ics'
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/967cfd7e-4342-49fb-aef3-c808bca2683e.ics'
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48'
debug: ====================
debug: REPORT https://mailcow.example/SOGo/dav/my-username/Calendar/personal/
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'application/xml; charset=UTF-8'}
debug: b'<?xml version="1.0" encoding="utf-8" ?>\n <C:calendar-multiget xmlns="DAV:"\n xmlns:C="urn:ietf:params:xml:ns:caldav">\n <prop>\n <getetag/>\n <C:calendar-data/>\n </prop>\n <href>/SOGo/dav/my-username/Calendar/personal/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48</href>\n </C:calendar-multiget>'
debug: Sending request...
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '822', 'Connection': 'keep-alive', 'X-Dav-Error': '200 No error', 'Ms-Author-Via': 'DAV', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 822 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Contacts/personal/'
debug: Skipping '/SOGo/dav/my-username/Contacts/personal/', is collection.
debug: Already normalized: '/SOGo/dav/my-username/Contacts/personal/65abf45a-1942-4f73-9a01-c29531bd0770.vcf'
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:16 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '560', 'Connection': 'keep-alive', 'X-Dav-Error': '200 No error', 'Ms-Author-Via': 'DAV', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 560 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Calendar/14F-67606080-1-46247C00/'
debug: Skipping '/SOGo/dav/my-username/Calendar/14F-67606080-1-46247C00/', is collection.
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:17 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '561', 'Connection': 'keep-alive', 'X-Dav-Error': '200 No error', 'Ms-Author-Via': 'DAV', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 561 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Calendar/1597-67606080-1-17BE0C20/'
debug: Skipping '/SOGo/dav/my-username/Calendar/1597-67606080-1-17BE0C20/', is collection.
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:17 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '560', 'Connection': 'keep-alive', 'X-Dav-Error': '200 No error', 'Ms-Author-Via': 'DAV', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 560 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Calendar/14D-67606080-3-6B326280/'
debug: Skipping '/SOGo/dav/my-username/Calendar/14D-67606080-3-6B326280/', is collection.
debug: 207
debug: <CIMultiDictProxy('Server': 'nginx', 'Date': 'Mon, 16 Dec 2024 17:57:17 GMT', 'Content-Type': 'text/xml; charset=utf-8', 'Content-Length': '944', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Content-Encoding': 'gzip', 'X-Frame-Options': 'SAMEORIGIN')>
debug: <StreamReader 1841 bytes eof>
debug: Already normalized: '/SOGo/dav/my-username/Calendar/personal/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48'
Copying (uploading) item 040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48 to calendar_nextcloud_personal/personal-1
debug: Normalized URL from '040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48.ics' to '/remote.php/dav/calendars/my-username/personal-1/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48.ics'
debug: ====================
debug: PUT https://nextcloud.example/remote.php/dav/calendars/my-username/personal-1/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48.ics
debug: {'User-Agent': 'vdirsyncer/0.19.3', 'Content-Type': 'text/calendar', 'If-None-Match': '*'}
debug: b'BEGIN:VCALENDAR\nPRODID:-//Microsoft Corporation//Outlook 16.0 MIMEDIR//EN\nVERSION:2.0\nMETHOD:REQUEST\nBEGIN:VTIMEZONE\nTZID:W. Europe Standard Time\nBEGIN:STANDARD\nDTSTART:16011028T030000\nRRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\nTZOFFSETFROM:+0200\nTZOFFSETTO:+0100\nEND:STANDARD\nBEGIN:DAYLIGHT\nDTSTART:16010325T020000\nRRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\nTZOFFSETFROM:+0100\nTZOFFSETTO:+0200\nEND:DAYLIGHT\nEND:VTIMEZONE\nBEGIN:VEVENT\nATTENDEE;RSVP=TRUE;CN=my-username:mailto:my-username\nCLASS:PUBLIC\nCREATED:20241216T173415Z\nDESCRIPTION:Test\\n\nDTEND;TZID=W. Europe Standard Time:20241216T210000\nDTSTAMP:20241216T173415Z\nDTSTART;TZID=W. Europe Standard Time:20241216T200000\nLAST-MODIFIED:20241216T173415Z\nORGANIZER;CN=Simon Ostendorf:mailto:[email protected]\nPRIORITY:5\nSEQUENCE:0\nSUMMARY;LANGUAGE=en-de:Test Meeting\nTRANSP:OPAQUE\nUID:040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB01000000000000000\n 0100000001BF43E140F15994ABDD73F1EBFB8AC48\nX-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE\nX-MICROSOFT-CDO-IMPORTANCE:1\nX-MICROSOFT-CDO-INTENDEDSTATUS:BUSY\nX-MICROSOFT-DISALLOW-COUNTER:FALSE\nX-MS-OLK-AUTOSTARTCHECK:FALSE\nX-MS-OLK-CONFTYPE:0\nX-MS-OLK-SENDER;CN=Simon Ostendorf:mailto:[email protected]\nBEGIN:VALARM\nTRIGGER:-PT15M\nACTION:DISPLAY\nDESCRIPTION:Reminder\nEND:VALARM\nEND:VEVENT\nX-MS-OLK-FORCEINSPECTOROPEN:TRUE\nEND:VCALENDAR'
debug: Sending request...
debug: 415
debug: <CIMultiDictProxy('Server': 'openresty', 'Date': 'Mon, 16 Dec 2024 17:57:17 GMT', 'Content-Type': 'application/xml; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'oc_sessionPassphrase=bff1kdvD1pKgKUQSs%2B5fzznU5BKMPM%2FUra3KGdvE3%2BQUlIVGzgYLHObARp%2BYiKjI15etpEF2fzUdaYxApHz20vwva%2BmKeWzIZeGGOS69s4x8HWlneFsTmb6h%2ButYV4X7; path=/; secure; HttpOnly; SameSite=Lax', 'Set-Cookie': '__Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax', 'Set-Cookie': '__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict', 'Set-Cookie': 'ociki9rs4erd=af145f22d0d68b0320e5e3d1493f4d77; path=/; secure; HttpOnly; SameSite=Lax', 'Content-Security-Policy': "default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-ancestors 'self';form-action 'self'", 'Referrer-Policy': 'no-referrer', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'SAMEORIGIN', 'X-Permitted-Cross-Domain-Policies': 'none', 'X-Robots-Tag': 'noindex, nofollow', 'X-XSS-Protection': '1; mode=block', 'Strict-Transport-Security': 'max-age=63072000; preload')>
debug: <StreamReader 527 bytes>
error: Unknown error occurred for calendar_personal/pair_calendar_personal: 415, message='Unsupported Media Type', url='https://nextcloud.example/remote.php/dav/calendars/my-username/personal-1/040000008200E00074C5B7101A82E00800000000C0E79EEEE84FDB010000000000000000100000001BF43E140F15994ABDD73F1EBFB8AC48.ics'
error: Use `-vdebug` to see the full traceback.
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/cli/utils.py", line 74, in handle_cli_error
debug: raise e
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/sync/__init__.py", line 163, in sync
debug: await action.run(a_info, b_info, conflict_resolution, partial_sync)
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/sync/__init__.py", line 186, in run
debug: await self._run_impl(a, b)
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/sync/__init__.py", line 213, in _run_impl
debug: href, etag = await self.dest.storage.upload(self.item)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/base.py", line 22, in inner
debug: return await f(self, *args, **kwargs)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/base.py", line 22, in inner
debug: return await f(self, *args, **kwargs)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/dav.py", line 598, in upload
debug: rv = await self._put(href, item, None)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/dav.py", line 566, in _put
debug: response = await self.session.request(
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/dav.py", line 413, in request
debug: return await http.request(method, url, session=session, **more)
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/http.py", line 216, in request
debug: response.raise_for_status()
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1157, in raise_for_status
debug: raise ClientResponseError(
Log Message from NextCloud Log:
UnsupportedMediaType: Validation error in iCalendar: A calendar object on a CalDAV server MUST NOT have a METHOD property.
I guess this is related to https://github.com/pimutils/vdirsyncer/issues/502.
The server is rejecting your icalendar item because it thinks it is invalid.
IIRC, the server is correct in this case; having METHOD:REQUEST is invalid in this context.
You can edit the icalendar file in a text editor and remove that line (and only that line).
The server is rejecting your icalendar item because it thinks it is invalid.
IIRC, the server is correct in this case; having
METHOD:REQUESTis invalid in this context.You can edit the icalendar file in a text editor and remove that line (and only that line).
Thanks, I guess I have to open an Issue at SOGo (the client that mailcow uses) so that they are full compliant.
@WhyNotHugo hello, could you explain, please, why having METHOD:REQUEST is invalid in this case?
I faced with the same problem (error from sabredav that server must not have a method property), but I dont understand, why. Ive tried to create a new event when catch this error
The METHOD:REQUEST line makes the iCalendar component an invitation to an event, rather than an event per se.
When you receive a file with METHOD:REQUEST you reply with an RSVP to whomever invited by setting METHOD:REPLY (plus some other values). The copy which you store in your calendar should not have the METHOD line.
The server rejects components with a METHOD:REQUEST because you can't store an invitation to an event in your calendar, you can only store an event.
See: https://www.rfc-editor.org/rfc/rfc2446#section-3.2
From https://www.rfc-editor.org/rfc/rfc4791#section-4.1 (the CalDAV specification):
Calendar object resources contained in calendar collections MUST NOT specify the iCalendar METHOD property.
@WhyNotHugo thank you for the answer