ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

ONLYOFFICE cannot be reached. Please contact admin

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

Hi, I use Onlyoffice regularly from my Nextcloud every few days. I have Onlyoffice on a separate server. Every few days OnlyOffice server seems to stop responding. I notice when I open a doc or sheet and I see the “ONLYOFFICE cannot be reached…” warning box at the top right of the Nextcloud page.

The quick fix is to open a terminal window and ssh into the Onlyoffice server, then type “reboot” and after a couple of minutes I can open the openoffice docs normally from Nextcloud.

I would like to find what is causing this problem. What should I do in order to check if it is an Onlyoffice problem and what is it?

Thanks

Hello @tatelev
Please wait until the issue is reproduced again. After that send us whole Document server logs folder. It’s located here:

docker: /app/onlyoffice/DocumentServer/logs/documentserver/
deb\rpm: /var/log/onlyoffice/documentserver/
Windows: Program Files\ONLYOFFICE\DocumentServer\log

Also provide us with general information about your installation:

  1. OS version
  2. Document server installation type (exe, docker, deb\rpm). Also point us to the guide which you used.
  3. Versions of Document server, connector app, Nextcloud.

Hi, I decided to start fresh by recreating the server and reinstalling OnlyOffice. It worked well for about a week and now I had again this “ONLYOFFICE cannot be reached…” warning box at the top right of the Nextcloud page.

So I’ll get you the information you requested:

  1. OS Version: Ubuntu 20.04.4 LTS
  2. deb\rpm installation. Used this guide: Installing ONLYOFFICE Docs for Debian, Ubuntu, and derivatives - ONLYOFFICE
  3. onlyoffice-documentserver 7.0.1-37 , Onlyoffice Connector 7.3.0, Nextcloud 23.0.2

I downloaded the log folder from the Onlyoffice Document Server that you mentioned. What email do I send it to? Thanks!

Please contact me via PM and provide us with logs.

Hi Alexandre,

I have the same problem can you help?

Hello @mamed
Please wait until issue is reproducible and open browser console (F12 in Google Chrome). Please check if there are any error entries in ‘Console’ and ‘Network’ tabs. Please make screenshots.


Is there any proxy\firewall? There’s an error in provided screenshot. Something is blocking api.js. Is the issue reproducible on other PC?

There is no proxy or firewall. When this issue happens there are other users that connect from other computers(even one that connects from another country) that have same exact problem.
As soon as I reboot the onlyoffice server, the issue is always fixed, just refreshing the browser screen does it

Were Nextcloud and Document server available for each other at the moment of the issue? If it’s possible please run wget command when issue is reproducible. Go to Document server and run wget https://NC_address. And vice versa (from Nextcloud run wget https://DS_address). Please show me the result.
I assume that there will be errors and something blocks connections between servers periodically.

ok, I will do that next time from the document server terminal. However my Nextcloud is hosted on shared cloud server, I don’t think I have ssh access to it to run the wget command from the Nextcloud server

Ok, please keep us updated.
“my Nextcloud is hosted on shared cloud server” > Have you been contacting this cloud server support team to check out if there’s any issues on their side at the time of the issue?