I recall running into this problem with OSX a while ago. Turns out it was 
an interaction between user credentials in .gitconfig and 2-factor auth. If 
that sounds similar to your setup, you might want to check that git is 
authenticating you properly at the command line.

On Thursday, February 19, 2015 at 12:30:56 PM UTC-8, Jeff Kopmanis wrote:
>
> I have the exact same problem under OSX. Telnetting to github.com over 
> port 9418 connects just fine.  I've tried both the MacPorts install and the 
> binary install from julialang.org with identical (failed) results. I've 
> tried the git command suggested below and the connection fails again. The 
> documentation link everyone keeps pointing us to (
> https://github.com/julialang/julia#source-download-and-compilation 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fjulialang%2Fjulia%23source-download-and-compilation&sa=D&sntz=1&usg=AFQjCNGWIckzKU-qJB0_oND_fbJtYHITaw>)
>  
> doesn't address this situation, so please stop referring us to this.
>
> I've also tried moving files into /usr/local/shared/julia/site/v0.3 to 
> duplicate an install, but that's useless, as it thinks its still in that 
> individual user's directory (there must be some hard coded paths somewhere 
> in the installed packages).
>
> What's next, folks?
>
> -Jeff. :(
>
> On Saturday, August 2, 2014 at 12:34:15 PM UTC-4, Stefan Karpinski wrote:
>>
>> Julia is just using the git program, so the problem here must be with git 
>> connecting to github.com over the git protocol. Can you try doing
>>
>> git clone -q -b metadata-v2 git://github.com/JuliaLang/METADATA.jl 
>> METADATA
>>
>> at the command line? Hopefully you can narrow it down to a failing case.
>>
>>
>> On Sat, Aug 2, 2014 at 2:56 AM, Shubham Bhushan <[email protected]> 
>> wrote:
>>
>>> I am able to use git protocol there's no problem with that, git works 
>>> out of the box. However somehow julia can't connect to github. I added 
>>> julia from the ppa .
>>>
>>>
>>> On Sat, Aug 2, 2014 at 9:07 AM, Stefan Karpinski <[email protected]> 
>>> wrote:
>>>
>>>> You are most likely behind a firewall. Can you clone packages from 
>>>> github manually using the git protocol? Can you telnet to github.com 
>>>> on port 9418?
>>>>  
>>>>
>>>> On Fri, Aug 1, 2014 at 5:48 PM, Shubham Bhushan <[email protected]> 
>>>> wrote:
>>>>
>>>>> please help I can't add any packages I really really want to use julia 
>>>>> but i can't and the mailing list is terrible. But still I am hoping 
>>>>> someone 
>>>>> will help.
>>>>>  so here's what I am getting
>>>>> julia> Pkg.init()
>>>>> INFO: Initializing package repository /home/shubham/.julia/v0.2
>>>>> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
>>>>> fatal: unable to connect to github.com:
>>>>> github.com[0: 192.30.252.131]: errno=Connection timed out
>>>>>
>>>>> ERROR: failed process: Process(`git clone -q -b metadata-v2 git://
>>>>> github.com/JuliaLang/METADATA.jl METADATA`, ProcessExited(128)) [128]
>>>>>  in pipeline_error at process.jl:476
>>>>>  in run at process.jl:453
>>>>>  in anonymous at no file:43
>>>>>  in cd at file.jl:22
>>>>>  in init at pkg/dir.jl:41
>>>>>  in init at pkg.jl:15
>>>>>
>>>>>
>>>>> please help. 
>>>>>
>>>>>
>>>>>  
>>>>
>>>
>>>
>>> -- 
>>> http://about.me/shubham.bhushan
>>>  
>>
>>

Reply via email to