Page 1 of 1

Can not access file using response URL from document server

PostPosted: Wed Sep 06, 2017 11:24 am
by ghartaan
I am running document server in a docker container on a linux host machine. I am using conversion service of document server to generate thumbnails for my files. I send a post request to document server and gets back the response in xml. The response is in the following form:

<?xml version="1.0" encoding="utf-8"?>
<FileResult>
<FileUrl>http://172.17.0.2/cache/files/conv_pdf_1280_720_pdf/output.pdf/output.pdf?md5=cEUYq6BxASIG6b3qzxhh0A==&amp;expires=1507288279&amp;disposition=attachment&amp;ooname=output.pdf</FileUrl>
<Percent>100</Percent>
<EndConvert>True</EndConvert>
</FileResult>

The generated file url
[url]http://172.17.0.2/cache/files/conv_pdf_1280_720_pdf/output.pdf[/url]
has the private ip [172.17.0.2] of container so not accessible from outside world.
Is there any way to configure document server so that a client on a remote machine can make a request and can access the generated output file using the response url?

Thanks in advance.

Re: Can not access file using response URL from document ser

PostPosted: Wed Sep 06, 2017 1:36 pm
by Maxim
Hello ghartaan!
See here