-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Urlretrieve usage causes certificate error #1456
Comments
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. |
Same as #1137 |
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:
The text was updated successfully, but these errors were encountered: