Dup of #58
OwnCloud event upload: 415 Unsupported Media Type
-
Hi,
since latest Update, the synchronisation with owncloud 9.0.1 gives following error:SYNCHRONIZATION INFO Synchronization phase: 4 Account name: tobias.steinmann@gmx.de Authority: org.dmfs.tasks HTTP REQUEST: PUT /remote.php/caldav/calendars/topse/pers%c3%b6nlich/798b61c7-a740-4430-8c21-0b45b119e475.ics Authorization: Basic dG9wc2U6YXNkUVdFITIzNA== Content-Type: text/calendar;charset=utf-8 If-Match: "c31f2cf28b3e090815c8969449ba6e65" Transfer-Encoding: chunked BEGIN:VCALENDAR[CR][LF] VERSION:2.0[CR][LF] PRODID:+//IDN bitfire.at//DAVdroid/1.0.9 ical4android ical4j/2.x[CR][LF] BEGIN:VTODO[CR][LF] DTSTAMP:20160527T183340Z[CR][LF] UID:798b61c7-a740-4430-8c21-0b45b119e475[CR][LF] SEQUENCE:1[CR][LF] CREATED:20160516T204428Z[CR][LF] LAST-MODIFIED:20160527T152544Z[CR][LF] SUMMARY:Blumenk[ffffffc3][ffffffa4]sten und Saateinlagen kaufen[CR][LF] STATUS:COMPLETED[CR][LF] COMPLETED:20160527T152544Z[CR][LF] PERCENT-COMPLETE:100[CR][LF] END:VTODO[CR][LF] END:VCALENDAR[CR][LF] HTTP RESPONSE: http/1.1 415 Unsupported Media Type Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection: Keep-Alive 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: Fri, 27 May 2016 18:33:41 GMT Expires: Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive: timeout=2, max=185 Pragma: no-cache Server: Apache Set-Cookie: 51e4827dd9e29=78a5b5252892e8544b31645953968130; path=/; HttpOnly Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: Sameorigin X-Permitted-Cross-Domain-Policies: none X-Powered-By: PHP/5.6.21 X-Robots-Tag: none X-Sabre-Version: 3.0.8 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>3.0.8</s:sabredav-version>[LF] <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>[LF] <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: End of document reached prematurely</s:message>[LF] </d:error>[LF] EXCEPTION: at.bitfire.dav4android.exception.HttpException: 415 Unsupported Media Type 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.TasksSyncAdapterService$SyncAdapter.onPerformSync(TasksSyncAdapterService.java:75) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259) SOFTWARE INFORMATION DAVdroid version: 1.0.9 (100) Thu May 26 08:14:16 MESZ 2016 Installed from: org.fdroid.fdroid JB Workaround installed: no CONFIGURATION System-wide synchronization: automatically Account: tobias.steinmann@gmx.de Address book sync. interval: 60 min Calendar sync. interval: 60 min OpenTasks sync. interval: 60 min SQLITE DUMP android_metadata | locale | | de_DE | ---------- settings | setting | value | ---------- services | _id | accountName | service | principal | | 1 | tobias.steinmann@gmx.de | carddav | <null> | | 2 | tobias.steinmann@gmx.de | caldav | <null> | ---------- sqlite_sequence | name | seq | | services | 2 | | collections | 26 | | homesets | 5 | ---------- homesets | _id | serviceID | url | | 3 | 1 | http://owncloud.fantasymusic.de/remote.php/carddav/addressbooks/topse/ | | 5 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/ | ---------- collections | _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync | | 10 | 1 | http://owncloud.fantasymusic.de/remote.php/carddav/addressbooks/topse/kontakte/ | 0 | Kontakte | <null> | <null> | <null> | <null> | <null> | 1 | | 19 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/b%c3%bcro/ | 0 | Schule | Schule | -3348993 | <null> | 1 | 1 | 1 | | 20 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/contact_birthdays/ | 0 | contact_birthdays | <null> | <null> | <null> | 1 | 1 | 1 | | 21 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/efb_shared_by_mona/ | 0 | EFB(mona) | EFB | -1703988 | <null> | 1 | 1 | 1 | | 22 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/ferien_feiertage/ | 0 | Ferien_Feiertage | Ferien_Feiertage | -13108 | <null> | 1 | 1 | 1 | | 23 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/mona_und_tobi/ | 0 | Mona_und_Tobi | Mona_und_Tobi | -32768 | <null> | 1 | 1 | 1 | | 24 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/musik/ | 0 | Musik | Musik | -10046721 | <null> | 1 | 1 | 1 | | 25 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/pers%c3%b6nlich/ | 0 | Tobi | Tobi | -16744193 | <null> | 1 | 1 | 1 | | 26 | 2 | http://owncloud.fantasymusic.de/remote.php/caldav/calendars/topse/pers%c3%b6nlich_shared_by_mona/ | 0 | Mona(mona) | Mona | -8323328 | <null> | 1 | 1 | 1 | ---------- SYSTEM INFORMATION Android version: 5.1.1 (14.6.A.1.236)
A new Bug?
-
Hello,
This seems to be the same problem as https://forums.bitfire.at/topic/1100/v1-0-9-http-1-1-415-unsupported-media-type
Please use DAVdroid 0.9.0.1.