Calendar sync with radicale 0.8 fails after first attempt



  • Hello,

    i have problems with a bug that was introduced after 0.5.4. When clear-data'ing the calendar, removing and re-adding the davdroid account, calendar sync works one time, and then fails. I believe that all information is synced anyways, but i get this "calendar sync is currently experiencing problems and will be back shortly" error. In logcat, i can see the following:

    D/davdroid.SNISocketFactory( 9890): Setting SNI hostname
    I/davdroid.SNISocketFactory( 9890): Established TLSv1 connection with someServer using SSL_RSA_WITH_RC4_128_MD5
    D/davdroid.WebDavResource( 9890): Received HTTP/1.0 207 Unknown
    D/davdroid.WebDavResource( 9890): <?xml version="1.0"?>
    D/davdroid.WebDavResource( 9890): <multistatus xmlns="DAV:" />
    E/davdroid.DavSyncAdapter( 9890): Invalid DAV response
    E/davdroid.DavSyncAdapter( 9890): at.bitfire.davdroid.webdav.DavNoContentException: Invalid DAV response: HTTP response entity (content) expected but not received
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.webdav.WebDavResource.processMultiStatus(WebDavResource.java:387)
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.webdav.WebDavResource.multiGet(WebDavResource.java:301)
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.resource.RemoteCollection.multiGet(RemoteCollection.java:84)
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:182)
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:87)
    E/davdroid.DavSyncAdapter( 9890):       at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:72)
    E/davdroid.DavSyncAdapter( 9890):       at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:257)
    D/SyncManager( 2200): failed sync operation gd u0 (bitfire.at.davdroid), com.android.calendar, SERVER, earliestRunTime 219011255, reason: AutoSync, SyncResult: stats [ numParseExceptions: 1]
    D/SyncManager( 2200): not retrying sync operation because the error is a hard error: gd u0 (bitfire.at.davdroid), com.android.calendar, SERVER, earliestRunTime 219018852, reason: AutoSync
    

    Upon setting radicale to debug and watching what happens there, i cannot see any errors there.

    Does anybody happen to know whats exploding here?

    Thanks for your great work on this project! Best Regards
    -Dario Ernst

    FIY, the full log of a calendar sync is here:

     I/ActivityManager( 2200): Start proc at.bitfire.davdroid:sync for service at.bitfire.davdroid/.syncadapter.CalendarsSyncAdapterService: pid=9890 uid=10095 gids={50095, 3003, 1028}
    I/davdroid.DavSyncAdapter( 9890): Performing sync for authority com.android.calendar
    I/davdroid.WebDavResource( 9890): Using preemptive authentication (not compatible with Digest auth)
    I/davdroid.SyncManager( 9890): Remotely removing 0 deleted resource(s) (if not changed)
    I/davdroid.SyncManager( 9890): Uploading 0 new resource(s) (if not existing)
    I/davdroid.SyncManager( 9890): Uploading 0 modified resource(s) (if not changed)
    I/dalvikvm( 9890): Could not find method javax.xml.stream.XMLInputFactory.newInstance, referenced from method org.simpleframework.xml.stream.StreamProvider.<init>
    W/dalvikvm( 9890): VFY: unable to resolve static method 7634: Ljavax/xml/stream/XMLInputFactory;.newInstance ()Ljavax/xml/stream/XMLInputFactory;
    D/dalvikvm( 9890): VFY: replacing opcode 0x71 at 0x0003
    W/dalvikvm( 9890): VFY: unable to find class referenced in signature (Ljavax/xml/stream/XMLEventReader;)
    W/dalvikvm( 9890): VFY: unable to find class referenced in signature (Ljavax/xml/stream/XMLEventReader;)
    I/dalvikvm( 9890): Could not find method javax.xml.stream.XMLInputFactory.createXMLEventReader, referenced from method org.simpleframework.xml.stream.StreamProvider.provide
    W/dalvikvm( 9890): VFY: unable to resolve virtual method 7632: Ljavax/xml/stream/XMLInputFactory;.createXMLEventReader (Ljava/io/InputStream;)Ljavax/xml/stream/XMLEventReader;
    D/dalvikvm( 9890): VFY: replacing opcode 0x6e at 0x0002
    I/dalvikvm( 9890): Could not find method javax.xml.stream.XMLInputFactory.createXMLEventReader, referenced from method org.simpleframework.xml.stream.StreamProvider.provide
    W/dalvikvm( 9890): VFY: unable to resolve virtual method 7633: Ljavax/xml/stream/XMLInputFactory;.createXMLEventReader (Ljava/io/Reader;)Ljavax/xml/stream/XMLEventReader;
    D/dalvikvm( 9890): VFY: replacing opcode 0x6e at 0x0002
    D/davdroid.HttpPropfind( 9890): Prepared PROPFIND request for https://someServer:5232/someUser/calendar.ics/: <propfind xmlns="DAV:">
    D/davdroid.HttpPropfind( 9890):    <prop>
    D/davdroid.HttpPropfind( 9890):       <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/>
    D/davdroid.HttpPropfind( 9890):    </prop>
    D/davdroid.HttpPropfind( 9890): </propfind>
    D/davdroid.SNISocketFactory( 9890): Setting SNI hostname
    I/davdroid.SNISocketFactory( 9890): Established TLSv1 connection with someServer using SSL_RSA_WITH_RC4_128_MD5
    D/davdroid.WebDavResource( 9890): Received HTTP/1.0 207 Unknown
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/
    D/davdroid.WebDavResource( 9890): <?xml version="1.0"?>
    D/davdroid.WebDavResource( 9890): <multistatus xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/">
    D/davdroid.WebDavResource( 9890):   <response>
    D/davdroid.WebDavResource( 9890):     <href>/someUser/calendar.ics/</href>
    D/davdroid.WebDavResource( 9890):     <propstat>
    D/davdroid.WebDavResource( 9890):       <prop>
    D/davdroid.WebDavResource( 9890):         <CS:getctag>"-1842636286"</CS:getctag>
    D/davdroid.WebDavResource( 9890):       </prop>
    D/davdroid.WebDavResource( 9890):       <status>HTTP/1.1 200 OK</status>
    D/davdroid.WebDavResource( 9890):     </propstat>
    D/davdroid.WebDavResource( 9890):   </response>
    D/davdroid.WebDavResource( 9890): </multistatus>
    D/davdroid.SyncManager( 9890): Last local CTag = "-2142259869"; current remote CTag = "-1842636286"
    I/davdroid.SyncManager( 9890): Fetching remote resource list
    D/davdroid.HttpPropfind( 9890): Prepared PROPFIND request for https://someServer:5232/someUser/calendar.ics/: <propfind xmlns="DAV:">
    D/davdroid.HttpPropfind( 9890):    <prop>
    D/davdroid.HttpPropfind( 9890):       <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/>
    D/davdroid.HttpPropfind( 9890):       <getetag/>
    D/davdroid.HttpPropfind( 9890):    </prop>
    D/davdroid.HttpPropfind( 9890): </propfind>
    D/davdroid.SNISocketFactory( 9890): Setting SNI hostname
    I/davdroid.SNISocketFactory( 9890): Established TLSv1 connection with someServer using SSL_RSA_WITH_RC4_128_MD5
    D/davdroid.WebDavResource( 9890): Received HTTP/1.0 207 Unknown
    D/GCM     ( 2540): Connected
    I/GCM     ( 2540): GCM message com.google.android.gsf.gtalkservice 
    D/GCM     ( 2540): Message class hwi
    D/ConnectivityService( 2200): handleInetConditionHoldEnd: net=1, condition=100, published condition=0
    D/StatusBar.NetworkController( 2295): updateConnectivity: intent=Intent { act=android.net.conn.INET_CONDITION_ACTION flg=0x8000010 (has extras) }
    D/StatusBar.NetworkController( 2295): updateConnectivity: networkInfo=NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "juiz", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
    D/StatusBar.NetworkController( 2295): updateConnectivity: connectionStatus=100
    D/StatusBar.NetworkController( 2295): updateConnectivity: intent=Intent { act=android.net.conn.INET_CONDITION_ACTION flg=0x8000010 (has extras) }
    D/StatusBar.NetworkController( 2295): updateConnectivity: networkInfo=NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "juiz", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
    D/StatusBar.NetworkController( 2295): updateConnectivity: connectionStatus=100
    D/dalvikvm( 9890): JIT code cache reset in 0 ms (4096 bytes 2/0)
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-127@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-127%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-127%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-53.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130711T101454Z-4945-1000-1-66@cheza.ics -> /someUser/calendar.ics/20130711T101454Z-4945-1000-1-66%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130711T101454Z-4945-1000-1-66%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS3-1116.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-3.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-57@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-57%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-57%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-61@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-61%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-61%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/04c8f17b-1e82-4e59-a313-cc40d9c3cf91.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-83@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-83%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-83%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-63@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-63%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-63%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-94.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/38358d7d-67c4-4d30-ad1a-363a36c54f6a.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-81.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/11d2ef53-d43a-436c-ab43-11d917deaf53.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-82@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-82%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-82%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-52.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-99.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-10@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-10%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-10%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-14@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-14%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-14%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-30@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-30%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-30%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-73@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-73%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-73%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-88.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-27@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-27%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-27%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-125@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-125%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-125%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-75.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-14.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130704T072841Z-4767-1000-1-0@cheza.ics -> /someUser/calendar.ics/20130704T072841Z-4767-1000-1-0%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130704T072841Z-4767-1000-1-0%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-105.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-67.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-100@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-100%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-100%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-35@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-35%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-35%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-79.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130711T160454Z-4945-1000-1-88@cheza.ics -> /someUser/calendar.ics/20130711T160454Z-4945-1000-1-88%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130711T160454Z-4945-1000-1-88%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-89@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-89%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-89%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-92@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-92%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-92%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-103.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-48@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-48%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-48%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-114@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-114%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-114%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-16@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-16%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-16%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-76.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-93@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-93%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-93%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-33.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-37.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-71.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130626T090443Z-4854-1000-1-0@cheza.ics -> /someUser/calendar.ics/20130626T090443Z-4854-1000-1-0%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130626T090443Z-4854-1000-1-0%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-5@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-5%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-5%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-39@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-39%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-39%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-60.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-45.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-70@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-70%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-70%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-73.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-28@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-28%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-28%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-34@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-34%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-34%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-28.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-32@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-32%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-32%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-38.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-81@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-81%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-81%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-116@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-116%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-116%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-5.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-87@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-87%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-87%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/40606c64-02b6-4b91-b830-31a8c56efa26.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-65.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-72@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-72%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-72%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/f7751732-6955-4572-b44f-43c903287fa9.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-42.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-78@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-78%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-78%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-87.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-17@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-17%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-17%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-94@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-94%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-94%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-63.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-8.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/1d36969d-ecfd-4fe6-95ca-bd65e835a29e.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-120@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-120%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-120%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-24@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-24%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-24%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-98@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-98%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-98%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-26.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-112@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-112%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-112%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-84.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-17.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-18.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-41.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-42@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-42%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-42%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-6@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-6%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-6%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-68.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-95.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-51@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-51%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-51%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-9.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/5cb6df48-a6fc-4a8e-ad6d-50bdf3eba5b1.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-61.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-74@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-74%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-74%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-78.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-29@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-29%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-29%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150336Z-4718-1000-1-118@cheza.ics -> /someUser/calendar.ics/20130315T150336Z-4718-1000-1-118%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150336Z-4718-1000-1-118%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-12.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-88@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-88%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-88%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-50.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-62.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-50@cheza.ics -> /someUser/calendar.ics/20130315T150335Z-4718-1000-1-50%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150335Z-4718-1000-1-50%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-97.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-77.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/ICS2-102.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150334Z-4718-1000-1-46@cheza.ics -> /someUser/calendar.ics/20130315T150334Z-4718-1000-1-46%40cheza.ics
    D/davdroid.WebDavResource( 9890): Processing multi-status element: https://someServer:5232/someUser/calendar.ics/20130315T150334Z-4718-1000-1-46%40cheza.ics
    W/davdroid.URIUtils( 9890): Trying to repair invalid URL: /someUser/calendar.ics/20130315T150335Z-4718-1000-1-55@cheza.ics -> /someUser/calendar.ics/20130315T150335…
    
    [truncated while importing]

  • developer

    I guess it's caused by the @ / %40 in the ICS files. Can you try to rename them?



  • Hi,

    thanks for your quick reply! I'm usign radicale together with CalDavZap and Thunderbird/SoGo-Connector. It seems that SoGo-Connector is appending "@<hostname>" to its UID and X-RADICALE-NAME fields. As radicale keeps the ics file as one file, i cannot rename it. I could try processing the file with sed and removing the "@<hostname>" tags, but that does not sound like a solution for the long run.

    Question is who is at "fault" here -- Thunderbird/SoGo for appending, Radicale for not removing or DavDroid for not (gracefully?) handling those tags.

    Thanks! Best Regards
    -Dario Ernst


  • developer

    thanks for your quick reply! I'm usign radicale together with CalDavZap and Thunderbird/SoGo-Connector. It seems that SoGo-Connector is appending "@" to its UID and X-RADICALE-NAME fields. As radicale keeps the ics file as one file, i cannot rename it. I could try processing the file with sed and removing the "@" tags, but that does not sound like a solution for the long run.

    Question is who is at "fault" here -- Thunderbird/SoGo for appending, Radicale for not removing or DavDroid for not (gracefully?) handling those tags.

    First, I'd like to know if that's really the problem. That's why it would be nice if you could try it out.

    @ shouldn't be used in URLs, so Radicale shouldn't send them. DAVdroid always converts @ in URLS into %40 as it is recommended, and Radicale should always understand %40 instead if the (not recommended) @.

    But that's speculation - first we'd have to find out if that's the problem.



  • Hey,

    simply replacing "@<somehost>" with "_<somehost>" in radicales calendar.ics file did solve the problem, davdroid now syncs fine.

    Thanks!
    -Dario Ernst


  • developer

    OK, so I guess there are three sub-issues:

    1. SoGo shouldn't PUT ics files with "@" in the file name to the server, but only use %40 [(Please) Stop Using Unsafe Characters in URLs]
    2. Radicale should convert the @ to %40 automatically.
    3. Regardless of Radicale converts @ to %40 internally, it should always treat @ and %40 the same.

    Could you please create issues for that in the SoGO / Radicale bug trackers?



  • Hi,

    thank you! I will do so.

    Regards
    -Dario Ernst



  • Even though closed, i'd like to post the links to the opened issues here. I wrongly assumed SoGo offered the CalDAV sync in Thunderbird/Lighting, but its Lighting itself. Here are the followup issues:
    https://github.com/Kozea/Radicale/issues/128#issue-29528443
    https://bugzilla.mozilla.org/show_bug.cgi?id=984314

    Thanks again!
    -Dario Ernst



  • Hi!

    As this is won't fix on the radicale side and they claim it's a bug in davdroid .. can you please reevaluate mabe reach consensus with the radicale folks on where it is to be fixed and in the worst case build in a workaround in davdroid?

    Thanks

    Christoph


  • developer

    I don't see the problem. DAVdroid will encode "@" to %40 and Radicale is supported for a long time. As this bug report is quite old and has already been resolved, can you please create a new issue, including detailled steps to reproduce, logs etc?


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.