ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.38k stars 475 forks source link

ConvertService.ashx returns ERROR 504 status while converting .doc files #682

Open DmitriyReztsov opened 9 months ago

DmitriyReztsov commented 9 months ago

Do you want to request a feature or report a bug?

BUG

What is the current behavior?

ConvertService.ashx doesn't work properly. It works with .docx, but doesn't with .doc

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Go to documentserver/welcome -> documentserver/example/ and try to upload file with .doc extension. I've got изображение and in log:

==> /var/log/onlyoffice/documentserver/converter/out.log <==
[2023-11-21T13:53:13.130] [ERROR] [localhost] [conv_http___localhost_1080_example_download_fileName=PO08712-043_Texas_Trailer_Supply_1_.doc_useraddress=172.23.0.11700574792023_docx] [userId] nodeJS - error downloadFile:url=http://localhost:1080/example/download?fileName=PO08712-043_Texas_Trailer_Supply(1).doc&useraddress=172.23.0.1;attempt=1;code:ECONNREFUSED;connect:undefined Error: connect ECONNREFUSED 127.0.0.1:1080
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
[2023-11-21T13:53:14.136] [ERROR] [localhost] [conv_http___localhost_1080_example_download_fileName=PO08712-043_Texas_Trailer_Supply_1_.doc_useraddress=172.23.0.11700574792023_docx] [userId] nodeJS - error downloadFile:url=http://localhost:1080/example/download?fileName=PO08712-043_Texas_Trailer_Supply(1).doc&useraddress=172.23.0.1;attempt=2;code:ECONNREFUSED;connect:undefined Error: connect ECONNREFUSED 127.0.0.1:1080
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
[2023-11-21T13:53:15.141] [ERROR] [localhost] [conv_http___localhost_1080_example_download_fileName=PO08712-043_Texas_Trailer_Supply_1_.doc_useraddress=172.23.0.11700574792023_docx] [userId] nodeJS - error downloadFile:url=http://localhost:1080/example/download?fileName=PO08712-043_Texas_Trailer_Supply(1).doc&useraddress=172.23.0.1;attempt=3;code:ECONNREFUSED;connect:undefined Error: connect ECONNREFUSED 127.0.0.1:1080
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)

meanwhile .docx uploaded as it should be

What is the expected behavior?

to upload .doc properly

Did this work in previous versions of DocumentServer?

users didn't report about such issues before

DocumentServer Docker tag:

onlyoffice/documentserver-de:7.2.2

Host Operating System:

Ubuntu 22.04.3

igwyd commented 9 months ago

Hello @DmitriyReztsov, thank you for the report. This bug in the test example, not in the ConvertService, we know about it, we have ticket #47760. The ConvertService works with any integrations at the time and with test example if you do not change the port.