Nextcloud account not works fine (if not disable Calendar services)

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.0.1.48
HARDWARE (XA2, Xperia 10…): Xperia XA2
UI LANGUAGE: Italian
REGRESSION: (compared to previous public release: Yes, No, ?):

DESCRIPTION:

if you add a nextcloud account you get a “Error account”, if I disable “Calendars” configuration ends successfully but after I see configuration in progress

PRECONDITIONS:

SailfishOS 4.0.1

STEPS TO REPRODUCE:

  1. have a nextcloud server
  2. have some calendars (shared from other users)
  3. SailfishOS add nextcloud account

EXPECTED RESULT:

full support for nextcoud

ACTUAL RESULT:

works if Calendars disabled

ADDITIONAL INFORMATION:

log from nextcloud server

46.xxx.xxx.xxx - - [23/Feb/2021:09:26:46 +0100] “GET /ocs/v2.php/apps/spreed/api/v1/signaling/9i4vfqb7 HTTP/1.1” 200 1256 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:18 +0100] “GET /ocs/v2.php/apps/spreed/api/v2/room/9i4vfqb7/participants?includeStatus=true HTTP/1.1” 200 1514 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:19 +0100] “GET /ocs/v2.php/apps/spreed/api/v2/room/9i4vfqb7 HTTP/1.1” 200 1815 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:26:52 +0100] “GET /ocs/v2.php/apps/spreed/api/v1/chat/9i4vfqb7?lookIntoFuture=1&lastKnownMessageId=2012&includeLastKnown=0 HTTP/1.1” 304 258 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”
46.xxx.xxx.xxx - a****@**********.it [23/Feb/2021:09:27:22 +0100] “GET /ocs/v2.php/cloud/user HTTP/1.1” 200 5779 “-” “Mozilla/5.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:25 +0100] “GET /ocs/v2.php/apps/spreed/api/v2/room HTTP/1.1” 200 6275 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:25 +0100] “PROPFIND / HTTP/1.1” 405 5302 “-” “Mozilla/5.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:25 +0100] “PROPFIND /.well-known/caldav HTTP/1.1” 405 627 “-” “Mozilla/5.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:25 +0100] “PROPFIND / HTTP/1.1” 405 970 “-” “Mozilla/5.0”
46.xxx.xxx.xxx - - [23/Feb/2021:09:27:27 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 304 298 “-” “Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0”