Re: Git Slowness on Windows w/o Internet
- Date: Mon, 5 Nov 2018 16:11:56 -0600
- From: Peter Kostyukov <peter.kostyukov@xxxxxxxxx>
- Subject: Re: Git Slowness on Windows w/o Internet
Good point. I'll check it out. Thanks for the tip.
Senior Systems Engineer
Kohl's Department Stores - KIC
On Sat, Nov 3, 2018 at 6:48 PM Philip Oakley <philipoakley@xxxxxxxxxxxx> wrote:
> On 03/11/2018 16:44, brian m. carlson wrote:
> > 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.
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000.
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time
without any further consent.