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
macOS Calendar app NSCocoaErrorDomain error 1570 when sharing a calendar #1034
Comments
Did you use the web ui to share the calendar? |
@Tntdruid Both, the web UI or the macOS Calendar apps ("Catalina" and "Big Sur").
|
I can confirm that I am seeing the same error when sharing a calendar with another user |
Confirmed. Anyone found a workaround and/or tested it with baikal 0.7? |
I observe the same here. Has anyone found a workaround in the meantime? |
Same issue on 0.8. Subscribed/shared calendars still seem to be a pain with Baikal, a partial workaround (using a completely different workflow) can be found here. Still wrestling with this myself. |
Same issue on 0.9.1 |
As a workaround on MacOs I found following workaround: |
I also just hit this after adding Baikal to a second Mac. The same shared calendar is working fine on the same account but on Android with DavX. The error code I get is the exact same but 1560 instead of 1570. Edit: After unsharing the calendars via the iOS client, syncing works again, but upon resharing them I get a 1570 on the second MacOS machine. |
I was able to identify the issue and fix it for my instance. Thanks to @ed-cetera for the Console logs. If you go to How do we make MacOS mail happy? Give the principals an access level:
Now the calendars show up fine on all devices. For some reason calendar owners have their access level set to NULL instead of 1 (owner). |
This only appears to be an issue with sqlite as the DB where the default is not set to 1: Baikal/Core/Resources/Db/SQLite/db.sql Line 53 in aa7e340
The MySQL table sets the default to Baikal/Core/Resources/Db/MySQL/db.sql Line 55 in aa7e340
|
You are right, there seems to be something wrong there. I don't know if it will fix the issue (I don't have access to a MacOS device), but the difference between MySQL and SQLite should definitely be resolved. I will create a PR for that, testers welcome. |
I think this issue can now be closed, I haven't had this problem since the fix. |
I have a setup running Baïkal 0.8.0 with PHP 8.0 and NGINX. During installation I basically followed the guide on https://sabre.io/baikal/install/. Both CalDAV and CardDAV work fine for independent users accessing the server via macOS and/or iOS Contacts/Calendar apps.
However, the moment I share a calendar with another user, the macOS Calendar app stops working for
both usersthe user the calendar is shared with. The error is "NSCocoaErrorDomain error 1570". I tried both macOS 10.15 "Catalina" and macOS 11 "Big Sur" – same result.This behavior is independent of whether the sharing is configured with the Calendar app or the Baïkal calendar web interface.
There is no error in the PHP logs. The macOS Console is a little more communicative but I have no experience with macOS programming or CalDAV internals. Google didn't help either.
What am I doing wrong? What to check next? Any ideas, how to solve this issue?
Sidenote: When sharing a calendar, the iOS calendar app shows the calendar as shared by the user it is actually shared with.
The text was updated successfully, but these errors were encountered: