git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Commit 5841520b makes it impossible to connect to github from behind my company's firewall.

From
Enrique Tobis <enrique.tobis@twosigma.com>
Date
Oct 20, 2015, 13:39 UTC
Message-ID
<cbf2c2c2c137445ebb9e2c5f1012cb10@EXMBNJE8.ad.twosigma.com>
In-Reply-To
<vpq37x54vav.fsf@grenoble-inp.fr>
Hey!
I'm really sorry to hear that.
That change should enable more forms of authentication with your proxy, but it does cause libcurl to choose the one it finds most secure, according to the docs (http://curl.haxx.se/libcurl/c/CURLOPT_HTTPAUTH.html) What kinds of authentication does your proxy use?

Thanks, Enrique

-----Original Message-----
From: Matthieu Moy [mailto:Matthieu.Moy@grenoble-inp.fr] 
Sent: Tuesday, October 20, 2015 07:46
To: Johan Laenen
Cc: git@vger.kernel.org; Enrique Tobis
Subject: Re: Commit 5841520b makes it impossible to connect to github from behind my company's firewall.
Hi,
I'm just Cc-ing Enrique, the author of 5841520b.
Johan Laenen <johan.laenen+cygwin@gmail.com> writes:
Show 36 quoted lines
> Commit 5841520b makes it impossible to connect to github from behind my
> company's firewall.
>
> I'm running CYGWIN_NT-6.1 and the default git version 2.5.3 complains with a
> fatal error when trying to git pull:
>
> $ /bin/git --version
> git version 2.5.3
> $ /bin/git pull
> fatal: unable to access 'https://github.com/gargle/french/': Unknown SSL
> protocol error in connection to github.com:443
>
> Taking the sources of git 2.6.1. and compiling with commit 5841520b in
> http.c reverted gives me a working git.
>
> My http.c now looks like:
>
>  466     if (curl_http_proxy) {
>  467         curl_easy_setopt(result, CURLOPT_PROXY, curl_http_proxy);
>  468 #if LIBCURL_VERSION_NUM >= 0x070a07
>  469         curl_easy_setopt(result, CURLOPT_PROXYAUTH, CURLAUTH_ANY);
>  470 #endif
>  471     }
>
> And it works:
>
> $ git --version
> git version 2.6.1
> $ git pull
> Already up-to-date.
>
>
>
> Greetings,
>
> Johan
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Matthieu MoyNext: Johan Laenen
Message 3 of 11 in “Commit 5841520b makes it impossible to connect to github from behind my company's firewall.”
  1. Johan LaenenOct 20, 2015
  2. Matthieu MoyOct 20, 2015
  3. Enrique TobisOct 20, 2015
  4. Johan LaenenOct 20, 2015
  5. Johan LaenenOct 20, 2015
  6. Junio C HamanoOct 20, 2015
  7. Enrique TobisOct 20, 2015
  8. Johan LaenenOct 21, 2015
  9. Johan LaenenOct 21, 2015
  10. Junio C HamanoOct 21, 2015
  11. Enrique TobisOct 21, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.