You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We encountered a similar problem when running sigridci.py on a Windows machine, it didn't found valid certificates in python 3.9. One solution that works without manually adding a pem file (which was suggested in issue #72) is to use certifi and ssl and replace the standard call:
urllib.request.urlopen(uploadRequest)
with:
urllib.request.urlopen(uploadRequest, context=ssl.create_default_context(cafile=certifi.where()))
I ran into the same issue. I was able to fix it by rerunning the Python install, and adding tcl/tk and IDLE and Python test suite to the install. Not sure why that fixed it, I guess it installs something that is used by the SSL subsystem.
We encountered a similar problem when running sigridci.py on a Windows machine, it didn't found valid certificates in python 3.9. One solution that works without manually adding a pem file (which was suggested in issue #72) is to use certifi and ssl and replace the standard call:
urllib.request.urlopen(uploadRequest)
with:
urllib.request.urlopen(uploadRequest, context=ssl.create_default_context(cafile=certifi.where()))
Originally posted by @sten-rosendahl in #72 (comment)
The text was updated successfully, but these errors were encountered: