title: python - requests.get (Connection aborted.', OSError("(60, 'ETIMEDOUT')
body: <p>I'm new to web scraper, tried to access a website but got too many errors and was told (Connection aborted.', OSError(&quot;(60, 'ETIMEDOUT').</p>
  <pre><code>from bs4 import BeautifulSoup
  import requests
  urla=&quot;https://www.loopnet.com/search/office-space/san-diego-ca/for-lease/?sk=02fa1ad85634ef43bfd21f24bbe3a14a&quot;
  source = requests.get(urla).text
  print(source)
  </code></pre>
  <hr />
  <p>OSError                                   Traceback (most recent call last)
  ~/opt/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
  671                 headers=headers,
  --&gt; 672                 chunked=chunked,
  1343             try:
  -&gt; 1344                 response.begin()
  1345             except ConnectionError:</p>
  <p>~/opt/anaconda3/lib/python3.7/http/client.py in begin(self)
  305         while True:
  --&gt; 306             version, status, reason = self._read_status()
  307             if status != CONTINUE:</p>
  <p>~/opt/anaconda3/lib/python3.7/http/client.py in _read_status(self)
  266     def _read_status(self):
  --&gt; 267         line = str(self.fp.readline(_MAXLINE + 1), &quot;iso-8859-1&quot;)
  268         if len(line) &gt; _MAXLINE:</p>
  <p>~/opt/anaconda3/lib/python3.7/socket.py in readinto(self, b)
  588             try:
  --&gt; 589                 return self._sock.recv_into(b)
  590             except timeout:</p>
  <p>~/opt/anaconda3/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py in recv_into(self, *args, **kwargs)
  317             else:
  --&gt; 318                 raise SocketError(str(e))
  319         except OpenSSL.SSL.ZeroReturnError:</p>
  <p>OSError: (60, 'ETIMEDOUT')</p>
  <p>During handling of the above exception, another exception occurred:</p>
  <p>ProtocolError                             Traceback (most recent call last)
  ~/opt/anaconda3/lib/python3.7/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
  448                     retries=self.max_retries,
  --&gt; 449                     timeout=timeout
  450                 )</p>
  <p>~/opt/anaconda3/lib/python3.7/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
  719             retries = retries.increment(
  --&gt; 720                 method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  721             )</p>
  <p>ConnectionError: ('Connection aborted.', OSError(&quot;(60, 'ETIMEDOUT')&quot;))
  (Something like this)</p>