• Hi, I’m getting notifications from DAVx5 concerning an HTTP error with mailbox.org. Calender events aren’t synced.

    I already tried uninstalling and re-installing the DAVx5 app, that didn’t change anything.
    This is what the debug info says - can you help me understand it?

    --- BEGIN DEBUG INFO ---
    
    SYNCHRONIZATION INFO
    Account: Account {name=**@************.at, type=bitfire.at.davdroid}
    Authority: com.android.calendar
    
    EXCEPTION
    at.bitfire.dav4jvm.exception.HttpException: HTTP 400 Bad Request
    	at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:5)
    	at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:3)
    	at at.bitfire.dav4jvm.DavResource.put(DavResource.kt:2)
    	at at.bitfire.dav4jvm.DavResource.put$default(DavResource.kt:1)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$3.invoke(SyncManager.kt:5)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$3.invoke(SyncManager.kt:1)
    	at at.bitfire.davdroid.syncadapter.SyncManager.remoteExceptionContext(SyncManager.kt:1)
    	at at.bitfire.davdroid.syncadapter.SyncManager.uploadDirty(SyncManager.kt:16)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1$1$1.invoke(SyncManager.kt:2)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1$1$1.invoke(SyncManager.kt:1)
    	at at.bitfire.davdroid.syncadapter.SyncManager.localExceptionContext(SyncManager.kt:1)
    	at at.bitfire.davdroid.syncadapter.SyncManager$uploadDirty$1$1.invokeSuspend(SyncManager.kt:2)
    	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
    	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    	at java.lang.Thread.run(Thread.java:919)
    
    HTTP REQUEST
    Request{method=PUT, url=https://dav.mailbox.org/caldav/Y2FsOi8vMC8zMQ/b3037ddb-14f1-4a9f-a665-188a1376c6c9.ics, headers=[If-Schedule-Tag-Match:"0", User-Agent:DAVx5/4.0-gplay (2021/10/10; dav4jvm; okhttp/4.9.1) Android/10, Accept-Language:de-DE, de;q=0.7, *;q=0.5]}
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:DAVx5/4.0-gplay ical4j/3.1.0 (com.appgenix.bizcal)
    BEGIN:VEVENT
    DTSTAMP:20211016T101340Z
    UID:b3037ddb-14f1-4a9f-a665-188a1376c6c9
    SEQUENCE:1
    SUMMARY:Homeoffice
    DTSTART;VALUE=DATE:20210830
    DTEND;VALUE=DATE:20210831
    RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20211031T215900Z;BYDAY=MO,TH
    EXDATE;VALUE=DATE:20211011
    EXDATE;VALUE=DATE:20211018
    CLASS:PUBLIC
    STATUS:CONFIRMED
    CREATED:20210826T143525Z
    BEGIN:VALARM
    TRIGGER:PT8H
    ACTION:DISPLAY
    DESCRIPTION:Homeoffice
    END:VALARM
    END:VEVENT
    END:VCALENDAR
    
    
    HTTP RESPONSE
    Response{protocol=http/1.1, code=400, message=Bad Request, url=https://dav.mailbox.org/caldav/Y2FsOi8vMC8zMQ/b3037ddb-14f1-4a9f-a665-188a1376c6c9.ics}
    
    
    LOCAL RESOURCE
    LocalEvent=[eTag=http://www.open-xchange.com/etags/1220-1629988525362, fileName=b3037ddb-14f1-4a9f-a665-188a1376c6c9.ics, flags=1, scheduleTag=0, weAreOrganizer=true, calendar=at.bitfire.davdroid.resource.LocalCalendar@b847cad, event=Event=[alarms=[BEGIN:VALARM
    TRIGGER:PT8H
    ACTION:DISPLAY
    DESCRIPTION:Homeoffice
    END:VALARM
    ], attendees=[], categories=[], classification=CLASS:PUBLIC
    , color=null, description=null, dtEnd=DTEND;VALUE=DATE:20210831
    , dtStart=DTSTART;VALUE=DATE:20210830
    , duration=null, exDates=[EXDATE;VALUE=DATE:20211011
    , EXDATE;VALUE=DATE:20211018
    ], exRules=[], exceptions=[], lastModified=null, location=null, opaque=true, organizer=null, rDates=[], rRules=[RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20211031T215900Z;BYDAY=MO,TH
    ], recurrenceId=null, status=STATUS:CONFIRMED
    , summary=Homeoffice, unknownProperties=[CREATED:20210826T143525Z
    ], url=null, userAgents=[com.appgenix.bizcal], sequence=1, uid=b3037ddb-14f1-4a9f-a665-188a1376c6c9], id=39425]
    
  • developer

    @argo Hi,

    Your calendar app has saved this event:

    DTSTART;VALUE=DATE:20210830
    DTEND;VALUE=DATE:20210831
    RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20211031T215900Z;BYDAY=MO,TH
    

    It’s a full-day event, but the UNTIL has time. Maybe you have switched between full-day and non-full-day and the calendar app didn’t update it accordingly?

    Please create the event again and try again.


  • @rfc2822 Hi, I deleted the recurring event and re-created it. No more errors.

    Thanks a lot!

Similar topics