CalDAV error with Baikal

Hi and good morning,

While trying to setup CalDAV (using Baikal) in Home Assistant with these settings

calendar:

the following error occured:

caldav: Error on device update!
11:15:49 AM – (ERROR) Calendar - message first occurred at 11:15:48 AM and shows up 2 times

What am I doing wrong here?

Thanfull for any hints,
Thomas

… and as I could not post the detail (limit of two URL for new users) here the detailed error message:

Log Details (ERROR)

Logger: homeassistant.components.calendar
Source: components/caldav/calendar.py:205
Integration: Calendar
First occurred: 11:15:48 AM (2 occurrences)
Last logged: 11:15:49 AM

caldav: Error on device update!

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 407, in _async_add_entity await entity.async_device_update(warning=False) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 516, in async_device_update await task File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “/usr/src/homeassistant/homeassistant/components/caldav/calendar.py”, line 146, in update self.data.update() File “/usr/src/homeassistant/homeassistant/util/init.py”, line 280, in wrapper result = method(*args, **kwargs) File “/usr/src/homeassistant/homeassistant/components/caldav/calendar.py”, line 205, in update results = self.calendar.date_search(start_of_today, start_of_tomorrow) File “/usr/local/lib/python3.8/site-packages/caldav/objects.py”, line 600, in date_search return self.search(root) File “/usr/local/lib/python3.8/site-packages/caldav/objects.py”, line 612, in search response = self._query(xml, 1, ‘report’) File “/usr/local/lib/python3.8/site-packages/caldav/objects.py”, line 171, in _query raise error.exception_by_methodquery_method caldav.lib.error.ReportError: 500 Internal Server Error b’<?xml version="1.0" encoding="utf-8"?>\n<d:error xmlns:d=“DAV:” xmlns:s=“sabre/dav”>\n <s:sabredav-version>4.1.2</s:sabredav-version>\n <s:exception>Sabre\VObject\EofException</s:exception>\n <s:message>End of document reached prematurely</s:message>\n</d:error>\n’

Hi @trogenmoser

I’m having the same issue. Did you ever find a fix? Thanks.

Dear Ron,

Unfortunately, I never got a reply and gave up on this topic.

Thanks for the reply. In the meantime, I’m now having success with this addon: hassio-addons/hass-addon-calendar at master · kdw2060/hassio-addons · GitHub

You may want to give it a try depending on your use case. An important difference is that events appear as sensor attributes rather than as events in the Home Assistant calendar.