Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Julia git error

Tags:

git

julia

Some months ago I was using Julia and recently I wanted to pick it up again. I wanted a fresh version so I deleted my previous version and all packages I had.

Now, after installing the new version (0.6.2), I cannot use any Pkg. command : I will get the following error after using init, add or update

ERROR : GitError(Code:ECERTIFICATE, Class:OS, user cancelled certificate check :)

I have tried reinstalling to no avail.

I am on Windows; I have seen many related problems answered by git commands but I have no idea on how to use them because they all seem to be destined to Linux users.

Thanks in advance.

like image 382
Junkyards Avatar asked May 09 '26 02:05

Junkyards


2 Answers

According to this answer at JuliaLang Discourse by avik:

  • https://discourse.julialang.org/t/pkg-update-error-base-libgit2-test-fails/9272/11

This is an issue which is solved by:

  • https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in

Please make sure to follow those instructions, you could also ask for help at the Gitter channel if you get stuck:

  • https://gitter.im/JuliaLang/julia
like image 126
HarmonicaMuse Avatar answered May 12 '26 08:05

HarmonicaMuse


Just run the easy fix tool in the following link:

https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-a-default-secure-protocols-in

No need to update the protocol or anything I believe. Just run this easy fix.

like image 40
Cão Avatar answered May 12 '26 09:05

Cão