Thanks.
V1.0.9: http/1.1 415 Unsupported Media Type
-
cannot upload new appointments since update to V 1.0.9.
Log says:
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-Type: application/xml; charset=utf-8 Date: Thu, 26 May 2016 20:04:57 GMT Expires: Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive: timeout=5, max=97 Pragma: no-cache Server: Apache Transfer-Encoding: chunked X-Powered-By: PleskLin <?xml version="1.0" encoding="utf-8"?>[LF] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">;[LF] <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>[LF] <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: Invalid VObject, line 1 did not follow the icalendar/vcard format</s:message>[LF] <s:sabredav-version>1.8.7</s:sabredav-version>[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:311) at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:147) at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$SyncAdapter.onPerformSync(CalendarsSyncAdapterService.java:69) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
-
Please provide verbose logs, steps to reproduce etc.
-
Maybe this is related to http/1.1 411 Length Required. Please try again with 1.0.9.1 (which has just been released).
-
I guess it was related. It works again with 1.0.9.1.
More details on my setup with Davdriod V1.0.9:
I use Baikal 0.2.7
Android 6.0.1 on a Samsung SM-G935F (S7)Downloading calendar data to the phone works, but upload would fail with the HTTP Response from above:
<s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>[LF] <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: Invalid VObject, line 1 did not follow the icalendar/vcard format</s:message>[LF]
Let me know if you need more details.