Connect to onlyoffice from separated machine

hello, i have installed onlyoffice docs on ubuntu machine with snap and it works fine when opening a example doc.
i have a odoo 17 installed on my laptop and i want to connect to onlyoffice on that machine.
whenever i click the onlyoffice icon in odoo it opens the file and shows me the following error

logs:


/var/snap/onlyoffice-ds/210/var/log/nginx/nginx.error.log


2024/04/05 15:12:28 [error] 190220#0: *23 connect() failed (111: Connection refused) while connecting to upstream, client: 10.150.253.23, server: , request: “GET /8.0.1-31/doc/119482085f20678cbcd1b36d9ff9b7ca4f835221ab72/c/?WOPISrc=119482085f20678cbcd1b36d9ff9b7ca4f835221ab72&EIO=4&transport=websocket HTTP/1.1”, upstream:
"127.0.0.1:8000/doc/119482085f20678cbcd1b36d9ff9b7ca4f835221ab72/c/?WOPISrc=119482085f20678cbcd1b36d9ff9b7ca4f835221ab72&EIO=4&transport=websocket
", host: “192.168.2.156”


/var/snap/onlyoffice-ds/210/var/log/onlyoffice/documentserver/converter/out.log


[2024-04-05T15:33:08.089] [ERROR] [localhost] [1195cad6216b4ff2d9a8381656b10a0e4a998d945726] [2] nodeJS - error downloadFile:url=10.150.253.23:81/onlyoffice/file/content/1195?oo_security_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mn0.iFVYwFkpdxg0Trvl8XVRX2YxKJGmORTTqQ_btHEvnN4;attempt=3;code:ECONNRESET;connect:null Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)


/var/snap/onlyoffice-ds/210/var/log/onlyoffice/documentserver/docservice/out.log


[2024-04-05T15:34:17.119] [ERROR] [localhost] [1195cad6216b4ff2d9a8381656b10a0e4a998d945726] [2] nodeJS - postData error: url = 10.150.253.23:81/onlyoffice/editor/callback/1195?oo_security_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mn0.iFVYwFkpdxg0Trvl8XVRX2YxKJGmORTTqQ_btHEvnN4;data = {“key”:“1195cad6216b4ff2d9a8381656b10a0e4a998d945726”,“status”:1,“users”:[“2”],“actions”:[{“type”:1,“userid”:“2”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxMTk1Y2FkNjIxNmI0ZmYyZDlhODM4MTY1NmIxMGEwZTRhOTk4ZDk0NTcyNiIsInN0YXR1cyI6MSwidXNlcnMiOlsiMiJdLCJhY3Rpb25zIjpbeyJ0eXBlIjoxLCJ1c2VyaWQiOiIyIn1dLCJpYXQiOjE3MTIzMTY4NTcsImV4cCI6MTcxMjMxNzE1N30.mzokgDkJ5GgOh6eyXVlW-QTTvY0xz9hhKAeryHTQ1xg”} Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20)


/var/snap/onlyoffice-ds/210/var/log/rabbitmq/rabbit@onlyoffice.log


2024-04-05 15:30:39.242112+04:00 [info] <0.380.0> Free disk space monitor encountered an error (e.g. failed to parse output from OS tools): {{‘EXIT’,
2024-04-05 15:30:39.242112+04:00 [info] <0.380.0> {unparseable,
2024-04-05 15:30:39.242112+04:00 [info] <0.380.0> “/bin/sh: 1: /usr/bin/df: Permission denied\n”}},
2024-04-05 15:30:39.242112+04:00 [info] <0.380.0> 4102053888}, retries left: 1

i am using latest version of onlyoffice docs

how to fix this?

Hi @gio

Please specify some additional information about your environment and the issue:

  1. OS of the server where the Document Server is installed
  2. Type of Installation: (.exe / docker or Deb/rpm package)
  3. Which Сonnector are you using?

It seems that your Owncloud and Document Server are not accessible to each other for some reason.

Please check their accessibility to each other.


i am using this connector.

i have installed onyoffice with Installing ONLYOFFICE Docs for Linux from snap package - ONLYOFFICE this url
OS is Ubuntu 22.04

and the servers can reach each other

  • Can you provide a Screenshot of the address settings on the connector’s settings page

  • local.json file (/etc/onlyoffice/documentserver/local.json)

  • and send me the command outputs:

    wget https://documentserver_address/ from the server with odoo
    wget https://odoo_address/ from the Document Server