Hi
I’m not able to integrate my OnlyOffice Document Server, when I try to configure the App it shows a error, this is the log:
“method”:“PUT”,“url”:"/index.php/apps/onlyoffice/ajax/settings/address",“message”:“GetConvertedUri on check error: Se ha producido un error en el servicio de documentos: Error while downloading the document file to be converted.”
The problem is only inside my Lan, if I configure a NC instance outside my lan using my DocServer all works ok, but if I try to run in my local NC instance allways fail.
This is my scenary:
Proxy server: internal IP 192.168.100.3, listen to https://mynextcloud.com redirected to http://192.168.100.130 and https://myoffice.com redirected to http://192.168.100.191, both works ok.
Nextcloud server : internal IP 192.168.100.130
Document Server: internal IP 192.168.100.191
Apache (proxy server) configuration:
<VirtualHost *:443>
ServerName mynextcloud.com
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</IfModule>
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://192.168.100.130/
ProxyPassReverse / http://192.168.100.130/
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mynextcloud.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mynextcloud.com/privkey.pem
</VirtualHost>
<Virtualhost *:443>
ServerName myoffice.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/myoffice.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/myoffice.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/myofficecom/chain.pem
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GC$
SSLProtocol All -SSLv2 -SSLv3
SSLCompression off
SSLHonorCipherOrder on
SetEnvIf Host "^(.*)$" THE_HOST=$1
RequestHeader setifempty X-Forwarded-Proto https
RequestHeader setifempty X-Forwarded-Host %{THE_HOST}e
ProxyAddHeaders Off
ProxyPassMatch (.*)(\/websocket)$ "ws://192.168.100.191/$1$2"
ProxyPass / "http://192.168.100.191/"
ProxyPassReverse / "http://192.168.100.191/"
</Virtualhost>
Nextcloud configuration:
'trusted_domains' =>
array (
0 => 'mynextcloud.com',
1 => '192.168.100.130',
),
'overwrite.cli.url' => 'https://mynextcloud.com',
'overwritehost' =>'mynextcloud.com',
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '192.168.100.3',
),
'forwarded_for_headers' =>
array (
0 => 'HTTP_X_FORWARDED_FOR',
),
Any hint?