Plugin API Connect - Connection with a proxy
Sav
Partner, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 2 Partner
Hello,
I'm trying to use the API Connect plugin but i need to connect threw a proxy
Could you help me ?
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi,
To use a proxy in the API Connect plugin will use the proxy defined via http_proxy/https_proxy env variables. I've confirmed these are used by the libraries in the API Connect plugin.
So if you have done so already you would need to set up http/https proxy by adding these to DATADIR/bin/env-site.sh as shown here: https://doc.dataiku.com/dss/latest/operations/proxies.html#proxy-configuration-for-python-and-r-processes
. Also make sure to set no_proxy=localhost,127.0.0.0,<any other ips/hostnames that should not go through the proxy>
Let me know if you have any questions.