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

output

Document server http://192.168.1.105/index.php/apps/documentserver_community/ version 7.2.1 is successfully connected

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

From Network:
1480?filePath=%2FHIMS.docx&inframe=true

And I also tried this in case it helps you.

ubuntu@ubuntu:/var/www/nextcloud$ sudo wget http://192.168.1.105/index.php/apps/onlyoffice/1480?filePath=%2FHIMS.docx
--2023-06-16 16:07:25--  http://192.168.1.105/index.php/apps/onlyoffice/1480?filePath=%2FHIMS.docx
Connecting to 192.168.1.105:80... 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?