Why can't download file from example

Hi, runing oo in kubernetes.

oo is exposed as https://onlyoffice.xxx.com/ SSL provided by istio.

uploaded a file to https://onlyoffice.xxx.com/example.

but when trying to download via

http://localhost/example/download?filename=abc.docx
https://onlyoffice.xxx.com/example/download?filename=abc.docx

onlyoffice.xxx.com is in the /etc/hosts

both failed. but I can download in browser…

here /example is used as storage service, the url is used by onlyoffice’s service to download file.

any idea?

root@onlyoffice-55b6977d8f-7pkfl:/var/lib/onlyoffice/documentserver-example/files# ls -lR
.:
total 8
drwxr-xr-x. 2 ds   ds     6 Sep 18 02:03 127.0.0.1
drwxr-xr-x. 2 ds   ds     6 Sep 18 02:18 172.16.31.128__172.16.228.161
drwxr-xr-x. 4 ds   ds   131 Sep 18 02:14 172.16.89.0__172.16.228.161
drwxr-xr-x. 2 ds   ds     6 Sep 18 01:40 172.30.7.4
-rw-r--r--. 1 root root 397 Sep 18 02:37 wget-log
-rw-r--r--. 1 root root 397 Sep 18 02:37 wget-log.1

./127.0.0.1:
total 0

./172.16.31.128__172.16.228.161:
total 0

./172.16.89.0__172.16.228.161:
total 2032
-rw-r--r--. 1 ds ds 2077037 Sep 18 02:14 01-规章制度.01-行外制度.WordTest.docx
drwxr-xr-x. 2 ds ds      63 Sep 18 02:14 01-规章制度.01-行外制度.WordTest.docx-history
drwxr-xr-x. 2 ds ds       6 Sep 18 02:14 tmp

./172.16.89.0__172.16.228.161/01-规章制度.01-行外制度.WordTest.docx-history:
total 4
-rw-r--r--. 1 ds ds 35 Sep 18 02:14 01-规章制度.01-行外制度.WordTest.docx.txt

./172.16.89.0__172.16.228.161/tmp:
total 0

./172.30.7.4:
total 0

the file is the the folder named 172.16.89.0__172.16.228.161
and 172.16.228.161 is my istio ingressgateway’s pod ip.

Hello @Fanguogang

What is your usage scenario for this case? Do I understand correctly that you are copying a download link from the integrated test example of Document Server and trying to download the file with it from other source, e.g. terminal?

By the way, please pay attention that example service is a simple DMS (Document Management System) and is used in testing purposes only. For proper work Document Server must be integrated with normal DMS like, for example, Nextcloud, ownCloud, etc.