[Chandler-dev] "Precondition failed" for subscription to ICS
calendar
Morgen Sagen
morgen at osafoundation.org
Thu Dec 13 12:59:48 PST 2007
On 12/13/07, Greg Noel <GregNoel at tigris.org> wrote:
> On Dec 11, 2007, at 8:58 AM, Morgen Sagen wrote:
>
> > That 412 status is probably coming from your HTTP server. Can you
> > check your Apache logs to see what the request/response looks like?
>
> The Apache access log contains repeated patterns that look like this:
>
> 192.168.0.10 - - [13/Dec/2007:11:29:06 -0800] "GET /~greg/shared/
> Greg.ics HTTP/1.1" 200 110986
> 192.168.0.10 - - [13/Dec/2007:11:30:03 -0800] "PUT /~greg/shared/
> Greg.ics HTTP/1.1" 412 332
>
> That is, it does a successful GET followed about a minute later by an
> unsuccessful PUT. Since this subscription should be read-only, why
> is Chandler trying to PUT something?
When you subscribed to this .ics file, by any chance did it require
username and password to access it? I seem to recall in this case the
sharing layer assumes you have write access. I can talk you through
manually changing this shared collection to be read-only until add
more permissions-checking logic.
More information about the chandler-dev
mailing list