Error - ONLYOFFICE cannot be reached. Please contact admin

ONLYOFFICE cloud: Free
Do you want to: Ask a how-to question
Browser version: Any

Hey everyone,

I am hosting my Nextcloud (Nextcloud Hub 4 (v26.0.2)) from Ubuntu Server 22.04 where I am using my ONLYOFFICE (v7.8.0) which I have downloaded from the App bundles.

I face an issue when I’m trying to open a document or any file. As it is showing a pop up written ONLYOFFICE cannot be reached. Please contact admin

I have also tried this command to make that the ONLYOFFICE is properly connected to the community server

 sudo -u www-data php occ onlyoffice:documentserver --check


Document server version 7.2.1 is successfully connected

And below are the error images found using F12
From Console:

From Network:

And I also tried this in case it helps you.

ubuntu@ubuntu:/var/www/nextcloud$ sudo wget
--2023-06-16 16:07:25--
Connecting to connected.
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.

Please ask for any more information needed. (IP is temporary so not an issue)

Thank You.
Smit Desai.

Hello @smit9522

Could you please elaborate on this? Can you share a screenshot from the Apps section of the portal with information about this app?