-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibly the server has a path handling problem, possibly the URL configured is wrong. #377
Comments
I should probably consider to simply remove that warning. |
I have the same problem with my Synology DiskStation and Caldav integration in HA. My calendars are displayed correctly. However, I cannot edit, delete or add appointments. |
I also haven't figured out how to edit, delete or add appointments in HomeAssistant. |
In my Google calendar, which I use as a Workday sensor and trash calendar, I can edit and delete appointments. However, since I don't want to use the Google calendar for my office organization, it's a shame that the Caldav integration doesn't work here. In my opinion, it can't be Synology's fault, as the Caldav synchronization works perfectly on two Android devices (DAVX-App) and a Windows PC (Thunderbird email), including all editing and deletion functions. |
As for the "path handling problem" with synology, it may be related to my findings in #191, where the URL was configured as Writing, editing and deleting events in Synology should work - I did manage to run the test suite towards Synology while doing research into #191. Writing, editing and deleting events in HomeAssistant using the caldav interface is another thing - I have the impression that this is a bit work under progress, but since I'm not directly involved in the HomeAssistant caldav integration I may be wrong on that account. |
Thank you very much for the quick information. I have changed the caldav integration in HA by adding 'caldav.php' to the path. HA has accepted this. All Synology calendars are synchronized. Editing does not work via HA (maybe in the future?). So far no more error messages. What I have noticed, however, is that the HA integration in the caldav URL only accepts the IP address of the Synology. The domain name is not accepted. |
I'm experiencing the same Interesingly enough I saw the same error on my Android phone, which uses DAVx5 for syncing the calendar between my Synology DSM and my Android phone. My thoughts so far is that Synology changed something in either their Calendar-package or their nginx configuration (which is used as a reversed proxy for all Synology packages with a web-interface), and that they changed the URL from |
It's a warning, not an error. :-) Interesting that DAVx5 is showing the same warning. DAVx5 is not using this library, so probably not exactly the same error? |
Edited ;-)
Nope, it's not the exact same warning, but it does show a similar warning. Just wanted to let you know this; hope it helps explaining this issue. |
Same issue here:
Only happens on restart, though, and everything is indeed fine. In view of the comments above, I'll monitor a bit longer, then probably just filter it out. |
@stiltjack known configuration problem, change |
Hi,
url is the right one and it shows me the calender in Homeassistant, but i get always this hint
Its an calDAV Calender on a synology diskstation
Logger: caldav
Source: /usr/local/lib/python3.11/site-packages/caldav/objects.py:303
First occurred: 11:02:20 (2 occurrences)
Last logged: 11:02:21
Possibly the server has a path handling problem, possibly the URL configured is wrong. Path expected: /caldav/Dieter, path found: ['/caldav.php/Dieter/'] Please raise an issue at https://github.com/python-caldav/caldav/issues or reach out to [email protected], include this error and the traceback and tell what server you are using. Continuing, probably everything will be fine
The text was updated successfully, but these errors were encountered: