Try the fastest and simplest way to install ONLYOFFICE

NC 13.0.4 + dedicated OnlyOffice: Error while downloading...

Issues during installation and related to database

NC 13.0.4 + dedicated OnlyOffice: Error while downloading...

Postby victorbw » Wed Jun 20, 2018 12:53 pm

Hi Everyone

Unfortunately I faced this annoying error message whilst trying to connect Nextcloud 13.0.4 with a dedicated only-office-server:

CommandRequest on check error: Error occurred in the document service: Error while downloading the document file to be converted.

what annoyes me most is that a letsencrypt-certificate based nextcloud-test works pretty fine!

Im unsure if there's a certifiacte/SSL-issue because of manually adding the root & intermediate to /usr/share/ca-certificates/

Anyone having any idea where this came from - or even better, how to solve it?

thanks in advance for
victorbw
 
Posts: 8
Joined: Tue Jul 25, 2017 1:15 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby Maxim » Thu Jun 21, 2018 8:00 am

Hello victorbw!
From both (from NC to DS and from DS to NC) servers execute wget command. Maybe there is a problem with connection or ssl certs.
wget https://NC_address.com (or ip)
Maxim
 
Posts: 1746
Joined: Tue Oct 11, 2016 2:34 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby victorbw » Thu Jun 21, 2018 8:34 am

Thank you maxim for your response.

wget from NC to DS seems to work fine:
root@NC:/var/www/html/nextcloud# wget URL.ch
--2018-06-21 10:28:25-- http://URL.ch/
Auflösen des Hostnamen »URL.ch (URL.ch)«... 212.59.170.124
Verbindungsaufbau zu URL.ch (URL.ch)|212.59.170.124|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 301 Moved Permanently
Platz: https://URL.ch/ [folge]
--2018-06-21 10:28:25-- https://URL.ch/
Verbindungsaufbau zu URL.ch (URL.ch)|212.59.170.124|:443... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 302 Moved Temporarily
Platz: https://URL.ch/welcome/ [folge]
--2018-06-21 10:28:25-- https://URL.ch/welcome/
Wiederverwendung der bestehenden Verbindung zu URL.ch:443.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 4592 (4.5K) [text/html]
In »»index.html.1«« speichern.


so is DS to NC working fine with wget:

root@onlyoffice:/etc/apache2/ssl# wget https://URL.ch
--2018-06-21 10:31:56-- https://URL.ch/
Auflösen des Hostnamen »URL.ch (URL.ch)«... 212.59.169.215
Verbindungsaufbau zu URL.ch (URL.ch)|212.59.169.215|:443... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 302 Found
Platz: https://URL.ch/index.php/login [folge]
--2018-06-21 10:31:57-- https://URL.ch/index.php/login
Wiederverwendung der bestehenden Verbindung zu URL.ch:443.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 7875 (7.7K) [text/html]
In »»index.html«« speichern.

index.html 100%[====================>] 7.69K --.-KB/s in 0s

2018-06-21 10:31:57 (212 MB/s) - »index.html« gespeichert [7875/7875]


Both servers are using the same wildcard-certificate, could that be an issue?

what makes me think it could be an issue is, that another NC-Server, which is certifified with Letsencrypt, works fine and without any lags or other errors.

best regards!
victorbw
 
Posts: 8
Joined: Tue Jul 25, 2017 1:15 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby Maxim » Tue Jun 26, 2018 11:19 am

Hello victorbw!
Both servers are using the same wildcard-certificate, could that be an issue?

It could
Maxim
 
Posts: 1746
Joined: Tue Oct 11, 2016 2:34 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby victorbw » Tue Jul 24, 2018 9:51 am

hi maxim

actually, it was :roll:

had to add the following to the config.php in nextcloud:

'onlyoffice' => array ( 'verify_peer_off' => TRUE ),

which has solved it.

thank you very much for your efforts - this subject can be marked as [SOLVED] ;)
victorbw
 
Posts: 8
Joined: Tue Jul 25, 2017 1:15 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby Maxim » Thu Jul 26, 2018 7:35 am

Hello victorbw!
Code: Select all
'onlyoffice' => array ( 'verify_peer_off' => TRUE )
disabling SSL certs verification.
Maxim
 
Posts: 1746
Joined: Tue Oct 11, 2016 2:34 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby victorbw » Fri Sep 28, 2018 8:42 am

Maxim wrote:Hello victorbw!
Code: Select all
'onlyoffice' => array ( 'verify_peer_off' => TRUE )
disabling SSL certs verification.


yes, thank you man :)

this topic can be marked as [SOLVED], fur future use :)
victorbw
 
Posts: 8
Joined: Tue Jul 25, 2017 1:15 pm

Re: NC 13.0.4 + dedicated OnlyOffice: Error while downloadin

Postby Carl » Wed Oct 17, 2018 10:38 am

Hello,
we are glad the issue has been resolved.
Carl
 
Posts: 63
Joined: Thu Apr 12, 2018 10:00 am


Return to Installation issues

Who is online

Users browsing this forum: No registered users and 5 guests