Honeybee SystemError Could not create SSL/TLS secure channel

Hi, .
I faced an error when I drag HB.HB copmponent into the canvas and also couldn’t update with the same error:

Failed to download the files needed to run EnergyPlus with OpenStudio 2.x.
SystemError(‘The request was aborted: Could not create SSL/TLS secure channel.’,)
Failed to download the files needed to PostProcess EnergyPlus results with OpenStudio 2.x.
SystemError(‘The request was aborted: Could not create SSL/TLS secure channel.’,)

Does any one aware about this problem?
Thanks.

Yeah,one of my friends recently encountered this error.

Hi @minggangyin,
Thanks for your reply, Do you know how can I fix this?
Openstudio & EP components doesn’t work :neutral_face:

It looks like all your main background software is working (energyplus and openstudio).maybe try deleting all your hb user objects (and any of the supporting folders) and re installing those. That’s what I would do

Thank you @FabianPosadas,
I did everything like this, Even I re-install windows and install rhino and HB again. It doesn’t work.

@mostapha Do you have any idea about my problem to fix it ?

Thanks a lot.

@hdimor.mr
Check out this link.

it basically states the cause of this issue

“This behavior occurs if the computer name does not match the name that is specified as the common name in the SSL certificate. For example, this behavior occurs if the computer name is a NetBIOS name and the SSL certificate uses a fully qualified domain name (FQDN).”

so I would try and check your SSL certificate name and see if you can align your pc name and cert name.

how to check SSL cert

1 Like

See this: Honeybee Installation problem

1 Like

Thank you @mostapha
It work when I Unzip & Copy “EPRunFiles” and “Epl-run.bat” file from resources to OpenStudio\Energyplus folder.

Now, I should fix Update Issue, probably as @FabianPosadas said, it related to certificate issue.

It’s most probably an issue with your ISP provider. In all these cases Honeybee fails to download the files from GitHub. I’m afraid that in this case you may have to download the UserObjects from GitHub manually and replace the older version. To test this I would try to use a VPN connection and see if the update will work.

1 Like

This is one of major problem that almost half of Chinese users are not be able to download file from GitHub’s content server ( but they are able to visit github, and github page) if user is not in Shanghai range. It mainly because some of ISP providers in most ares don’t have connection to GitHub’s content server. Let me see if I can setup an “auto-mirror” of ladybug repo on Microsoft Azure from GitHub.

Thanks @mostapha and @MingboPeng, it was worked before I reinstalled windows, I used update components for 6 months. I don’t know why it happened after installing fresh windows.
I tried VPN connection but nothing change.

I did a little bit of more research and this is because of a change in GitHub. You can read more here: https://developer.github.com/changes/2018-02-01-weak-crypto-removal-notice/

Until we figure out how to address this the solution is to manually copy the files.

Hello All,

Thanks for reporting this and I am happy to announce that we have found a solution It seems that earlier versions of Transport Layer Security (TLS) had some security flaws in them and so Github updated to use the latest version of TLS (version 1.2) when downloading files, as noted in @mostapha 's post.

I found a way to make sure that all Ladybug and Honeybee components use the new version of TLS when downloading files in the background and you can see that I have made the changes here:


So, if you reinstall your userobjects from the github right now, you will no longer experience any issues like this. Because this is a serious situation that will affect nearly all new users, I think that we will also update all of the components on food4Rhino in an attempt to stop this issue before more people are affected. We will post back here when we update the food4Rhino version.

Thanks again,
-Chris

5 Likes

Thanks @chris! Installation files on Food4Rhino is updated.

I also updated the update the sample file on Hydra which you can use to update your installation without manually copying the files to fix this issue.

3 Likes

Thank you @chris and @mostapha , It works now.

Thank you it works now, I tried to update Honeybee[+] and Butterfly after the update. I think they have the same issue. But i’m not sure.

EDIT:
When I add Honeybee.Honeybee into the canvas, HB[+] and BF update components works fine.

@hdimor.mr ,
Thanks for pointing that out and it’s something that we should fix. HB+ should be able to hold its own without relying on the legacy code to set the right security setting. I’ll try to fix this now.
-Chris

1 Like

As @chris said this is a different issue. I’ll get this fixed when I get a chance.

Ok. I fixed the issues on both HoneybeePlus:

And particularly because a lot of people will be viewing this issue to fix the error in the title, the official solution for anyone experiencing this error with any of the Honeybee or Ladybug components is to reinstall the components from food4Rhino.

4 Likes