calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
30.08k stars 7.11k forks source link

[CAL-3739] CalDAV Events only sometimes load #14311

Open apollo-sturdy opened 3 months ago

apollo-sturdy commented 3 months ago

Issue Summary

When having a connected CalDAV calendar and going to the booking page, one some page loads the blocking events in the calendar correctly block those times, and on other page loads it does not. There are no errors in the console and none in the server docker logs.

Steps to Reproduce

  1. Add CalDAV calendar
  2. Open booking page
  3. Refresh multiple times

Evidence

CAL-3739

dosubot[bot] commented 3 months ago

Hello @apollo-sturdy! I'm Dosu, a friendly bot here to assist you with bugs, answer your questions, and guide you in contributing to the project while we wait for a human maintainer to join us. I'm here to help, so let's look into this issue with the CalDAV calendar events on cal.com together.

Based on the details you've provided, it seems like the issue with CalDAV events not loading consistently could be related to a few potential areas:

  1. Caching Issues: Sometimes, caching mechanisms can cause inconsistencies in how data is loaded or displayed. It's worth checking if there's any client-side or server-side caching that might be affecting the loading of CalDAV events.

  2. Network Fluctuations: Network issues can also lead to intermittent problems. Although you mentioned there are no errors in the console or server logs, it might still be beneficial to monitor network requests in the browser's developer tools to see if all requests to load CalDAV events are completing successfully.

  3. CalDAV Server Response: There could be instances where the CalDAV server takes longer to respond or doesn't respond in a consistent manner. This could be due to server load or other server-side issues.

  4. Concurrency Issues: If there are multiple requests being made to load calendar events, there might be concurrency issues that lead to some requests not being handled as expected.

To further diagnose and potentially resolve this issue, here are a few steps you can take:

I hope these suggestions help you in troubleshooting the issue further. If you have any more information or if there's anything else I can assist you with, please don't hesitate to ask.

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.
PeerRich commented 2 months ago

CalDav is still in beta and quiet unstable. thank you for reporting, we will look into it