Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker deployment possibly connects to the internet to downoad sbert model #13

Open
knit-bee opened this issue Nov 8, 2021 · 2 comments
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@knit-bee
Copy link
Collaborator

knit-bee commented Nov 8, 2021

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

@knit-bee
Copy link
Collaborator Author

knit-bee commented Nov 8, 2021

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'))

@ulf1 ulf1 added bug Something isn't working invalid This doesn't seem right labels Nov 9, 2021
@ulf1
Copy link
Owner

ulf1 commented Dec 7, 2021

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")

@ulf1 ulf1 self-assigned this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants