daaain / Handlebars

Fullest Handlebars.js templating support for Sublime Text 2 / 3. Also drives syntax colouring on Github and in Visual Studio Code. Install from: https://packagecontrol.io/packages/Handlebars.
MIT License
301 stars 48 forks source link

Sublime download error: HTTP exception InvalidCertificateException #107

Closed dguzzo closed 4 years ago

dguzzo commented 4 years ago

While attempting to download in Sublime Text 2.0.2 (via Command Palette > Package Control: Install Package), I get an alert dialog and the following error in the console:

Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590))) downloading https://codeload.github.com/daaain/Handlebars/zip/master.
error: Package Control

Unable to download Handlebars. Please view the console for more details.

Screen Shot 2020-04-25 at 9 41 17 AM

dguzzo commented 4 years ago

Fixed by changing the downloader_precedence to prioritize curl in Package Control Settings - User https://github.com/wbond/package_control/issues/1220#issuecomment-448333903

dguzzo commented 4 years ago

looks like #50 had a different solution to the same/similar problem