Open knit-bee opened 2 years ago
update: docker-compose up connects to the internet > error when no internet connection
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0a8a9754e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
details become more visible with
import logging
...
logging.basicConfig(
level=logging.DEBUG, # <<< Debug Level
format="%(asctime)s [%(levelname)s] %(message)s",
datefmt="%y-%m-%d %H:%M:%S")
when calling 'docker-compose up', sometime the following error occurs:
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2/resolve/e04d38a7d68c60a7a95390045400a555127ab033/config_sentence_transformers.json