nextcloudonlyoffice

Unable to connect NextCloud to OnlyOffice document server


When trying to connect NextCloud to OnlyOffice's document server, an error is thrown, but not much else is provided in order to fix the issue.

NextCloud - Error when trying to connect

As shown below, the server is running properly, on HTTPS (see this SO question for steps followed to set up certificate), and on a different server.

OnlyOffice document server running properly

Docker instances have been reset, all should be working as per documentation.

Is the issue on the NextCloud or OnlyOffice side? What could be done to fix this issue?


Solution

  • You can try adding Let’s Encrypt Authority X3 intermediate certificate to the DocumentServer or

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

    to the /var/www/nextcloud/config/config.php

    BTW your document server is accessible from outside network. We would recommend to enable JWT