Can‘t synchronize iCal with Nextcloud Calender

Synchronisation failed in iCal in both directions.
It worked only the first time, when I added the server address of my Nextcloud host into the iCal sittings.