Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

XML parsing error

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


admin at postia

Jul 13, 2012, 12:41 AM

Post #1 of 3 (663 views)
Permalink
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 [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


jan.mate at inf-it

Jul 13, 2012, 1:12 AM

Post #2 of 3 (610 views)
Permalink
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 [at] postia> 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 [at] lists
> 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 [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general


admin at postia

Jul 13, 2012, 12:47 PM

Post #3 of 3 (607 views)
Permalink
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 [at] postia> 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 [at] lists
>> 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 [at] lists
https://lists.sourceforge.net/lists/listinfo/davical-general

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.