private-gpt icon indicating copy to clipboard operation
private-gpt copied to clipboard

ingest.py fails due to a server timeout

Open luciph0r opened this issue 1 year ago • 1 comments

Describe the bug and how to reproduce it Script fails trying to connect to cdn-lfs.huggingface.co.

Environment (please complete the following information):

  • OS / hardware: Linux Mint 21.1
  • Python version 3.10.6
for chunk in r.iter_content(chunk_size=10 * 1024 * 1024):
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 822, in generate
  raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out.

luciph0r avatar Jun 12 '23 02:06 luciph0r

I don't think people from this repo managing that host (but could be wrong). Anyway just configured locally and everything was fine so could be issue on your end (slow connection) or issue is resolved, try again.

kyxap avatar Jun 12 '23 03:06 kyxap

Must be a client side issue. After disconnecting VPN it worked for me.

saravr avatar Jun 26 '23 06:06 saravr