Closed tbswork1 closed 2 years ago
Hi, I think there is may be some troubles with proxy or firewall
Try to tempraly disable ufw
if it's enabled
Curl and telnet can connect. Also checkfileinfo is executed by docs server too, which should have failed too if it is firewall issue.
That is the error on backend side? in logs /var/log/onlyoffice
That is the error on backend side? in logs
/var/log/onlyoffice
yes from /var/log/onlyoffice/documentserver/converter/out.log
.
Is this error can be reproduced with /example
page (enabled via /welcome
)?
To rule out if this problem is related to WOPI or can be reproduced without WOPI
And another question - is there any error on WOPI side? In logs of WOPI server, seems that ESOCKETTIMEDOUT may raise an error on other side of server
Is this error can be reproduced with
/example
page (enabled via/welcome
)?
/example
page works fine (clicking on any of the examples all show perfectly, API or WOPI.
Ok seems this is problem somehow related to exact WOPI implementation, I'll redirect issue to my collegue
And another question - is there any error on WOPI side? In logs of WOPI server, seems that ESOCKETTIMEDOUT may raise an error on other side of server
no error on our WOPI server. The Docs server however doesn't send any GetFile request after the 1ST occurrence of 'Download failed', i.e. subsequently it simply says 'Download failed' after CheckFileInfo because our server never detects GetFile again. This makes it very difficult to debug.
Hello @tbswork1, i can't reproduse your error. Can you enable debug logs in documentserver (set level ALL) and attach it please?
it looks like socket inactivity timeout is triggered. try to increase connectionAndInactivity config property
It seems to be a proxy problem. The browser has enabled proxy and after disabling it the download works. It is strange though checkfileinfo request, which runs before download, doesn't have the issue.
Do you want to request a feature or report a bug? implementing a wopi host, debugging with onlyoffice docs server.
What is the current behavior? Browser shows 'Download failed'. But simulating the same request with curl command running on same host of docs server, file can be downloaded . The problem occurs after CheckFileInfo request excuted successfully.
The following is from docs server log:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. n/a
What is the expected behavior? download file
Did this work in previous versions of DocumentServer? no idea
DocumentServer version: 7.0.1
Operating System: Ubuntu 20.04
Browser version: Chrome 99.