How to provide proxy for community edition license renewal?

I am using Ampl Community Edition.

When using at home, I have no problem for the automatic renewal of the licence.
But when I am at the office, it does not work : amplkey.exe cannot access any of the url (e.g. https://ampl.com/amplkey/v0.1/amplkey.config.json or https://portal.ampl.com/v1/amplkey/renew).

The network connection at work is using a given proxy. How can I indicate to amplkey.exe the proxy to use ?

Any help would be very appreciate.

1 Like

Hi @Nico_ampl,

Thank you for reaching out. You just need to add to the end for ampl.env (which is next to amplkey) the line HTTPS_PROXY=proxyIp:proxyPort.

Thank you very much for your quick answer.
I will test it next time I am the office.

It works perfectly with the tip. It is great.
Maybe it could be useful to add it somewhere in the documentation.
Did not find any mention of this when searching on internet.

1 Like

Great! Thank you for letting us know. Yeah, we do not have it in the documentation, but I will add it now as this is a fairly common support request from commercial users.