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

Re: Git Slowness on Windows w/o Internet

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Nov 3, 2018, 16:44 UTC
Message-ID
<20181103164423.GE731755@genre.crustytoothpaste.net>
In-Reply-To
<CAEL6bLrY5OgsjrZSSHDfYgrjefninR4wuZhGCsop_f-HCH7Jmg@mail.gmail.com>
On Fri, Nov 02, 2018 at 11:10:51AM -0500, Peter Kostyukov wrote:
Show 15 quoted lines
> Wanted to bring to your attention an issue that we discovered on our
> Windows Jenkins nodes with git scm installed (git.exe). Our Jenkins
> servers don't have Internet access. It appears that git.exe is trying
> to connect to various Cloudflare and Akamai CDN instances over the
> Internet when it first runs and it keeps trying to connect to these
> CDNs every git.exe execution until it makes a successful attempt. See
> the screenshot attached with the details.
> 
> Enabling Internet access via proxy fixes the issue and git.exe
> continues to work fast on the next attempts to run git.exe
> 
> Is there any configuration setting that can disable this git's
> behavior or is there any other workaround without allowing Internet
> access? Otherwise, every git command run on a server without the
> Internet takes about 30 seconds to complete.

Git itself doesn't make any attempt to access those systems unless it's configured to do so (e.g. a remote is set up to talk to those systems and fetch or pull is used).

It's possible that you're using a distribution package that performs this behavior, say, to check for updates. I'd recommend that you contact the distributor, which in this case might be Git for Windows, and see if they can tell you more about what's going on. The URL for that project is at https://github.com/git-for-windows/git.

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Peter KostyukovNext: Philip Oakley
Message 2 of 4 in “Git Slowness on Windows w/o Internet”
  1. Peter KostyukovNov 2, 2018
  2. brian m. carlsonNov 3, 2018
  3. Philip OakleyNov 3, 2018
  4. Peter KostyukovNov 5, 2018

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.