Thank you for the test. Let say that there is no bug in the server then.
Reading again the logs you provided and looking at this interesting thread : https://help.nextcloud.com/t/davdroid-no-longer-works-with-nc/579/31
I now think that we need to do something with cookies. The first REPORT is asking to set cookies in its response headers, see :
[D] unknown:0 - “\tSet-Cookie : oc_sessionPassphrase=gVM%2BDWMGpVRFgHk4DOY9y9Wng5T3FazMKBh2QqqQWdy3iSyzA%2BQ%2BIcqVyeAStwglfjiSaHaJIxKQmr%2B0DaEzg5VSNFM1%2B3y7%2Fwmldm9n0Kh5nNqzEL%2BrTHKGYfl7TSr%2B; path=/SUBDIRECTORY; secure; HttpOnly”
[D] unknown:0 - “oc7z3h5oa5ry=2n9jnmdf7cl0mj4k6odi23uuk2; path=/SUBDIRECTORY; secure; HttpOnly”
Currently the sync plugin for CalDAV is not doing anything related to cookies. And then, the two next requests are failing with 503.
I’m trying to find documentation on the web about how Nextcloud is handling this kind of session security. I’ll get back when I have something.