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
Discovery fails on Nextcloud Caldav/Cardav server #842
Comments
Hey, bit late for the party, but I was struggling with the same-ish issue, and based on your description, we have a similar setup. |
Does the Discovery work with Evolution or DAVx⁵? The log above is not clear what docs What means
Is the code 301, 307 or 404? If the inital responsce is 301, vdirsyncer follows the redirection and the new URL returns 404, thenthe server is not configured properly. For performance reasons, I recommend to set in the configuration file the Principal-URL of the user. This skips on each synchronizations several lookups to find the principal-url (or set to the calendar-home-set - URL, if there is only one calendar-home set): I do not remember actually anymore, if vdirsyncer calls the principal-URL, I see in the code however |
I don't know if I really had the same problem, got a 401, but this solved it |
I had this setup working pretty much perfectly on my computer, then I built a new computer and set up everything to be exactly the same, same programs, OS, and vdirsyncer config.
When I run
vdirsyncer -vdebug discover my_calendar
, I get the following outputOne thing I noticed: In that output, if I highlight the domain here:
PROPFIND https:/<nextcloud_domain>/.well-known/caldav
and visit it, I get anhttp
page, which results in a 404.However if I manually change the URL to https, I get the page I expect, which says
This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.
So that might be the issue? My nextcloud instance itself handles
http
->https
redirects perfectly, so I'm not sure where the issue lies. I would be happy to assist with this issue in any way possible asvdirsyncer
is the the only way I am able to sync my contacts+calendar across all devices and use them in the programs I like.The text was updated successfully, but these errors were encountered: