nextcloud & onlyoffice integration

Hello everyone, I am looking for a bit of assistance in getting the onlyoffice suite and Nextcloud integrated. I have Nextcloud installed, updated to 24.0.7 and it's been running stable for a couple of weeks now. The onlyoffice extra package is also installed.

I have run sudo docker exec $(sudo docker ps -q) sudo supervisorctl start ds:example and the example page opens. If I enter the http://onlyoffice.mistobrn/example and try to open/edit one of the examples, either a sheet, doc, or presentation the page crashes with unknown errer. Press 'OK' to return to document list. I can however edit all document types on the example page if I navigate to the IP address of onlyoffice found by the method described below.

In Nextcloud I have installed the only office app and am also running into issues here. Executing docker ps and taking the container ID, I have managed to find the onlyoffice IP address by entering the command sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' containerid.

On the onlyoffice settings page within nextcloud, entering either this IP address or http://onlyoffice.mistoborn in the ONLYOFFICE Docs address box returns with the following error2; Error when trying to connect (Error occurred in the document service: Invalid token). Error when trying to connect (cURL error 6: Could not resolve host: onlyoffice.mistoborn (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://onlyoffice.mistoborn/healthcheck) The same errors occur with both the certificate verification box ticked and unticked.

Trying to connect to the demo onlyoffice docs server returns this error; Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.2.1.34)

Doing some research it was advised to run the wget commands to make sure the 2 services can see each other. Following is the output of both these.

wget http://nextcloud.mistborn --2022-11-15 20:38:07-- http://nextcloud.mistborn/ Resolving nextcloud.mistborn (nextcloud.mistborn)... 10.2.3.1 Connecting to nextcloud.mistborn (nextcloud.mistborn)|10.2.3.1|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://nextcloud.mistborn/login [following] --2022-11-15 20:38:07-- http://nextcloud.mistborn/login Reusing existing connection to nextcloud.mistborn:80. HTTP request sent, awaiting response... 200 OK Length: 13125 (13K) [text/html] Saving to: ‘index.html.8’

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

2022-11-15 20:38:07 (244 MB/s) - ‘index.html.8’ saved [13125/13125]

wget http://onlyoffice.mistborn --2022-11-15 20:37:18-- http://onlyoffice.mistborn/ Resolving onlyoffice.mistborn (onlyoffice.mistborn)... 10.2.3.1 Connecting to onlyoffice.mistborn (onlyoffice.mistborn)|10.2.3.1|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://onlyoffice.mistborn/welcome/ [following] --2022-11-15 20:37:18-- http://onlyoffice.mistborn/welcome/ Reusing existing connection to onlyoffice.mistborn:80. HTTP request sent, awaiting response... 200 OK Length: 3975 (3.9K) [text/html] Saving to: ‘index.html.7’

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

2022-11-15 20:37:18 (470 MB/s) - ‘index.html.7’ saved [3975/3975]

I am really struggling here to get this going and is the last major roadblock toward implementing this as a full-time solution. Any help here would be appreciated, Best