lmacken / quantumrandom

Tools for utilizing the ANU Quantum Random Number Generator
https://pypi.python.org/pypi/quantumrandom
146 stars 36 forks source link

Certificate failure #28

Closed Nirvana2211 closed 4 years ago

Nirvana2211 commented 4 years ago

Hi - I am getting Certificate failure error on windows computer connected to internet via cable. Any idea what's wrong?

File "C:\Anaconda3\envs\tpot\lib\site-packages\quantumrandom__init.py", line 60, in get_data data = get_json(url) File "C:\Anaconda3\envs\tpot\lib\site-packages\quantumrandom\init__.py", line 77, in get_json return json.loads(urlopen(url).read().decode('ascii')) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 223, in urlopen return opener.open(url, data, timeout) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 526, in open response = self._open(req, data) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 544, in _open '_open', req) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 504, in _call_chain result = func(*args) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 1361, in https_open context=self._context, check_hostname=self._check_hostname) File "C:\Anaconda3\envs\tpot\lib\urllib\request.py", line 1320, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>

TheWiresharkGuy commented 4 years ago

Same issue here 😢

lmacken commented 4 years ago

This looks like it's due to an SSL certificate issue with the upstream site. It seems like to be working for me now, can you guys try again and see if it has been fixed? Thanks