# caldav

Sascha Foerster

03/20/2022, 8:19 AM
Hi there, I am using Kerio Connect (9.4.1) as a CalDav provider and I can’t load the busy-calender-times. I am using the selfhosted version (with yarn, not docker). I get this error message (which I didn’t find in github yet, when loading URL/availability/troubleshoot
@calcom/web:dev: 09:16:02.047 timeZoneName WARN CalendarManager
@calcom/web:dev:   at new ParserError (/home/
@calcom/web:dev:   at Object.parser [as parse] (/home/
@calcom/web:dev:   at eval (webpack-internal:///(api)/./lib/integrations/calendar/services/BaseCalendarService.ts:201:77)
@calcom/web:dev:   at (<anonymous>)
@calcom/web:dev:   at CalDavCalendarService.getAvailability (webpack-internal:///(api)/./lib/integrations/calendar/services/BaseCalendarService.ts:200:11)
@calcom/web:dev:   at runMicrotasks (<anonymous>)
@calcom/web:dev:   at processTicksAndRejections (internal/process/task_queues.js:95:5)
@calcom/web:dev:   at async Promise.all (index 0)
@calcom/web:dev:   at async getBusyCalendarTimes (webpack-internal:///(api)/./lib/integrations/calendar/CalendarManager.ts:122:19)
@calcom/web:dev:   at async handler (webpack-internal:///(api)/./pages/api/availability/[user].ts:86:23) {
@calcom/web:dev:  message: 'invalid ical body. component began but did not end'
@calcom/web:dev: }
Shall I create a new issue? Or is it probably a Kerio issue?


04/12/2022, 3:14 PM
It sounds like Kerio doesn't adhere to the CalDav standard 100% but that's just a guess
👍 1

Sascha Foerster

04/12/2022, 3:24 PM
Do you maybe know how to best find out or debug? I could download the file, but is there maybe a more detailed log in Cal.Com to check, what is expecting but not getting?
I tried version 1.5 and it stays:
2|calcom | @calcom/web:start: 21:38:39.651 timeZoneName WARN CalendarManager
2|calcom | @calcom/web:start:   at new ParserError (/home/
2|calcom | @calcom/web:start:   at Object.parser [as parse] (/home/
2|calcom | @calcom/web:start:   at /home/
2|calcom | @calcom/web:start:   at Array.forEach (<anonymous>)
2|calcom | @calcom/web:start:   at CalDavCalendarService.getAvailability (/home/
2|calcom | @calcom/web:start:   at runMicrotasks (<anonymous>)
2|calcom | @calcom/web:start:   at processTicksAndRejections (internal/process/task_queues.js:95:5)
2|calcom | @calcom/web:start:   at async Promise.all (index 0)
2|calcom | @calcom/web:start:   at async getBusyCalendarTimes (/home/
2|calcom | @calcom/web:start:   at async handler (/home/[user].js:517:23)
2|calcom | @calcom/web:start:   at async Object.apiResolver (/home/
2|calcom | @calcom/web:start:   at async NextNodeServer.runApi (/home/
2|calcom | @calcom/web:start:   at async Object.fn (/home/
2|calcom | @calcom/web:start:   at async Router.execute (/home/
2|calcom | @calcom/web:start:   at async (/home/
2|calcom | @calcom/web:start:   at async NextNodeServer.handleRequest (/home/ {
2|calcom | @calcom/web:start:  message: 'invalid ical body. component began but did not end'
2|calcom | @calcom/web:start: }
I hope this is the right place for this issue:
@zomars Thank you for your late night help! (at least for me it is late 😉 )