title: Connection Error using Requests
body: <pre><code>link="https://report-abc.com/crp/cdo"
  
  
  node_id_1="00163E0F0D0C1ED895"
  
  params={'id':node_id_1,
          'list':'142',
          'queue': 'gen',
          'type': 'crp_stat'
         }
  
  headers = {'accept': 'application/json'}
  
  
  req_obj= requests.get(link, params=params,headers=headers)
  print(req_obj.url)
  print(req_obj.status_code)
  </code></pre>
  
  <p>However while it was working yesterday and I was getting the data albeit in html format instead of json. today it is throwing me connection error: </p>
  
  <pre><code>ConnectionError: HTTPSConnectionPool(host='report-abc.com', port=443): Max retries exceeded with url: /crp/cdo?queue=gen&amp;list=142&amp;id=00163E0F0D0C1ED895&amp;type=crp_stat (Caused by NewConnectionError('&lt;urllib3.connection.VerifiedHTTPSConnection object at 0x107362a90&gt;: Failed to establish a new connection: [Errno 61] Connection refused',))
  </code></pre>
  
  <p>I have tried the suggestions mentioned in this stack overflow question including installing pyopenssl: </p>
  
  <p><a href="https://stackoverflow.com/questions/23013220/max-retries-exceeded-with-url">Max retries exceeded with URL</a></p>
  
  <p>But it doesn't seem to help. </p>
  
  <p>Any idea would be very appreciated. Thanks</p>