License verification behind http proxy
we bought a license for jsreport but our jsreport servers do not have direct access to the internet for license verification. The systems can only access internet using a HTTP proxy.
I am not able to find any documentation on how to set a HTTP proxy for jsreport. How can I do that?
You should be able to set a proxy through the environment variable
However, you can also verify the license on your dev machine. Just start jsreport with license key and after it starts, you should find file
jsreport.license.jsonin the app root which you copy to your production machine.
Unfortunately the proxy is not working when using a http (not https) proxy. There seems to be an issue with the used axios library that cannot open a https connection through a corporate http proxy. A related issue is indicated in https://github.com/axios/axios/issues/4531. But there are also other users reporting issues when using a http proxy.
We found a solution by bypassing our proxy for the license request.