[GH-ISSUE #411] Error occurred in the document service: Error while downloading the document file to be converted #211

Closed
opened 2026-02-26 10:31:00 +03:00 by kerem · 2 comments
Owner

Originally created by @LeoChaser on GitHub (Mar 8, 2022).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/411

Bug(?): Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.0.1.37)✖

What is the current behavior?

Cannot connect Nextcloud to Onlyoffice (both docker images) to edit documents. Used to work before.

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

Nextcloud and Onlyoffice Document Server both behind Linuxserver.io Swag proxy. There are these errors when trying to edit a document or when trying to connect to Onlyoffice in Nextcloud settings.

==> /var/log/onlyoffice/documentserver/converter/out.log <==

[2022-03-07T01:39:10.440] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=1;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx)

Error: socket hang up

    at connResetException (internal/errors.js:628:14)

    at TLSSocket.socketOnEnd (_http_client.js:499:23)

    at TLSSocket.emit (events.js:412:35)

    at endReadableNT (internal/streams/readable.js:1317:12)

    at processTicksAndRejections (internal/process/task_queues.js:82:21)

[2022-03-07T01:39:11.442] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=2;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx)

Error: socket hang up

    at connResetException (internal/errors.js:628:14)

    at TLSSocket.socketOnEnd (_http_client.js:499:23)

    at TLSSocket.emit (events.js:412:35)

    at endReadableNT (internal/streams/readable.js:1317:12)

    at processTicksAndRejections (internal/process/task_queues.js:82:21)

[2022-03-07T01:39:12.445] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=3;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx)

Error: socket hang up

    at connResetException (internal/errors.js:628:14)

    at TLSSocket.socketOnEnd (_http_client.js:499:23)

    at TLSSocket.emit (events.js:412:35)

    at endReadableNT (internal/streams/readable.js:1317:12)

    at processTicksAndRejections (internal/process/task_queues.js:82:21)

What is the expected behavior?

Document editing working.

Did this work in previous versions of DocumentServer?

Yes. Welcome page works on HTTPS and healthcheck returns true.

DocumentServer Docker tag:

onlyoffice/documentserver:latest

Host Operating System:

Debian 11.2

Originally created by @LeoChaser on GitHub (Mar 8, 2022). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/411 Bug(?): Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.0.1.37)✖ **What is the current behavior?** Cannot connect Nextcloud to Onlyoffice (both docker images) to edit documents. Used to work before. **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** Nextcloud and Onlyoffice Document Server both behind Linuxserver.io Swag proxy. There are these errors when trying to edit a document or when trying to connect to Onlyoffice in Nextcloud settings. ==> /var/log/onlyoffice/documentserver/converter/out.log <== ``` [2022-03-07T01:39:10.440] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=1;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx) Error: socket hang up at connResetException (internal/errors.js:628:14) at TLSSocket.socketOnEnd (_http_client.js:499:23) at TLSSocket.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1317:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) [2022-03-07T01:39:11.442] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=2;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx) Error: socket hang up at connResetException (internal/errors.js:628:14) at TLSSocket.socketOnEnd (_http_client.js:499:23) at TLSSocket.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1317:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) [2022-03-07T01:39:12.445] [ERROR] nodeJS - error downloadFile:url=https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH;attempt=3;code:ECONNRESET;connect:null;(id=conv_check_417232190_docx) Error: socket hang up at connResetException (internal/errors.js:628:14) at TLSSocket.socketOnEnd (_http_client.js:499:23) at TLSSocket.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1317:12) at processTicksAndRejections (internal/process/task_queues.js:82:21) ``` **What is the expected behavior?** Document editing working. **Did this work in previous versions of DocumentServer?** Yes. Welcome page works on HTTPS and healthcheck returns true. **DocumentServer Docker tag:** onlyoffice/documentserver:latest **Host Operating System:** Debian 11.2
kerem closed this issue 2026-02-26 10:31:00 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Mar 8, 2022):

Hi, never had any exprieince with

Linuxserver.io Swag proxy

But this error seems like something wrong with networking

You can check it via connecting to DocumentServer container and try to curl this URL

like:

curl https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH

and if there will be any error - this mean that problem is not on a DocumentServer side, but something wrong with networking

<!-- gh-comment-id:1061832862 --> @ShockwaveNN commented on GitHub (Mar 8, 2022): Hi, never had any exprieince with > Linuxserver.io Swag proxy But this error seems like something wrong with networking You can check it via connecting to DocumentServer container and try to `curl` this URL like: ``` curl https://cloud.example.com/apps/onlyoffice/empty?doc=BIGHASH ``` and if there will be any error - this mean that problem is not on a DocumentServer side, but something wrong with networking
Author
Owner

@LeoChaser commented on GitHub (Mar 9, 2022):

There was a problem with my Nextcloud container after update. It's working now, thank you.

<!-- gh-comment-id:1062481661 --> @LeoChaser commented on GitHub (Mar 9, 2022): There was a problem with my Nextcloud container after update. It's working now, thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#211
No description provided.