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?
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.
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.
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?
Hi Tatelev, did you manage to fix this problem. I’m having the same exact issue and almost every morning I need to reboot my document server (onlyoffice).
I also had a Cronjob to reboot the server at midnight everyday but this corrupted some cached open sessions… so not ideal…
Plus I couldn’t really understand what the Onlyoffice support @Alexandre was requesting from me:
“… 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 think he was asking you to test the connectivity between the Nextcloud and the onlyoffice machines… but from what I know it is not a simple connectivity issue. It seams that the NGINX service is dying and it can not meet the connection request from the Nextcloud machine. I intend to put cronjob to restart only the NGINX service instead of the whole machine and see how this goes for a week.
Hello @Krasy_matev and @tatelev @Krasy_matev if you faced similar error entries as in mentioned thread than described solution ( unlink /etc/nginx/modules-enabled/50-mod-http-perl.conf) should work. @tatelev Yes, we need to check out mutual availability between servers when the issue is arising. as far as I remember we have contacted with you via PM.
Sure, I increased your forum trust level, so you can contact me via PM. Also please check Nginx status when the issue occurs > make a screenshot of the output result.