你好,我最近设置了一个带有日历的nextcloud实例,并希望与它同步。
这是我的cal泪道-caldav配置(密码、用户名和主机名明显改变了):
[General]
Binary = calcurse
Hostname = nextcloud.example.com/nextcloud
Path = remote.php/dav/
AuthMethod = basic
HTTPS = Yes
DryRun = No
Verbose = Yes
[Auth]
Username = BestUsername
Password = SuperSecretPassword但是,我得到了以下错误:
╰─$ calcurse-caldav --init keep-remote
Connecting to nextcloud.example.com/nextcloud...
Removing all local calcurse objects...
error: The server at nextcloud.example.com/nextcloud replied with HTTP status
error: code 415 (Unsupported Media Type) while trying to access
error: https://nextcloud.example.com/nextcloud/remote.php/dav/.我强烈怀疑我的配置有什么问题,但我不明白是什么原因,因为这个配置完美的工作与口径。
发布于 2021-11-29 19:32:49
我能够修复它:配置它的正确方法如下:
Hostname = nextcloud.example.com
Path = /nextcloud/remote.php/dav/calendars/$USERNAME/personalhttps://unix.stackexchange.com/questions/679341
复制相似问题