title: Python Requests: NewConnectionError
body: <p>I am using Python, and the Requests Module.  But whenever I use 'requests.get' with a URL, I get the error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "python", line 15, in &lt;module&gt;
  requests.exceptions.ConnectionError: HTTPSConnectionPool
  (host='www.google.com', port=443): Max retries exceeded with url: /?     
  safe=active&amp;gws_rd=ssl&amp;safe=active (Caused by NewConnectionError   
  ('&lt;requests.packages.urllib3.connection.VerifiedHTTPSConnection object at   
  0x7f86809a16a0&gt;: Failed to establish a new connection: [Errno -2] Name or 
  service not known',))
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>try:
      import requests
  except ImportError:
      print ("Error: MOD.01")
  r = requests.session()
  url = "https://www.google.com/?safe=active&amp;gws_rd=ssl&amp;safe=active"
  r2 = requests.get(url)
  </code></pre>
  
  <p>Is it something with my code that is triggering the error?
  Thanks.</p>