diff --git a/elasticsearch/connection/http_urllib3.py b/elasticsearch/connection/http_urllib3.py index 9f7b38e0..06d9f5b0 100644 --- a/elasticsearch/connection/http_urllib3.py +++ b/elasticsearch/connection/http_urllib3.py @@ -40,7 +40,7 @@ class Urllib3HttpConnection(Connection): kw = {} if timeout: kw['timeout'] = timeout - response = self.pool.urlopen(method, url, body, **kw) + response = self.pool.urlopen(method, url, body, retries=0, **kw) duration = time.time() - start raw_data = response.data.decode('utf-8') except Exception as e: