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

Re: Git Slowness on Windows w/o Internet

From
POPhilip Oakley <philipoakley@talktalk.net>
Date
Nov 3, 2018, 23:48 UTC
Message-ID
<4b32622b-e600-44b4-e1f7-0713d4839a86@talktalk.net>
In-Reply-To
<20181103164423.GE731755@genre.crustytoothpaste.net>
On 03/11/2018 16:44, brian m. carlson wrote:
Show 27 quoted lines
> On Fri, Nov 02, 2018 at 11:10:51AM -0500, Peter Kostyukov wrote:
>> 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.
> 

The normal Git for Windows install includes an option to check for updates at a suitable rate. Maybe you are hitting that. It can be switched off.

-- 
Philip
Previous: brian m. carlsonNext: Peter Kostyukov
Message 3 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.