Internal Server Error



  • Dear all,
    I use DAVdroid with owncloud on the server site and on my cyanogenmod mobile on the client site.

    Recently, the synchronization of contacts does not work well. Some contacts are handled some not. Each time I receiver the following message. Have you heard about something like that or have an idea what the problem could be?

    SYNCHRONIZATION INFO
    Synchronization phase: 9
    Account name: antjeOcCard
    Authority: com.android.contacts
    
    HTTP REQUEST:
    REPORT http://192.168.178.22/owncloud/remote.php/carddav/addressbooks/antje/contacts/
    Content-Length: 1544
    Content-Type: application/xml; charset=utf-8
    Depth: 0
    
    <?xml version='1.0' encoding='UTF-8' ?><CARD:addressbook-multiget xmlns="DAV:" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><getcontenttype /><getetag /><CARD:address-data content-type="text/vcard" version="4.0" /></prop><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/dfb0131f-06c0-4565-9e9a-de0361eaeee5%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/df42e7f0-f8db-41c0-8643-b531b0230436%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/c705f12e-804a-4db8-b9f0-5849ea3b40ce%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/c5e53e91-38ec-41cb-9181-e4609e4688a7%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/0da82056-331b-46e1-b135-9838a6ec735c%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/9dcb46cd-e363-49b3-97aa-f8e5c11181b6%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/a1b2a8fe-b3da-4344-973f-dd7b99781a88%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/3fa98585-b2a6-42bb-ae22-9d097879322b%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/f7b8c759-3a15-4788-8e32-d952eb9ee74e%2540192.168.178.22.vcf</href><href>/owncloud/remote.php/carddav/addressbooks/antje/contacts/d8c4e1c7-e2bc-4cfe-9ecf-6a3b62910063%2540192.168.178.22.vcf</href></CARD:addressbook-multiget>
    
    HTTP RESPONSE:
    http/1.1 500 Internal Server Error
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Connection: close
    Content-Length: 324
    Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *
    Content-Type: application/xml; charset=utf-8
    Date: Thu, 19 Nov 2015 18:43:50 GMT
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    OkHttp-Received-Millis: 1447958386248
    OkHttp-Selected-Protocol: http/1.1
    OkHttp-Sent-Millis: 1447958386145
    Pragma: no-cache
    Server: Apache/2.4.10 (Debian)
    X-Content-Type-Options: nosniff
    X-Frame-Options: Sameorigin
    X-Robots-Tag: none
    X-Sabre-Version: 2.1.6
    X-XSS-Protection: 1; mode=block
    
    <?xml version="1.0" encoding="utf-8"?>[LF]
    <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">[LF]
      <s:sabredav-version>2.1.6</s:sabredav-version>[LF]
      <s:exception>Sabre\VObject\ParseException</s:exception>[LF]
      <s:message>Invalid Mimedir file. Line starting at 4 did not follow iCalendar/vCard conventions</s:message>[LF]
    </d:error>[LF]
    
    
    STACK TRACE:
    at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
    at.bitfire.dav4android.exception.HttpException: 500 Internal Server Error
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:281)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavAddressBook.multiget(DavAddressBook.java:117)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncManager.downloadRemote(ContactsSyncManager.java:176)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:182)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:52)
    	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1.1 (85) Thu Nov 19 19:39:59 MEZ 2015
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: antjeOcCalendar
      Address book sync. interval: —
      Calendar     sync. interval: 1440 min
      OpenTasks    sync. interval: —
    Account: stefanOcCalendar
      Address book sync. interval: —
      Calendar     sync. interval: 1440 min
      OpenTasks    sync. interval: —
    Account: antjeOcCard
      Address book sync. interval: 1440 min
      Calendar     sync. interval: —
      OpenTasks    sync. interval: —
    
    SYSTEM INFORMATION
    Android version: 4.4.4 (cm_crespo-userdebug 4.4.4 KTU84Q 5b8388ef7b test-keys)
    Device: Samsung Nexus S (crespo)
    

  • developer

    Hello,

    There are various reasons why your Web server / OwnCloud could respond with a 500 Server Error. However, I recommend to ask in OwnCloud forums because this is not a DAVdroid problem.


Log in to reply
 

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