DAAccountValidationDomain:100

i am still struggling with caldav and cardiac sync with Mac OS X.
I have

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
  • Operating system and version (e.g., Ubuntu 24.04):
    • Truenas Scale 25.04.1
  • Web server and version (e.g, Apache 2.4.25):
  • ?
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • ?
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • since installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • App in Truenas
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I installed the nextcloud app in truenas. Works very well.
I use the certificate from trueness to enter the web interface → works
I downloaded the Mac OS profile to sync calendars and contacts → Download OK
I try to install this profile → error: Das Profil „Familie Lang Nextcloud (de.****.nextcloud.8a810371-d303-4676-bd22-d369c6b7808a:8a810371-d303-4676-bd22-d369c6b7808a)“ konnte aufgrund eines unerwarteten Fehlers nicht installiert werden.
DAAccountValidationDomain:100
I also tried to install the syncing parameters for calendar and contact directly → also not working.
I read in a thread, that you have to set txt and src entries in the name server. So I set up a domain at ionos and installed NGINX Proxy manager, DynDNS also in IONOS. It works well with my trueness (also with certificate installed in NPM). In the web interface of ions I set up the SRV and TXT entries, but with no success. Syncing files works, but no caldav/carddav sync. Does anyone have a working setup with syncing caldav/carddav on Mac OS X or iOS?
I don’t need external access, if possible it will be nice but not necessary.

one additional hint:
I checked the redirection, I think here is zthe error.
if I try to open https://example.com/.well-known/carddav I receive a message:
"Safari cannot open the page
Too many redirects occurred when opening “https://nextcloud.****.de:30027/.well-known/carddav”. This is possible if the opened page redirects to another page that refers back to the original page.
https://example.com/remote.php/dav works as expected.

I added my domain name in pihole to resolve the name nextcloud.*****.de to the IP-adress of my server. For the file syncing app and the web browser this works without problems.
Please help.

1 Like

It sounds like your .well-known/carddav and /caldav redirects aren’t properly configured. This often causes sync issues with macOS/iOS. You’ll need to add proper redirection in NGINX to point .well-known/carddav and .well-known/caldav to /remote.php/dav. Also, ensure your Nextcloud config has the correct overwrite.cli.url. Misconfigured redirects or certificates (especially with port numbers like :30027) can also trigger “too many redirects” errors. Try fixing these first.

hi,
thank you for this answer. But now I am very confused because I don’t really know which web server ist running in my configuration. I see 8 containers which are running, one of them ist nextcloud another NGINX. But I don’t know how to access the config files.
I have to ask in the trueness forum how to access the configuration files, and which one?
Any hints here?
in the container running nextcloud I don#t see a file /var/www/nextcloud
and also no file /etc/apache2/sites-available/nextcloud.conf
where is the config hidden?

AAhhh, it seems to run Apache as web server, I found an information in the nextcloud-websurface:

Server configuration detail

Operating syshttps://nextcloud.lang-w.de:30027/s/93tDJ73zREKs774?dir=/&openfile=true#h-server-configuration-detail**tem:** Linux 6.12.15-production+truenas #1 SMP PREEMPT_DYNAMIC Mon May 26 13:44:31 UTC 2025 x86_64

Webserver: Apache/2.4.62 (Debian) (apache2handler)

Database: pgsql PostgreSQL 17.5 (Debian 17.5-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit

PHP version: 8.3.22

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, random, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, exif, ftp, gd, gmp, igbinary, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, sysvsem, zip, Zend OPcache

Nextcloud version: 31.0.6 - 31.0.6.2

But still the question: wherever the rewrite rules hidden?