-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout Error regarding ConvertService.ashx #1028
Comments
Could you enable debug logging, reproduce the issue and post the extended logs here? Log level can be changed the following way:
|
Hi @SergeyKorneyev , thank you for your reply. I actually seem to have overcome this, but I really think that you should update the nginx config file and the default.json in this repo. By increasing the timeouts in onlyoffice default.json and max number of child processes in nginx as per the two links below, I no longer get the errors above. To be honest, I am not sure which one worked, or if all was needed. But this has solved my issues. https://help.nextcloud.com/t/nextcloud-18-onlyoffice-timeout-conversion-error/81012 |
I also get the same error. It's strange that I have built the onlyofficedoc with docker on my Truenas's 24.10 and it works well. But, to some degree, I want to run this server on my remote server and the issue appeared. I have a 2Core with 2GB memory server running centos7, I first tried to install it within docker but the same error exist. Then I tried to install it locally and I have no way to solve it. [2024-12-07T23:02:21.842] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 2; availableParallelism: undefined
[2024-12-07T23:02:21.845] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers
[2024-12-07T23:02:21.864] [WARN] [localhost] [docId] [userId] nodeJS - worker 1295 started.
[2024-12-07T23:02:21.865] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 2; availableParallelism: undefined
[2024-12-07T23:02:21.866] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers
[2024-12-07T23:02:22.986] [DEBUG] [localhost] [docId] [userId] nodeJS - [AMQP] connected
[2024-12-07T23:02:50.206] [INFO] [localhost] [check_161724270] [userId] nodeJS - Start Task
[2024-12-07T23:02:50.231] [DEBUG] [localhost] [check_161724270] [userId] nodeJS - isAllowDirectRequest url in jwt token res=true
[2024-12-07T23:04:50.257] [ERROR] [localhost] [check_161724270] [userId] nodeJS - error downloadFile:url=https://192.168.2.107:30027/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.OAjlSf4a7OiOGeE4UqNHTyhNk2Cbg0krxpN9kzoHfbs;attempt=1;code:ETIMEDOUT;connect:null Error: Error: whole request cycle timeout
at raiseError (/snapshot/server/Common/sources/utils.js)
at Timeout.<anonymous> (/snapshot/server/Common/sources/utils.js)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
[2024-12-07T23:04:50.257] [DEBUG] [localhost] [check_161724270] [userId] nodeJS - ExitCode (code=0;signal=null;error:-81)
[2024-12-07T23:04:50.258] [DEBUG] [localhost] [check_161724270] [userId] nodeJS - output (data={"ctx":{"tenant":"localhost","docId":"check_161724270","userId":"userId"},"cmd":{"withAuthorization":true,"c":"conv","id":"conv_check_161724270_65","format":"docx","url":"https://192.168.2.107:30027/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.OAjlSf4a7OiOGeE4UqNHTyhNk2Cbg0krxpN9kzoHfbs","title":"check_161724270.docx","outputformat":65,"outputpath":"output.docx","codepage":46,"delimiter":4,"embeddedfonts":false,"status_info":-81,"nobase64":true}})
[2024-12-07T23:04:50.258] [DEBUG] [localhost] [check_161724270] [userId] nodeJS - postProcess
[2024-12-07T23:04:50.260] [DEBUG] [localhost] [check_161724270] [userId] nodeJS - deleteFolderRecursive
[2024-12-07T23:04:50.260] [INFO] [localhost] [check_161724270] [userId] nodeJS - End Task
[2024-12-07T23:04:50.266] [INFO] [localhost] [check_161724270] [userId] nodeJS - ackTask addResponse
[2024-12-07T23:04:50.266] [INFO] [localhost] [check_161724270] [userId] nodeJS - ackTask ack For nginx 2024/12/07 22:17:12 [error] 28136#28136: *42 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://127.0.0.1:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:28:54 [error] 29798#29798: *6 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://127.0.0.1:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:28:56 [error] 29799#29799: *12 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://[::1]:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:43:30 [error] 30039#30039: *361 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://[::1]:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:45:48 [error] 30040#30040: *367 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://127.0.0.1:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:45:50 [error] 30040#30040: *373 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://[::1]:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:45:53 [error] 30039#30039: *379 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://127.0.0.1:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:46:29 [error] 30040#30040: *385 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://127.0.0.1:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 22:50:41 [error] 30039#30039: *391 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://[::1]:8000/ConvertService.ashx", host: "ip:30030"
2024/12/07 23:03:50 [error] 30040#30040: *452 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 221.237.85.52, server: , request: "POST /ConvertService.ashx HTTP/1.1", upstream: "http://[::1]:8000/ConvertService.ashx", host: "ip:30030" Nothing useful in docservice/out.log. HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Length: 80
ETag: W/"50-3xHctkWXRmDNgp89fZA3Y46PQK0"
Date: Sat, 07 Dec 2024 15:15:15 GMT
Connection: keep-alive
Keep-Alive: timeout=5
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
Content-Length: 4
ETag: W/"4-X/5TO4MPCKAyY0ipFgr6/IraRNs"
Date: Sat, 07 Dec 2024 15:15:30 GMT
Connection: keep-alive
Keep-Alive: timeout=5 I have tried to set the time from 300 to 30000, but nothing happened. |
I have everything running reasonably well, with latest version of nextcloud and document server integrated together.
Though, soon after starting up, without any activity, I get these errors in the log.
I still can work on the server with documents, but for some time after this error (a few minues!) everything freezes and I cant open or edit documents.
I could not find a suitable response to this issue, so creating a new issue. Any help appreciated!
The text was updated successfully, but these errors were encountered: