posteo: no permission to access address book



  • For some reason, my DAVdroid installation doesn't work properly any more and I can't find out the reason. Calendar and tasks are both syncing just fine, but the address book always yields a sync error (in German: "Serverfehler beim Hochladen").

    OS: Android 4.2.2
    DAVdroid: 1.0.7
    Server: posteo.de

    Anyone any idea? Full error protocol follows ...

    SYNCHRONIZATION INFO
    Synchronization phase: 4
    Account name: gottfried.staubach
    Authority: com.android.contacts
    
    HTTP REQUEST:
    PUT /addressbooks/gottfried.staubach/default/C62513BB-A490-0001-F4CB-1CB06CB01816.vcf
    Authorization: Basic Z290dGZyaWVkLnN0YXViYWNoOkplZmZyZXk0OA==
    Content-Length: 247
    Content-Type: text/vcard;version=4.0
    If-Match: "c3bfca65247344c746ae841c6406a976"
    
    BEGIN:VCARD[CR][LF]
    VERSION:4.0[CR][LF]
    UID:C62513BC-0060-0001-93C0-5CF5E7F0C1E0[CR][LF]
    PRODID:+//IDN bitfire.at//DAVdroid/1.0.7 vcard4android ez-vcard/0.9.9[CR][LF]
    FN:Manfred H[ffffffc3][ffffffb6]fer[CR][LF]
    N:H[ffffffc3][ffffffb6]fer;Manfred;;;[CR][LF]
    EMAIL;TYPE=work:hoefer1948@gmx.de[CR][LF]
    REV:20160423T190353Z[CR][LF]
    END:VCARD[CR][LF]
    
    
    HTTP RESPONSE:
    http/1.1 403 Forbidden
    Connection: Keep-Alive
    Content-Length: 282
    Content-Type: text/html; charset=iso-8859-1
    Date: Sat, 23 Apr 2016 19:03:55 GMT
    Keep-Alive: timeout=5, max=39
    OkHttp-Received-Millis: 1461438233639
    OkHttp-Sent-Millis: 1461438233604
    Server: Apache
    
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">[LF]
    <html><head>[LF]
    <title>403 Forbidden</title>[LF]
    </head><body>[LF]
    <h1>Forbidden</h1>[LF]
    <p>You don't have permission to access /addressbooks/gottfried.staubach/default/C62513BB-A490-0001-F4CB-1CB06CB01816.vcf[LF]
    on this server.</p>[LF]
    </body></html>[LF]
    
    
    EXCEPTION:
    at.bitfire.dav4android.exception.HttpException: 403 Forbidden
    at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:317)
    at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:290)
    at at.bitfire.dav4android.DavResource.put(DavResource.java:201)
    at at.bitfire.davdroid.syncadapter.SyncManager.uploadDirty(SyncManager.java:314)
    at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:147)
    at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:66)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254)
    
    SOFTWARE INFORMATION
    DAVdroid version: 1.0.7 (98) Fri Apr 15 21:33:34 MESZ 2016
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: gottfried.staubach
      Address book sync. interval: 240 min
      Calendar     sync. interval: 240 min
      OpenTasks    sync. interval: 240 min
    
    SQLITE DUMP
    android_metadata
    |  locale |
    |  de_DE |
    ----------
    settings
    |  setting | value |
    ----------
    services
    |  _id | accountName | service | principal |
    |  3 | gottfried.staubach | carddav | https://posteo.de:8443/principals/gottfried.staubach/ |
    |  4 | gottfried.staubach | caldav | https://posteo.de:8443/principals/gottfried.staubach/ |
    ----------
    sqlite_sequence
    |  name | seq |
    |  services | 4 |
    |  homesets | 8 |
    |  collections | 8 |
    ----------
    homesets
    |  _id | serviceID | url |
    |  7 | 4 | https://posteo.de:8443/calendars/gottfried.staubach/ |
    |  8 | 3 | https://posteo.de:8443/addressbooks/gottfried.staubach/ |
    ----------
    collections
    |  _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
    |  7 | 4 | https://posteo.de:8443/calendars/gottfried.staubach/default/ | 0 | Remote-Kalender | <null> | <null> | <null> | 1 | 1 | 1 |
    |  8 | 3 | https://posteo.de:8443/addressbooks/gottfried.staubach/default/ | 0 | default addressbook | <null> | <null> | <null> | <null> | <null> | 1 |
    ----------
    
    SYSTEM INFORMATION
    Android version: 4.2.2 (JDQ39.I9105PXXUBNG1)
    Device: Samsung GT-I9105P (s2vep)
    

    Edit: quoted debug info to make it readable


  • developer

    Hello,

    According to the debug info, your server returns:

    http/1.1 403 Forbidden
    […]
    <p>You don't have permission to access /addressbooks/gottfried.staubach/default/C62513BB-A490-0001-F4CB-1CB06CB01816.vcf on this server.</p>
    

    Is there any reason why you think this is a DAVdroid problem?


Log in to reply
 

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