Import templates download results in error

Can not download manyany import templates.

i get error ERR_INVALID_RESPONSE while accessing links like

/openboxes/batch/downloadCsvTemplate?template=products.csv
/openboxes/batch/downloadTemplate?template=locations.xls
/openboxes/batch/downloadTemplate?template=inventoryLevels.xls
etc

but i can download other templates like
/openboxes/product/exportSynonymTemplate?productCode=00003
and data like
/openboxes/batch/downloadExcel?type=Location

what could be the reason for that?

Make sure you set grails.serverURL in your openboxes config file. I believe the URL that is being used is probably http://localhost:8080 so unless you’re running it locally the URL won’t resolve properly.

Do you mean openboxes.yml file located in /opt/openboxes/.grails ?
There is a line
grails.serverURL: http://xx.xx.xx.xx:8080/openboxes
pointing to the ip of the server openboxes is running on

Anything else i could check?