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

Support HTTP proxies in eland_import_hub_model #688

Merged
merged 6 commits into from
May 2, 2024

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented May 2, 2024

Depends on #667

Tested by running python -m dummyserver.proxy using tag 2.1.0 of urllib3 (I broke the command-line proxy in later commits of urllib3) and using export HTTPS_PROXY=http://localhost:8888/ to upload a model with Eland. Without the proxy running, the upload fails.

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I tested with proxy.py. It might be worth mentioning that if security is disabled use the HTTP_PROXY env var

@pquentin pquentin changed the title Proxies Support HTTP proxies May 2, 2024
@pquentin pquentin changed the title Support HTTP proxies Support HTTP proxies in eland_import_hub_model May 2, 2024
@pquentin pquentin merged commit fd38e26 into elastic:main May 2, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants