Closed yilun11 closed 1 month ago
What is Windows version please? something very old?
I am on Windows 11 Home Version 10.0.22624 Build 22624. I've seen other issues with certs, and think requests with certifi is the better approach.
Ok, thanks. I can check a bit later if time permits. Getting a good certificate from proper authority is the right way of course.
I think the certificate has the cross signed with expired DST Root CA X3 issue, which would explain the expiration error thrown. Unsure if this is a known issue on urllib and resolved in requests on the Windows platform.
Related to issue #1015, I think the problem is line 117 in vosk-api\python\vosk\__init__.py
urlretrieve(MODEL_PRE_URL + str(model_name.name) + ".zip", str(model_name) + ".zip", reporthook=reporthook, data=None)
An alternative like requests.get() works fine.
To replicate (on Windows, Py 3.11.5) following throws CERTIFICATE_VERIFY_FAILED:
This does not throw the error: