Calls to /push/ws on wrong domain

Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): Armbian 23.02.2 Bullseye
Apache or nginx version (eg, Apache 2.4.25): 2.4.56-1~deb11u2
PHP version (eg, 7.4): 8.1.18-1+0~20230517.40+debian11~1.gbpad774c

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Load any page
  2. Check resources loaded with web developer tools

Do you see any reason why only that specific call is using the “wrong” domain name?

Thank you

So… seems like nextcloud is using the key with the highest value in ‘trusted_domains’ array in config.php. Now to understand why ncp somehow appended the “wrong” one after a reboot.
In any case now it seems to be fixed… sorry for the noise