title: Python requests error 10060
body: <p>I have a script that crawls a website.
  Untill today it ran perfect,
  However it does not do so now.</p>
  
  <p>it give sme the following error:</p>
  
  <pre><code> Connection Aborted Error(10060 ' A connection attempt failed becvause the connected party did not properly respond after a period of time, or established a connection failed because connected host has failed to respond'
  </code></pre>
  
  <p>I have been looking into answers ans settings but i cannot figure out how to fix this...</p>
  
  <p>In IE i am not using any Proxy (Connection -> Lan Settings-> Proxy = Disabled)</p>
  
  <p>it breaks in this piece of code, somethimes the first run, somethimes the 2nd.. and so on</p>
  
  <pre><code>def geturls(functionurl, runtime):
  startCrawl = requests.get(functionurl, headers=headers)
  mainHtml = BeautifulSoup(startCrawl.content, 'html.parser')
  mainItems = mainHtml.find("div",{"id": "js_multiselect_results"})
  for tag in mainItems.findAll('a', href=True):
      tag['href'] = urlparse.urljoin(url,tag['href'])
      if shorturl in tag['href'] and tag['href'] not in visited:
          if any(x in tag['href'] for x in keepout):
              falseurls.append(tag['href'])
          elif tag['href'] in urls:
              doubleurls.append(tag['href'])
          else:
              urlfile.write(tag['href'] + "\n")
              urls.append(tag['href'])
  
  totalItemsStart = str(mainHtml.find("span",{"id": "sab_header_results_size"}))
  if runtime == 1:
      totalnumberofitems[0] = totalItemsStart
      totalnumberofitems[0] = strip_tags(totalnumberofitems[0])
  return totalnumberofitems
  </code></pre>
  
  <p>How can i fix this?</p>