[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch
Hi ,In my Huggingface application I have mentioned huggingface_hub module in the requirements.txt . I have created an access token with my Hugging Face account.I got this error:requests.exceptions.SSLError: (MaxRetryError(‘HTTPSConnectionPool(host='api-inference.huggingface.co', port=443): Max retries exceeded with url: /pipeline/feature-extraction/sentence-transformers/all-mpnet-base-v2 (Caused by SSLError(SSLCertVerificationError(1, “[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'api-inference.huggingface.co'. (_ssl.c:1006)”)))’), ‘(Request ID: c13347fb-406f-4581-afda-188bc667a117)’)