Couldn't determine principal path



  • Hi,

    I'm trying to sync my radicale contacts and calendars with davdroid but I'm stuck with the error message : « Couldn't determine principal path ».

    It works with desktop clients like evolution or thunderbird but not with android 4.2.2 (CyanogenMod).

    \kf


  • developer

    Do you know how to view logcat information? Radicale is known to work, so the problem must be specific to your Radicale configuration.



  • Yep, here is the logcat :

    D/dalvikvm( 1567): GC_CONCURRENT freed 1919K, 68% free 3487K/10660K, paused 3ms+9ms, total 26ms
    D/dalvikvm( 1567): GC_CONCURRENT freed 1920K, 68% free 3487K/10660K, paused 3ms+8ms, total 26ms
    I/davdroid.QueryServerDialogFragment( 2548): onCreateLoader
    I/davdroid.WebDavResource( 2548): Using preemptive Basic Authentication
    D/davdroid.HttpPropfind( 2548): Prepared PROPFIND request: <propfind xmlns="DAV:">
    D/davdroid.HttpPropfind( 2548):    <prop>
    D/davdroid.HttpPropfind( 2548):       <current-user-principal/>
    D/davdroid.HttpPropfind( 2548):    </prop>
    D/davdroid.HttpPropfind( 2548): </propfind>
    W/SingleClientConnManager( 2548): Invalid use of SingleClientConnManager: connection still allocated.
    W/SingleClientConnManager( 2548): Make sure to release the connection before allocating another one.
    D/dalvikvm( 1567): GC_CONCURRENT freed 1924K, 68% free 3496K/10660K, paused 3ms+12ms, total 31ms
    D/davdroid.WebDavCollection( 2548): Received multistatus response: <?xml version="1.0"?>
    D/davdroid.WebDavCollection( 2548): <multistatus xmlns="DAV:">
    D/davdroid.WebDavCollection( 2548):   <response>
    D/davdroid.WebDavCollection( 2548):     <href>/fab/Contacts.vcf/</href>
    D/davdroid.WebDavCollection( 2548):     <propstat>
    D/davdroid.WebDavCollection( 2548):       <prop>
    D/davdroid.WebDavCollection( 2548):         <current-user-principal>
    D/davdroid.WebDavCollection( 2548):           <href>/fab/</href>
    D/davdroid.WebDavCollection( 2548):         </current-user-principal>
    D/davdroid.WebDavCollection( 2548):       </prop>
    D/davdroid.WebDavCollection( 2548):       <status>HTTP/1.1 200 OK</status>
    D/davdroid.WebDavCollection( 2548):     </propstat>
    D/davdroid.WebDavCollection( 2548):   </response>
    D/davdroid.WebDavCollection( 2548): </multistatus>
    

  • developer

    And what is the base URL you have entered (only path)?



  • For this logcat, I entered /fab/Contacts.vcf/, the same URL I use for my desktop client.
    I also tried /fab and /fab/Contacts.vcf (without the trailing slash) and no luck with these two.


  • developer

    Maybe you can grant me access to a test account (test:test) on your server and send details to play@bitfire.at ? Then I could test it under real conditions.



  • Good idea. Mail sent !


  • developer

    I think there's an error in your radicale configuration. On a
    PROPFIND /radicale/test
    request, your server replies with a multi-status response that tells
    about /test and not about /radicale/test (see logs).

    base_prefix must be set to /radicale/ in your Radicale configuration.


Log in to reply
 

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