title: requests.exceptions.ProxyError: HTTPSConnectionPool: Failed to establish a new connection
body: <p>Last week I started exploring requests library for invoking REST APIs, it was working fine, I was able to make calls as expected but today when I run the same python script, it fails with below error. Please help.</p>
  
  <blockquote>
    <p>ProxyError: HTTPConnectionPool(host='127.0.0.1', port=39149): Max retries exceeded with url: <a href="http://www.baidu.com/" rel="nofollow noreferrer">http://www.baidu.com/</a> (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)))</p>
  </blockquote>