Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need proxy support #19

Open
natejgardner opened this issue Feb 15, 2022 · 1 comment
Open

Need proxy support #19

natejgardner opened this issue Feb 15, 2022 · 1 comment

Comments

@natejgardner
Copy link

This is a great plugin, but it's difficult to use in an enterprise environment since only internal urls can be reached without going through a proxy. Ideally, the underlying requests proxyDict can be set from the UI: http, https, ftp. Then the proxyDict can simply be passed if set for all underlying requests, allowing external urls to be reached.

@rikroe
Copy link

rikroe commented May 30, 2022

As this is also using requests, you could HTTP_PROXY, HTTPS_PROXY, NO_PROXY environment variables.
We set those via DSS_DATA_DIR/bin/env-site.sh. This will not only work for this plugin, but for all plugins/code using requests.

And if your proxy does SSL inspection, use REQUESTS_CA_BUNDLE to point to your system CA store (which of course should have your own CA in it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants