Closed develth closed 4 years ago
Could you please add a tracking table here or in the PR:
Will PROPFIND still retrieve the entire result set in a single run instead of individual requests?
Will PROPFIND still retrieve the entire result set in a single run instead of individual requests?
Yes, it is included!
Table is included in original Comment
What Servers do you use? Then i could go for testing.
Let us please restructure the problem:
PROPFIND
works fine- this is the old implementation, but it was horrible slow as it required one request per contactPROPFIND
, but plus CARDDAV:address-data
to get everything in one request (@develth not sure why you'd need to etag, but that would help with intermediary caches?)REPORT
works fine- this is the current implementationREPORT
doesn't work without CARDDAV:filter
- https://github.com/andig/carddav2fb/issues/167#issuecomment-575091400 shows how to add that filterREPORT
with CARDDAV:filter
is broken, https://github.com/andig/carddav2fb/issues/167#issuecomment-575091400 demonstrates that on Synology. Imho that is a server issue and should not be worked around on our side.So how to we proceed? I feel it's either:
REPORT
plus filter- sometimes brokenPROPFIND
plus CARDDAV:address-data
Does that make any sense? Opinions?
@develth does REPORT
work for your with filter as in https://github.com/andig/carddav2fb/issues/167#issuecomment-575091400?
@andig nope and it just returns a (seems like) cached result. Regardless what i change inside it returns the same result
@develth Any chance to work around on the HTTP client side, e.g. no-cache, must-revalidate? Could be a proxy and not your carddav server that is the problem?
update Could you also cross-check https://tools.ietf.org/html/rfc6352#section-6.1.1 and see what your server actually supports? Does it return REPORT
as supported?
Nothing worked, its a issue with REPORT
Allow: GET, HEAD, POST, OPTIONS, MKCOL, MKCALENDAR, DELETE, PUT, LOCK, UNLOCK, COPY, MOVE, REPORT, PROPFIND, SEARCH
Dav: 1, 2, access-control, addressbook
It might make sense to support both REPORT
and PROPFIND
. Added a PR to allow that, fttb need to modify the code, will add config setting later if this works.
Sounds good. I had problems with iCloud (500 Internal Server Error) and carddav2fb (Version 15.11.2018) so I updated yesterday. iCloud is working but now I have problems with Synology DiskStation (CardDav Server 6.0.9-0087; Workaround: https://github.com/andig/carddav2fb/issues/167#issuecomment-575091400).
Workaround: https://github.com/andig/carddav2fb/issues/167#issuecomment-575091400
That won't get merged. The Synology software is so severely broken in this case that it should be fixed. Opening an upstream ticket should help with that ;)
Hi
i found out that the sync didn´t worked for me anymore since the switch from
PROPFIND
toREPORT
.Maybe we could easily switch back to
PROPFIND
with the following Setup:PROPFIND $url
The Result looks good:
Could you please check if it works with your Servers, too?
Thanks & best regards Thomas