Caldav integration with baikal server

hi,

i successfully got the caldav binding up and running with my google calendar but since i like to be more independent i installed the baikal server on my openhabian setup.

\im able to connect to the baikal server from my android phone but not from openhabian.

error in log file:

09:15:55.137 [ERROR] [caldav.internal.job.EventReloaderJob] - error while loading calendar entries: Unexpected response (405 - Method Not Allowed )
com.github.sardine.impl.SardineException: Unexpected response (405 Method Not Allowed)
        at com.github.sardine.impl.handler.ValidatingResponseHandler.validateResponse(ValidatingResponseHandler.java:48)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:40)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.handler.MultiStatusResponseHandler.handleResponse(MultiStatusResponseHandler.java:35)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:218)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.SardineImpl.execute(SardineImpl.java:962)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:417)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:409)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:386)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at org.openhab.io.caldav.internal.job.EventReloaderJob.loadEvents(EventReloaderJob.java:248)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at org.openhab.io.caldav.internal.job.EventReloaderJob.execute(EventReloaderJob.java:135)[224:org.openhab.io.caldav:1.10.0.201704300110]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[105:org.eclipse.smarthome.core.scheduler:0.9.0.201704291826]
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)[105:org.eclipse.smarthome.core.scheduler:0.9.0.201704291826]

any idea what could cause this error?

caldavio.cfg

caldavio:openhab:url=http://192.168.1.50/baikal/cal.php/calendars/openhab/openhab/
caldavio:openhab:username=openhab
caldavio:openhab:password=openhab
caldavio:openhab:reloadInterval=2
caldavio:openhab:preloadTime=20000

caldavCommand.cfg

caldavCommand:readCalendars=openhab

caldavPersonal.cfg

caldavPersonal:usedCalendars=openhab

I’m also using the CalDAV binding with a local Baikal server.

My configuration pretty much looks the same except that my url is slightly different and the calendar is called default:

caldavio:openhab:url=http://192.168.1.50/baikal/html/cal.php/calendars/openhab/default/

In addition I use these parameters:

caldavio:openhab:lastModifiedFileTimeStampValid=false
caldavio:openhab:disableCertificateVerification=false

With this setup the calendar works well except it doesn’t update automatically using BasicUI in openHAB2 (see https://github.com/eclipse/smarthome/issues/3308)

i added the 2 lines you have to my config but i’m still getting the “unexpected response (405 Methode not Allowed)” error.
does anyone has an idea what that error exactly is?

so i started with a fresh installation of openHAB2 and baikal (both running on the same server) and im still/again getting the above “405 Method Not Allowed”

does anyone has some further suggestions, i’m totally out of ideas.