I have the same problem. OO worked until I upgraded to NC 14.04. After that I get this problem. I had the same installation. Nothing changed execept the upgrade. I have NC installed with nginx, and OO in docker.
I have revised /var/www/nextcloud/config/config.php and added:
‘onlyoffice’ =>
array (
‘verify_peer_off’ => TRUE,
),
I have tried to modify the default.json to set rejectUnauthorized to false and restart services
Still same problem. What more can I do?
Remains one proposed solution: “solved it by adding the Document Server to the trusted_domains -array in the /var/www/html/config/config.php of the nextcloud installation.”
I do not understand how to do that as the OO is in a docker on the same domain-name as NC.
I had also set ‘verify_peer_off’ => TRUE, (in /var/www/nextcloud/config.php) & went into my docker container for only office (docker exec -it only_office bash -> nano /etc/onlyoffice/documentserver/default.json)
I set the value of the parameter “rejectUnauthorized”: from true to false
Still no good. So I installed letsencrypt, got me a self signed cert, and now proxy from port 9080 (ssl) to port 9050 (unencrypted OO server port)
I’m reusing my ISPconfig key, but you can use any SSL key, or make a new one.
Then I use https://127.0.0.1:9080/ for my Doc Editing Service addr - and presto!