Results 1 to 3 of 3

Thread: [SOLVED] Zimbra CalDAV servlet fails on "invalid XML character"

  1. #1
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default [SOLVED] Zimbra CalDAV servlet fails on "invalid XML character"

    (Zimbra support case 00048097; local WHD 5134)

    So I've got iCal 3 (OS X 10.5.8) dying on specific shared calendars with "http://1.1.400 bad request to cal.davqueueqbleacctoperation fail."

    I found the 400 errors in jetty/logs/access_log.2010-01-08:

    1.2.3.4 - - [08/Jan/2010:18:35:08 +0000] "REPORT /dav/test/Test%20User's%20Calendar/ HTTP/1.1" 400 0 "-" "DAVKit/3.0.6 (661); CalendarStore/3.0.8 (860); iCal/3.0.8 (1287); Mac OS X/10.5.8 (9L31a)"

    And mailbox.log (strangely 10 seconds behind, after time zone correction):

    Code:
    2010-01-08 12:35:18,329 WARN ... dav - proxy request failed 
    org.dom4j.DocumentException: Error on line 1346 of document : Character reference "&#0" is an invalid XML character. Nested exception: Character reference "&#0" is an invalid XML character.
    at org.dom4j.io.SAXReader.read(SAXReader.java:350)
    at org.dom4j.io.SAXReader.read(SAXReader.java:264)
    at com.zimbra.cs.dav.service.DavServlet.isProxyRequest(DavServlet.java:583)
    at com.zimbra.cs.dav.service.DavServlet.service(DavServlet.java:221)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2010-01-08 12:35:18,374 INFO ... dav - sending http error 400 because
    : requested resource is not a calendar collection
    Line 1346 of what?

    The literal string &#0 does not appear in the .ics export of the calendar. I do see another escape, lots of color="#000000" in embedded HTML, and some binary (hopefully unicode) gunk embedded in Outlook-originated messages.

  2. #2
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    9

    Default

    Hi Rich,

    To track this down, enable DEBUG logging for CalDAV on the grantee account attempting to access the shared calendar, then search for the string in the logging to figure out which appointment it's sitting in. You will be able to edit the appointment summary, save, then sync will work.

    zmprov aal grantee@domain.com zimbra.dav debug

    Then watch for the string in mailbox.log.

  3. #3
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    9

    Default

    NULL character in shared appointment summary breaks CalDAV/iCal sync - Bug 43996

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. postfix relay=none status=bounced for local mails
    By vdd in forum Administrators
    Replies: 1
    Last Post: 08-06-2009, 08:05 AM
  2. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  3. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •