I had the same issue trying to use Pkg behind a firewall. I ended up
changing my git config with the following command:
git config --global url."https://github.com".insteadOf git://github.com
On Friday, March 27, 2015 at 2:39:37 PM UTC-5, Alejandro José C. Somoza
wrote:
>
> I run Pkg.update() and obtain:
>
> INFO: Initializing package repository C:\Users\asomoza\.julia\v0.3
> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.130]: errno=No error
>
> ERROR: failed process: Process(`git clone -q -b metadata-v2 git://
> github.com/Juli
> aLang/METADATA.jl METADATA`, ProcessExited(128)) [128]
> in error at error.jl:22
> in run at process.jl:479
> in anonymous at pkg/dir.jl:46
> in cd at file.jl:30
> in init at pkg/dir.jl:44
>
> I have a proxy, is any other setting necessary
>
>
>