
frank.o.martin at gmx
Jul 23, 2012, 4:08 AM
Post #10 of 16
(626 views)
Permalink
|
|
Re: iCal/iPad stopped working with davical
[In reply to]
|
|
Hi, meanwhile I've set up a test environment in a virtual machine. I started with DAViCal 0.9.9.7 and updated step-by-step to version 1.1.1 . Indeed my iOS 5.1.1 devices stopped showing calendar events after applying the last update. So it seems that the last DAViCal update broke my stack (CentOS 5, php53, postgresql84) with regard to iOS 5.1.1 devices. Below are request/response debug messages for Thunderbird/Lightning (that showed the test event) and iPad iOS 5.1.1 that did not show it. In fact the log shows a "<status>HTTP/1.1 404 Not Found</status>" for the iPad. With my production server I rolled back to DAViCal 1.1.0 and all my devices work again :-) Regards, Frank davical: LOG: :***************** Request Header **************** davical: LOG: :REPORT /caldav.php/martin/calendar/ davical: LOG: headers:-->Content-Type: text/xml; charset=utf-8 davical: LOG: headers:-->Content-Length: 281 davical: LOG: headers:-->Cache-Control: no-cache davical: LOG: headers:-->Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 davical: LOG: headers:-->Host: 192.168.178.29 davical: LOG: headers:-->Accept: text/xml davical: LOG: headers:-->User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 Lightning/1.6 davical: LOG: headers:-->Authorization: Delicious tasty password eaten by debugging monster! davical: LOG: headers:-->Accept-Encoding: gzip davical: LOG: headers:-->Depth: 1 davical: LOG: headers:-->Accept-Charset: utf-8,*;q=0.1 davical: LOG: headers:-->Pragma: no-cache davical: LOG: :******************** Request ******************** davical: LOG: request:--><?xml version="1.0" encoding="UTF-8"?> davical: LOG: request:--><calendar-multiget xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav"> davical: LOG: request:--> <D:prop> davical: LOG: request:--> <D:getetag/> davical: LOG: request:--> <calendar-data/> davical: LOG: request:--> </D:prop> davical: LOG: request:--> <D:href>/caldav.php/martin/calendar/fcb872dc-3342-6b44-938c-2c0a7a156667.ics</D:href> davical: LOG: request:--></calendar-multiget> davical: LOG: :Response status 207 for REPORT /caldav.php/martin/calendar/ davical: LOG: :***************** Response Header **************** davical: LOG: headers:-->X-Powered-By: PHP/5.3.3 davical: LOG: headers:-->Server: 1.1 davical: LOG: headers:-->DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule davical: LOG: headers:-->DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy davical: LOG: headers:-->ETag: "a9e3072c1b559e44e101ecea8c194ecf" davical: LOG: headers:-->X-DAViCal-Version: DAViCal/1.1.1; DB/1.2.11 davical: LOG: headers:-->Content-type: text/xml; charset="utf-8" davical: LOG: :******************** Response ******************** davical: LOG: response:--><?xml version="1.0" encoding="utf-8" ?> davical: LOG: response:--><multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> davical: LOG: response:--> <response> davical: LOG: response:--> <href>/caldav.php/martin/calendar/fcb872dc-3342-6b44-938c-2c0a7a156667.ics</href> davical: LOG: response:--> <propstat> davical: LOG: response:--> <prop> davical: LOG: response:--> <getetag>"2709980065efc4ab3914d129fe16d092"</getetag> davical: LOG: response:--> <C:calendar-data>BEGIN:VCALENDAR davical: LOG: response:-->PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN davical: LOG: response:-->VERSION:2.0 davical: LOG: response:-->BEGIN:VTIMEZONE davical: LOG: response:-->TZID:Europe/Berlin davical: LOG: response:-->X-LIC-LOCATION:Europe/Berlin davical: LOG: response:-->BEGIN:DAYLIGHT davical: LOG: response:-->TZOFFSETFROM:+0100 davical: LOG: response:-->TZOFFSETTO:+0200 davical: LOG: response:-->TZNAME:CEST davical: LOG: response:-->DTSTART:19700329T020000 davical: LOG: response:-->RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 davical: LOG: response:-->END:DAYLIGHT davical: LOG: response:-->BEGIN:STANDARD davical: LOG: response:-->TZOFFSETFROM:+0200 davical: LOG: response:-->TZOFFSETTO:+0100 davical: LOG: response:-->TZNAME:CET davical: LOG: response:-->DTSTART:19701025T030000 davical: LOG: response:-->RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 davical: LOG: response:-->END:STANDARD davical: LOG: response:-->END:VTIMEZONE davical: LOG: response:-->BEGIN:VEVENT davical: LOG: response:-->CREATED:20120721T112417Z davical: LOG: response:-->LAST-MODIFIED:20120721T112431Z davical: LOG: response:-->DTSTAMP:20120721T112431Z davical: LOG: response:-->UID:fcb872dc-3342-6b44-938c-2c0a7a156667 davical: LOG: response:-->SUMMARY:DAViTest davical: LOG: response:-->DTSTART;TZID=Europe/Berlin:20120722T140000 davical: LOG: response:-->DTEND;TZID=Europe/Berlin:20120722T150000 davical: LOG: response:-->TRANSP:OPAQUE davical: LOG: response:-->END:VEVENT davical: LOG: response:-->END:VCALENDAR davical: LOG: response:--></C:calendar-data> davical: LOG: response:--> </prop> davical: LOG: response:--> <status>HTTP/1.1 200 OK</status> davical: LOG: response:--> </propstat> davical: LOG: response:--> </response> davical: LOG: response:--></multistatus> davical: LOG: response:--> davical: LOG: :***************** Request Header **************** davical: LOG: :REPORT /caldav.php/martin/calendar/ davical: LOG: headers:-->Host: 192.168.178.29 davical: LOG: headers:-->User-Agent: iOS/5.1.1 (9B206) dataaccessd/1.0 davical: LOG: headers:-->Content-Length: 327 davical: LOG: headers:-->Accept: */* davical: LOG: headers:-->Accept-Language: de-de davical: LOG: headers:-->Accept-Encoding: gzip, deflate davical: LOG: headers:-->Content-Type: text/xml davical: LOG: headers:-->Authorization: Delicious tasty password eaten by debugging monster! davical: LOG: headers:-->Connection: keep-alive davical: LOG: :******************** Request ******************** davical: LOG: request:--><?xml version="1.0" encoding="UTF-8"?> davical: LOG: request:--><H:calendar-multiget xmlns:H="urn:ietf:params:xml:ns:caldav"> davical: LOG: request:--> <A:prop xmlns:A="DAV:"> davical: LOG: request:--> <A:getetag/> davical: LOG: request:--> <H:calendar-data/> davical: LOG: request:--> <H:schedule-tag/> davical: LOG: request:--> </A:prop> davical: LOG: request:--> <A:href xmlns:A="DAV:">/caldav.php/martin/calendar/fcb872dc-3342-6b44-938c-2c0a7a156667.ics</A:href> davical: LOG: request:--></H:calendar-multiget> davical: LOG: request:--> davical: LOG: :Response status 207 for REPORT /caldav.php/martin/calendar/ davical: LOG: :***************** Response Header **************** davical: LOG: headers:-->X-Powered-By: PHP/5.3.3 davical: LOG: headers:-->Server: 1.1 davical: LOG: headers:-->DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule davical: LOG: headers:-->DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy davical: LOG: headers:-->ETag: "e95f1983af90c33c3d320479be116bf0" davical: LOG: headers:-->X-DAViCal-Version: DAViCal/1.1.1; DB/1.2.11 davical: LOG: headers:-->Content-type: text/xml; charset="utf-8" davical: LOG: :******************** Response ******************** davical: LOG: response:--><?xml version="1.0" encoding="utf-8" ?> davical: LOG: response:--><multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> davical: LOG: response:--> <response> davical: LOG: response:--> <href>/caldav.php/martin/calendar/fcb872dc-3342-6b44-938c-2c0a7a156667.ics</href> davical: LOG: response:--> <propstat> davical: LOG: response:--> <prop/> davical: LOG: response:--> <status>HTTP/1.1 200 OK</status> davical: LOG: response:--> </propstat> davical: LOG: response:--> <propstat> davical: LOG: response:--> <prop> davical: LOG: response:--> <getetag/> davical: LOG: response:--> <C:calendar-data/> davical: LOG: response:--> <C:schedule-tag/> davical: LOG: response:--> </prop> davical: LOG: response:--> <status>HTTP/1.1 404 Not Found</status> davical: LOG: response:--> </propstat> davical: LOG: response:--> </response> davical: LOG: response:--></multistatus> davical: LOG: response:--> Am 20.07.12 16:16, schrieb Frank O. Martin: > Am 19.07.12 10:26, schrieb Andrew McMillan: >>> The environment is: >>> - CentOS release 5.8 (Final) >>> - Apache/2.2.3 (CentOS) >>> - PHP/5.3.3 >>> - PostgreSQL 8.1.23 >> >> My immediate off-the-cuff guess would be that I've screwed up something >> in relation to Postgres 8.1. On the other hand I do feel the need to >> point out that even *PostgreSQL.Org* do not support Postgres versions >> earlier than 8.3... > > Hi Andrew, > > as recommended I updated to the postgresql84 packages (version 8.4.12) > of my CentOS 5 box. Still not able to access the calendars with my iPad > I finally started a new davical db with the actual create-database.sh . > > I was able to import the old data as ics files via web interface and > Thunderbird/Lightning shows the calendars. Even though I even configured > the virtual host to rewrite /caldav.php/ to please Apple devices my iPad > still does not show any calendar events :-( > > I switched on dbg["ALL"] but have not clue which part(s) indicate what's > wrong. > > Can you give me some hints what I can check next? > > Thanks a lot & Regards > Frank > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Davical-general mailing list Davical-general [at] lists https://lists.sourceforge.net/lists/listinfo/davical-general
|