Mailing List Archive

XML parsing error
Hello list,

I checked my davical error log and noticed a lot of errors that seem to happen every time a certain user checks his calendar. The user did not report a problem, so everything seems to work fine.

The error is clogging my error log because the iPad in question does sync with iCal every few minutes 24/7.

I would like to have a look at the request that the iPad sends. Is there any way to have a look at that and see if it conforms to the RFC?

Kind regards
Martin

davical_error.log
[Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:XML parsing error: Unknown at line 3, column 33
[Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:Error occurred in:\n<schedule-default-calendar-URL xmlns="urn:ietf:params:xml:ns:caldav">\n <DAV::href>/caldav.php/user/private/</DAV::href>\n</schedule-default-calendar-URL>\n

davical_access.log:
xxx.xxx.103.137 - - [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 401 1262 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
xxx.xxx.103.137 - user [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 885 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 1204 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 740 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 2564 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: XML parsing error [ In reply to ]
Already discussed and solved ...

The following SQL query fixes the problem (wrong properties from the previous version of Davical):

DELETE FROM property WHERE property_value ~ '<DAV::href';


JM


On Jul 13, 2012, at 9:41 AM, Martin Weil <admin@postia.de> wrote:

> Hello list,
>
> I checked my davical error log and noticed a lot of errors that seem to happen every time a certain user checks his calendar. The user did not report a problem, so everything seems to work fine.
>
> The error is clogging my error log because the iPad in question does sync with iCal every few minutes 24/7.
>
> I would like to have a look at the request that the iPad sends. Is there any way to have a look at that and see if it conforms to the RFC?
>
> Kind regards
> Martin
>
> davical_error.log
> [Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:XML parsing error: Unknown at line 3, column 33
> [Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:Error occurred in:\n<schedule-default-calendar-URL xmlns="urn:ietf:params:xml:ns:caldav">\n <DAV::href>/caldav.php/user/private/</DAV::href>\n</schedule-default-calendar-URL>\n
>
> davical_access.log:
> xxx.xxx.103.137 - - [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 401 1262 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
> xxx.xxx.103.137 - user [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 885 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 1204 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 740 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 2564 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
> ------------------------------------------------------------------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: XML parsing error [ In reply to ]
Thanks.

Am 13.07.2012 um 10:12 schrieb Ján Máté:

> Already discussed and solved ...
>
> The following SQL query fixes the problem (wrong properties from the previous version of Davical):
>
> DELETE FROM property WHERE property_value ~ '<DAV::href';
>
>
> JM
>
>
> On Jul 13, 2012, at 9:41 AM, Martin Weil <admin@postia.de> wrote:
>
>> Hello list,
>>
>> I checked my davical error log and noticed a lot of errors that seem to happen every time a certain user checks his calendar. The user did not report a problem, so everything seems to work fine.
>>
>> The error is clogging my error log because the iPad in question does sync with iCal every few minutes 24/7.
>>
>> I would like to have a look at the request that the iPad sends. Is there any way to have a look at that and see if it conforms to the RFC?
>>
>> Kind regards
>> Martin
>>
>> davical_error.log
>> [Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:XML parsing error: Unknown at line 3, column 33
>> [Fri Jul 13 09:27:44 2012] [error] [client xxx.xxx.103.137] DAViCal: ***: ERROR:Error occurred in:\n<schedule-default-calendar-URL xmlns="urn:ietf:params:xml:ns:caldav">\n <DAV::href>/caldav.php/user/private/</DAV::href>\n</schedule-default-calendar-URL>\n
>>
>> davical_access.log:
>> xxx.xxx.103.137 - - [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 401 1262 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
>> xxx.xxx.103.137 - user [13/Jul/2012:09:27:43 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 885 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
>> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 1204 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
>> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "OPTIONS /caldav.php/user/ HTTP/1.1" 200 740 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
>> xxx.xxx.103.137 - user [13/Jul/2012:09:27:44 +0200] "PROPFIND /caldav.php/user/ HTTP/1.1" 207 2564 "-" "iOS/5.1.1 (9B206) dataaccessd/1.0"
>> ------------------------------------------------------------------------------
>> 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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/davical-general
>


------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general