sideeffects/GameDevelopmentToolset

Update Toolset failed to fetch Release List

Kif11 opened this issue · 0 comments

Kif11 commented

Houdini 17.5.173
OSX 10.15.5

Pressing on Updated Toolset shelf tool produce "Unable to connect to GitHub and download the Release List" error.

The error located in the following code. I placed an additional print statement to pin point the actual error.

    def get_releases(self):

        # Attempt to download things from github
        try:
            with contextlib.closing(urllib.urlopen(REPO_URL + "/releases")) as response:
                data = response.read()
                if data == "":
                    raise ValueError("Unable to get the release list")
        except Exception as e:
            print("[D] error ", e) 
            raise ValueError("Unable to connect to GitHub and download the Release List")
            return

[D] error ', IOError('socket error', SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate ver ify failed (_ssl.c:726)'

I think that doing except for all exception is not a good idea because the error was not specific enough. After placing some print statement I got this SSL error message.