-
Notifications
You must be signed in to change notification settings - Fork 183
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
[BUG] The proxy setup does not work with Urllib3HttpConnection #821
Comments
If you are using the code for the Sync Client there is actually a line missing there. from opensearchpy import OpenSearch, RequestsHttpConnection
OpenSearch(
hosts=["https://..."],
use_ssl=True,
verify_certs=True,
connection_class=RequestsHttpConnection,
trust_env=True,
) |
@int0x03 @florian-lang-a1 care to help fix the doc please? |
thanks @florian-lang-a1 @dblock . it is better to have a proxies parameter, like the python requests:
|
Yes, you're correct. |
I will check how to add this parameter and send a PR in the weekend. |
Looks like |
What is the bug?
the proxy setup in this wiki does not work https://github.com/opensearch-project/opensearch-py/blob/main/guides/proxy.md
How can one reproduce the bug?
use the code in wiki
What is the expected behavior?
follow the wiki, the proxy should work
What is your host/environment?
MAC
Do you have any screenshots?
no
Do you have any additional context?
no
The text was updated successfully, but these errors were encountered: