Error syncing calendar Owncloud



  • Hi friends,
    randomly DAVdroid show me the server error connection after a new inserted (from android) calendar appointment, but if I go to Owncloud, the appointment is there.

    Here the log:

    SYNCHRONIZATION INFO
    Synchronization phase: 7
    Account name: info@cosmogonia.org
    Authority: com.android.calendar
    
    STACK TRACE:
    org.xmlpull.v1.XmlPullParserException: Unexpected EOF (position:START_TAG <d:resp>@2:712666 in java.io.InputStreamReader@42430f70) 
    	at org.kxml2.io.KXmlParser.checkRelaxed(KXmlParser.java:302)
    	at org.kxml2.io.KXmlParser.parseStartTag(KXmlParser.java:1059)
    	at org.kxml2.io.KXmlParser.next(KXmlParser.java:369)
    	at org.kxml2.io.KXmlParser.next(KXmlParser.java:310)
    	at at.bitfire.dav4android.DavResource.parseMultiStatus(DavResource.java:362)
    	at at.bitfire.dav4android.DavResource.processMultiStatus(DavResource.java:338)
     [wrapped] at.bitfire.dav4android.exception.InvalidDavResponseException: Couldn't parse Multi-Status XML
    at.bitfire.dav4android.exception.InvalidDavResponseException: Couldn't parse Multi-Status XML
    	at at.bitfire.dav4android.DavResource.processMultiStatus(DavResource.java:349)
    	at at.bitfire.dav4android.DavCalendar.calendarQuery(DavCalendar.java:83)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager.listRemote(CalendarSyncManager.java:117)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:172)
    	at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$SyncAdapter.onPerformSync(CalendarsSyncAdapterService.java:58)
    	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1.2 (86) Fri Dec 04 15:06:21 CET 2015
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: info@cosmogonia.org
      Address book sync. interval: 1440 min
      Calendar     sync. interval: 1440 min
      OpenTasks    sync. interval: —
    
    SYSTEM INFORMATION
    Android version: 4.4.4 (cm_pepper-userdebug 4.4.4 KTU84Q f886b4ed5f test-keys)
    Device: Sony Xperia Sola (pepper)
    

    Many thanks!

    Davide
    Italy


  • developer

    Hello,

    It seems like the XML sent by OwnCloud is invalid. Please provide full logs and maybe do a follow-up in the OwnCloud calendar issues.



  • Thanks for your help "rfc2822",
    I've open the same question on Owncloud Calendar forum;
    I've try to get the "full log" but now from DAVdroid I obtain a few log lines, is not clear for me how get the "full log"..

    many thanks again