Timeout error

#14
by Phanindra49 - opened

TimeoutError Traceback (most recent call last)
File ~/anaconda3/envs/py310/lib/python3.10/site-packages/urllib3/response.py:444, in HTTPResponse._error_catcher(self)
443 try:
--> 444 yield
446 except SocketTimeout:
447 # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
448 # there is yet no clean way to get at it from this context.

File ~/anaconda3/envs/py310/lib/python3.10/site-packages/urllib3/response.py:567, in HTTPResponse.read(self, amt, decode_content, cache_content)
566 with self._error_catcher():
--> 567 data = self._fp_read(amt) if not fp_closed else b""
568 if amt is None:

File ~/anaconda3/envs/py310/lib/python3.10/site-packages/urllib3/response.py:533, in HTTPResponse._fp_read(self, amt)
531 else:
532 # StringIO doesn't like amt=None
--> 533 return self._fp.read(amt) if amt is not None else self._fp.read()

File ~/anaconda3/envs/py310/lib/python3.10/http/client.py:466, in HTTPResponse.read(self, amt)
465 amt = self.length
--> 466 s = self.fp.read(amt)
467 if not s and amt:
468 # Ideally, we would raise IncompleteRead if the content-length
469 # wasn't satisfied, but it might break compatibility.
...
--> 822 raise ConnectionError(e)
823 except SSLError as e:
824 raise RequestsSSLError(e)

ConnectionError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out.

Sign up or log in to comment