Announcement

Collapse
No announcement yet.

Unable to publish calendar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to publish calendar

    Hi,

    I'm trying to publish an ICal calendar on Mac OS X to Open-xchange, but I get the following error:

    "HTTP/1.1 409 Conflict"

    There is no entries on the Open-xchange calendar for the account, so cant see any conflicts. Any ideas?

    Paul

  • #2
    Any ideas where to start to look?

    Comment


    • #3
      Hi Paul,

      are there any error messages at the groupware logfile at the server (/var/log/open-xchange) when starting the sync process?

      Greetings

      Comment


      • #4
        Hi Martin,

        The error log has the following:

        13-May-2008 19:43:17 com.openexchange.webdav.ical doPut
        FINE: doPut
        NON-0000 Category=5 Message=no principal found: DAVKit/2.0 (10.5.2; wrbt) iCal 3.0.2_5 exceptionID=-2080693814-381
        at com.openexchange.webdav.ical.doPut(ical.java:538)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:712)
        at com.openexchange.tools.webdav.WebDavServlet.servic e(WebDavServlet.java:184)
        at com.openexchange.tools.webdav.OXServlet.service(OX Servlet.java:121)
        at com.openexchange.webdav.PermissionServlet.service( PermissionServlet.java:76)
        at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
        at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:92)
        at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:363)
        at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:168)
        at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:245)
        at java.lang.Thread.run(Thread.java:595)
        13-May-2008 19:43:17 com.openexchange.tools.servlet.ServletContextWrapp er log
        INFO: ical: 409 msg --> NON-0000 Category=5 Message=no principal found: DAVKit/2.0 (10.5.2; wrbt) iCal 3.0.2_5 exceptionID=-2080693814-381
        13-May-2008 19:43:20 com.openexchange.push.udp.PushOutputQueue action
        FINE: get push objects from queue: 0

        Does this help?

        Thanks

        Paul

        Comment


        • #5
          Yep, it seems the sync device does not set a owner for the appointment, this is mandatory for the open-xchange server. In most cases the owner ("principal") of a appointment is the current user, maybe the device allows a configuration to send the users e-mail address as owner.

          Greetings

          Comment


          • #6
            There are no principals in iCal.

            The "problem" is that the server doesn't allow clients to blindly overwrite folder contents. You first have to download the old contents, and then upload the new appointments together with the existing appointments.

            Comment


            • #7
              Here is the file that Ical is sending to the OX server. What key is missing from this file?

              BEGIN:VCALENDAR
              METHOD:PUBLISH
              PRODID:-//Apple Inc.//iCal 3.0//EN
              CALSCALE:GREGORIAN
              X-WR-CALNAME:Work
              X-WR-RELCALID:C04CBE35-2312-421F-883C-39F925CC7499
              VERSION:2.0
              X-WR-TIMEZONE:Europe/London
              BEGIN:VTIMEZONE
              TZID:Europe/London
              BEGINAYLIGHT
              TZOFFSETFROM:+0000
              TZOFFSETTO:+0100
              DTSTART:19810329T010000
              RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
              TZNAME:BST
              ENDAYLIGHT
              BEGIN:STANDARD
              TZOFFSETFROM:+0100
              TZOFFSETTO:+0000
              DTSTART:19961027T020000
              RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
              TZNAME:GMT
              END:STANDARD
              END:VTIMEZONE
              BEGIN:VEVENT
              SEQUENCE:2
              TRANSP:OPAQUE
              UID36ED6F5-75A4-4E69-B9A0-E3BF8301F5B6
              DTSTART;TZID=Europe/London:20080507T180000
              DTSTAMP:20080507T164809Z
              SUMMARY:Mine
              CREATED:20080507T164744Z
              DTEND;TZID=Europe/London:20080507T190000
              BEGIN:VALARM
              X-WR-ALARMUID:C2C701C0-4101-41E7-BDE2-AC1A8B907319
              ACTION:AUDIO
              TRIGGER:-PT15M
              ATTACH;VALUE=URI:Basso
              END:VALARM
              END:VEVENT
              END:VCALENDAR

              Comment


              • #8
                Nothing is missing. Ignore Martin's reply.

                You have to download before you can upload.

                Comment


                • #9
                  But I have nothing in the OX calendar at present and I have already tried downloading from OX before trying to publish back. Should I try create a new OX account and publishing the calendar to that?

                  Comment


                  • #10
                    You must download with the same software which does the upload (same user agent string).

                    The iCal interface is designed for fat clients which first read the existing data and modify it, not for overwriting everything in a folder.

                    Comment


                    • #11
                      OK, I understand now, it's the User Agent string that must match. Previously, I had downloaded the ics file from OX with a web browser and imported it into Ical before trying to publish. I have done as you suggested and subscribed to the OX calendar with Ical and then tried publishing and it now works!

                      Many thanks for your help.

                      Paul

                      Comment

                      Working...
                      X