[Owncloud] Calendar event sync issues

Stephan Hesmer mailings at hesmer.name
Sun Sep 2 01:21:56 UTC 2012


Thanks Evert, I will try that in the next few days. We are just on our way out though and lots to do this weekend. I am sure I have time early next week and report back.

Let me know if I should switch to the Sabre forum or not :)

Stephan

On Sep 1, 2012, at 7:00 AM, Evert Pot <evertpot at gmail.com> wrote:

> On Aug 31, 2012, at 11:55 PM, Thomas Tanghus wrote:
> 
>> On Friday 31 August 2012 15:37 Stephan Hesmer wrote:
>>> I have been digging a little more and added a http traffic sniffer in
>>> between. The content that gets discarded is sent as part of a PUT request
>>> from the iOS to the  owncloud server and it gets an error: HTTP/1.1 412
>>> Precondition failed
>> 
>> I rarely understand 412 errors and what to do to avoid them. It could be that 
>> the previous change hasn't been fully synced yet, but I'm only guessing.
>> 
>> You will probably have  a better chance at the SabreDAV mailing list [*], but 
>> for now I've CC'ed Evert who is the author of SabreDAV.
> 
> Who summoned me??
> 
> 
> The earlier request contains this header:
> 
> If-None-Match: *
> 
> This means that the client effectively says: I want to PUT this, but only if a resource at the specified url does not yet exists. This allows a client to make sure that no existing resources get overwritten.
> 
> So there's two possibilities:
> 
> 1. Stephen actually did the exact same twice (for debugging?), the second one triggering this error.
> 2. There's a bug in the owncloud CalDAV backend, causing non-existant resources to be returned as if they do exist.
> 
> So I would just try to do that request again, but change the url.. see what happens. It should be possible to just copy-paste that request in telnet.
> 
> Evert
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud




More information about the Owncloud mailing list