title: Failed to establish a new connection
body: <pre><code>import requests
  
  url = 'http://ES_search_demo.com/document/record/_search?pretty=true'
  data = '{"query":{"bool":{"must":[{"text":{"record.document":"SOME_JOURNAL"}},{"text":{"record.articleTitle":"farmers"}}],"must_not":[],"should":[]}},"from":0,"size":50,"sort":[],"facets":{}}'
  response = requests.get(url, data=data)
  </code></pre>
  
  <p>when i run this code i get this error </p>
  
  <pre><code>    Traceback (most recent call last):
    File "simpleclient.py", line 6, in &lt;module&gt;
      response = requests.get(url, data=data)
    File "/home/ryan/local/lib/python2.7/site-packages/requests/api.py", line 70, in get
      return request('get', url, params=params, **kwargs)
    File "/home/ryan/local/lib/python2.7/site-packages/requests/api.py", line 56, in request
      return session.request(method=method, url=url, **kwargs)
    File "/home/ryan/local/lib/python2.7/site-packages/requests/sessions.py", line 471, in request
      resp = self.send(prep, **send_kwargs)
    File "/home/ryan/local/lib/python2.7/site-packages/requests/sessions.py", line 581, in send
      r = adapter.send(request, **kwargs)
    File "/home/ryan/local/lib/python2.7/site-packages/requests/adapters.py", line 481, in send
      raise ConnectionError(e, request=request)
  requests.exceptions.ConnectionError: HTTPConnectionPool(host='es_search_demo.com', port=80): Max retries exceeded with url: /document/record/_search?pretty=true (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f544af9a5d0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known',))
  </code></pre>