The document could not be saved. Please check connection settings or contact your administrator. When you click the 'OK' button, you will be prompted to download the document

Following the instructions at Running ONLYOFFICE Docs using Docker Compose, I deployed the document server using Docker Compose. After running it, I tried accessing example, but the file wouldn’t open. The Docker logs show the following:

[2026-03-22T15:08:02.478] [ERROR] [localhost] [192.168.192.1new.docx1774191307984] [uid-14] nodeJS - postData error: url = http://192.168.50.10:9001/example/track?filename=new.docx&useraddress=192.168.192.1;data = {“key”:“192.168.192.1new.docx1774191307984”,“status”:4,“actions”:[{“type”:0,“userid”:“uid-1”}],“token”:“eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiIxOTIuMTY4LjE5Mi4xbmV3LmRvY3gxNzc0MTkxMzA3OTg0Iiwic3RhdHVzIjo0LCJhY3Rpb25zIjpbeyJ0eXBlIjowLCJ1c2VyaWQiOiJ1aWQtMSJ9XSwiaWF0IjoxNzc0MTkxOTUwLCJleHAiOjE3NzQxOTIyNTB9.yz9MZSnvdEwwxqrD6LTtpasG9ntCMgA9XxGrvTUhiHo”} Error: connect ETIMEDOUT 192.168.50.10:9001

1 Like

Hello,

The error in your logs — connect ETIMEDOUT 192.168.50.10:9001 — means that the Document Server container cannot reach the example application at 192.168.50.10:9001. When a user closes a document, the Document Server sends a saving callback to the callbackUrl provided by the example app. If this callback request times out, the document cannot be saved and you see the warning in the screenshot.

The most common causes in a Docker Compose setup:

Host firewall blocking the connection – The host may be blocking incoming connections from the Docker bridge network to port 9001. Please check your firewall rules and make sure port 9001 is accessible from the Docker network range (you can find it by running docker network inspect <network_name>).

Incorrect network routing – The Document Server container is trying to reach 192.168.50.10 (your host IP), but depending on your Docker network configuration, the container may not be able to route directly to the host IP. Try using Docker’s internal gateway instead (typically 172.17.0.1 for the default bridge, or host-gateway in Compose).

Port not exposed for the example service – Verify that port 9001 is correctly mapped in your docker-compose.yml for the example service.

To investigate further, please provide:

  • Your full docker-compose.yml
  • Output of docker ps
  • Output of docker network inspect <your_network_name>
  • Document Server logs from inside the container: docker exec <container_name> cat /var/log/onlyoffice/documentserver/docservice/out.log

I switched to using host-gateway in Compose, and that solved the problem. Thank you.

Thank you for the update. I’m glad to hear the issue is resolved! :blush: