Open andyylin opened 2 years ago
Can you please run the following code in FreeCAD Python console, and post here the output?
import os
os.environ['SSL_CERT_FILE']
Can you please run the following code in FreeCAD Python console, and post here the output?
Yes, thank you, here's the output.
>>> import os
>>> os.environ['SSL_CERT_FILE']
'/Applications/FreeCAD realthunder.app/Contents/lib/python3*/site-packages/certifi/cacert.pem'
>>>
I am having the same issue on the below release. Any help is appreciated.
OS: macOS 12.3 Word size of FreeCAD: 64-bit Version: 2022.407.26244 +4693 (Git) Build type: Release Branch: LinkDaily Hash: 9610830a8fd492b3b3d96f8328507c80f1437cda Python version: 3.9.10 Qt version: 5.15.2 Coin version: 4.0.1 OCC version: 7.6.0 Locale: C/Default (C)
I don't know why, but for some reason a full clean install allowed me to see the add-on manager, but now it's blank again. Unfortunately, it's been a while so hard to know what might have changed in between.
Report View logs appear to be about the same as before:
14:03:49 Traceback (most recent call last):
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 980, in send
self.connect()
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
14:03:49 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
14:03:49
During handling of the above exception, another exception occurred:
14:03:49 Traceback (most recent call last):
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/Mod/AddonManager/addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
14:03:49 urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
14:03:49 Failed to get url https://raw.githubusercontent.com/FreeCAD/FreeCAD-addons/master/addonflags.json
14:03:49 Debug: addon_flags.json not found
14:03:49 Traceback (most recent call last):
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 980, in send
self.connect()
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
14:03:49 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
14:03:49
During handling of the above exception, another exception occurred:
14:03:49 Traceback (most recent call last):
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/Mod/AddonManager/addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
14:03:49 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
14:03:49 urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
14:03:49 Failed to get url https://raw.githubusercontent.com/FreeCAD/FreeCAD-addons/master/.gitmodules
Still getting this with the latest version (version info below). Add-on manager works when I use mainstream FreeCAD 0.20.
OS: macOS 12.4
Word size of FreeCAD: 64-bit
Version: 2022.704.26244 +4971 (Git)
Build type: Release
Branch: LinkDaily
Hash: a87320cc64699a8e4226bad2e9b37ac3a1296ab9
Python version: 3.9.10
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.0
Locale: C/Default (C)
09:20:09 Traceback (most recent call last):
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 980, in send
self.connect()
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
09:20:09 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
09:20:09
During handling of the above exception, another exception occurred:
09:20:09 Traceback (most recent call last):
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/Mod/AddonManager/addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
09:20:09 File "/Applications/FreeCAD realthunder.app/Contents/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
09:20:09 urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
09:20:09 Failed to get url https://wiki.freecadweb.org/Macros_recipes
09:20:09 Appears to be an issue connecting to the Wiki, therefore cannot retrieve Wiki macro list at this time
Specifically
09:20:09 urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
09:20:09 Failed to get url https://wiki.freecadweb.org/Macros_recipes
09:20:09 Appears to be an issue connecting to the Wiki, therefore cannot retrieve Wiki macro list at this time
Hi, I'm unable to access any addons through the add-on manager. I'm able to access add-ons on the 0.20 standard build, but not on realthunder's daily build.
Here are the Report View logs: