Hi there,
I recently upgraded my NC instance to version 28. It is configured as follows:
- shared hosting (I have access to the
occ
command through a virtual terminal) - HTTPS is forced at the hosting level. Certificate is issued by Let’s Encrypt, but isn’t self-signed as the ones I’m using over my LAN.
- My daily user is non-admin, and I have access to an administration user that’s only used for these types of tasks.
One of my primary usage for NC is to sync calendars and contacts across devices, mostly Mac OS X and iOS. Contacts synchronization never worked above NC12. Calendar synchronization used to work until NC25
After upgrading NC and restarting iCal, I am greeted with a warning sign
If I click on it, I get asked for my user’s password. If I enter the password I use to open NC in the web browser, I get the error “Couldn’t verify username or password”.
If I enter the app password created as written in the manual, I get the same error.
Sometimes I get the following error dialog:
and while calendars are detected, events don’t appear. I suspect calendars are in iCal’s cache, and that events are fetched upon connection to the server, which fails.
The same failure occurs on iOS.
Already tried:
- adding events in the NC interface works
- adding events in iCal: don’t get synchronized to the server.
- Checking
trusted_domains
parameter with./occ config:system:get trusted_domains
: my server’s domain is properly listed. - creating a new CalDAV account in iCal using the CalDAV iOS/macOS link provided by the Calendar app. Fails with “Can’t verify username or password”. It doesn’t matter if I pass only the first-level server URL as shown in the manual, or the direct link provided by the Calendar app.
Now, I don’t understand why the manual doesn’t say the same thing as the app after all these years.
Any idea how to tackle this very annoying issue?