Onlyoffice(Ubuntu) integration with Nextcloud(Debian). Error Error while downloading the document file to be converted

Issues during installation, usage and configuring
Post Reply
Cyberknight
Posts: 1
Joined: Fri Aug 30, 2019 9:52 pm

Onlyoffice(Ubuntu) integration with Nextcloud(Debian). Error Error while downloading the document file to be converted

Post by Cyberknight » Fri Aug 30, 2019 10:10 pm

I had already looked around, but this couldn't solve my problem. I installed onlyoffice documents on another server.now i would like to use the addon in nextcloud. When I enter the serverip in Nextcloud, I get the following error: Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.)

facts about my Systems:

Nextcloud -> OS Debian.
in the nextcloud config i also have " 'onlyoffice' =>array ( verify_peer_off' => TRUE, ) " added.

Onlyoffice -> OS Ubuntu 18.04 LTS
Installed with this guide: https://helpcenter.onlyoffice.com/de/se ... ation.aspx
Except for "Additional information" I did everything according to the instructions.

Called up via healthcheck I get a positive result.
I also have this error message under documentserver/converter/log .

[2019-08-29T16:29:49.962] [WARN] nodeJS - worker 11687 started.
[2019-08-29T16:29:49.963] [WARN] nodeJS - update cluster with 1 workers
[2019-08-29T16:40:12.293] [ERROR] nodeJS - error downloadFile:url=https://next.mydomain.xx/apps/onlyoffic ... TYdvdZNgMz$

Error: Parse Error
at TLSSocket.socketOnData (_http_client.js:454:20)
at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11)
at TLSSocket.Readable.push (_stream_readable.js:208:10)
at TLSWrap.onread (net.js:601:20)

What i have tried?
/etc/onlyoffice/documentserver/default.json change rejectUnauthorized to false but this doesn't solve the problem.
Firewall disabled



I have read somewhere that the certificate of the document server must be installed on both servers. is this correct? if yes, do you have any instructions?
If anyone needs more configs or logs, please let me know.
I hope someone can help me. Have a nice day! 3:00 a.m.

Carl
Posts: 176
Joined: Thu Apr 12, 2018 10:00 am

Re: Onlyoffice(Ubuntu) integration with Nextcloud(Debian). Error Error while downloading the document file to be convert

Post by Carl » Thu Sep 12, 2019 7:31 am

Hello Cyberknight.

Please specify the following:

1. Versions of Document Server and Nextcloud.
2. Check the accessibility of both machines to each other:
wget https://document-server-address from Nextcloud machine
wget https://nextcloud-address from Document Server machine
The output of both commands might contain some useful hints.
3. Are you using CA-signed or self-signed certs on both sides?

Post Reply