You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no way to specify HTTP proxy urls for the ElasticSearch client to use when performing requests. Although issue #275 is marked as closed, there is no evidence of a solution implemented and supported by the client. We have tried to apply the recommended solutions, but none of the following have worked:
Using node_class="requests" or node_class=RequestsHttpNode along with HTTP_PROXY and HTTPS_PROXY environment variables set
Using a custom subclass of RequestsHttpNode to set the proxies at object construction
In both cases, requests were not performed through the given proxy URL.
We propose to the addition of a proxy parameter (or a proxy_http, proxy_https parameter set) to support the definition of a proxy to be used by a transport backend.
The text was updated successfully, but these errors were encountered:
Scratching my head on this one as well. The urllib3 class was basically pieced together in this module and buried. Proxy settings are a standard feature w/ even the most basic web clients. Based on previous versions, it actually looks like it was removed. Was this on purpose?
It seems clear that each version has evolved to make it harder to use a proxy through each iteration. This is like contemplating whether it's a good idea to add rear-view mirrors into a car.
Currently, there is no way to specify HTTP proxy urls for the ElasticSearch client to use when performing requests. Although issue #275 is marked as closed, there is no evidence of a solution implemented and supported by the client. We have tried to apply the recommended solutions, but none of the following have worked:
node_class="requests"
ornode_class=RequestsHttpNode
along withHTTP_PROXY
andHTTPS_PROXY
environment variables setRequestsHttpNode
to set the proxies at object constructionIn both cases, requests were not performed through the given proxy URL.
We propose to the addition of a
proxy
parameter (or aproxy_http
,proxy_https
parameter set) to support the definition of a proxy to be used by a transport backend.The text was updated successfully, but these errors were encountered: