Nextcloud Office not working on latest All In One Docker container

I recently installed Nextcloud AIO on an Ubuntu 22.04.2 server and am having an issue where whenever I try to open any office document (such as a .odt file), it gives an error message: Document loading failed, Failed to load Nextcloud Office - please try again later. I looked around and tried to troubleshoot this, first trying some of the steps described in this page. Whenever I went into the shell of the mastercontainer and tried running curl -vvv https://$NC_DOMAIN:443/hosting/discovery, I got a simple Could not resolve host error. Then I tried commenting out a host that had the IP address 127.0.1.1, which I saw from an earlier post here was causing problems. However, restarting the mastercontainer did not change anything after this.

What could be causing this?
Thanks

Could I know if all your containers running behind a router(port forward device)?
If this is the case, it might be similar issue like this https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjskqDGpN39AhVw5XMBHd5OApwQFnoECA0QAQ&url=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1714495%2Funable-to-setup-port-forwarding-through-dynamic-dns-ddns&usg=AOvVaw1L3ObUSMYf29wnEuAYm1G7
Actually, for me, I added my DNS to /etc/hosts on the host which my containers are running as a dirty fix.

BTW, the docker should use bridge network for resolve the entries from /etc/hosts.
I let the DNS name resolve to local LAN ip of the host to fix the CODE server.

Hi, can you follow How to debug problems with Collabora and/or Talk 路 nextcloud all-in-one 路 Discussion #1358 路 GitHub?

Yes, my containers are running behind a DNS. I鈥檒l look into this when I get home