If it turns out to be a git issue then you have to fix the underlying git issue before trying to use git with Julia.
Do you have a ~/.gitconfig? What's in it? If you run the git clone with -v instead of -q, what do you see? Just to be clear: this does not appear to be an issue with Julia; it's with (your installation of) git. Fix that and Julia should start working. On Thursday, February 19, 2015 at 1:15:46 PM UTC-8, Jeff Kopmanis wrote: > > It's never asked me to authenticate...it just sits there until the > connection times out. I don't do 2-factor auth on my machine, and not with > github. > > If it turns out to be a git issue, how do I tell Julia to use the > correct/additional options when doing Pkg.?? calls? > > On Thu, Feb 19, 2015 at 4:12 PM, Seth <[email protected] > <javascript:>> wrote: > >> 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 >>>>> >>>> >>>> > > > -- > Jeff Kopmanis > Monroe Big Band: http://monroebigband.com > Sweet Melissa: http://sweetmelissarocks.com > Soul Kitchen: http://soulkitchencooks.com > Orange Can Astronomy http://orange-can.blogspot.com > Pickle Reviews http://pickle-review.blogspot.com > Saxessories http://saxessories.blogspot.com > ** Go Green and leave this email on the Screen! ** >
