Cloning gyp fails
Hello.
My build script downloads gyp if not installed in a subfolder of
the workspace.
Anyway it fails to connect to the gyp repository.
Here is the command:
git clone https://git.chromium.org/external/gyp.git
build/gyp
Here is the error:
fatal: unable to access 'https://git.chromium.org/external/gyp.git/':
Failed connect to git.chromium.org:443; No error
It look like some kind of firewall blocking the request.
Is there a way I can make the command work?
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2014 09:06 AM
There is no firewall for outbound requests.
Is it sporadic error or it's happening all the time?
Try changing it to
http://
2 Posted by Luigi on 15 Jul, 2014 12:03 PM
Hi.
With http it worked!
Thanks
3 Posted by Rui Abreu Ferre... on 29 Jan, 2015 11:15 PM
I'm seeing the exact same issue when building Neovim - gets a tarball for libuv (that internally gets gyp) - problem is I can't just change the URL. Is there any other way around this?
Support Staff 4 Posted by Feodor Fitsner on 29 Jan, 2015 11:18 PM
Is this a public project/repo?
-Feodor
5 Posted by Rui Abreu Ferre... on 29 Jan, 2015 11:20 PM
Yes. Here https://ci.appveyor.com/project/equalsraf/neovim
Support Staff 6 Posted by Feodor Fitsner on 29 Jan, 2015 11:35 PM
Will check it out.
-Feodor
Support Staff 7 Posted by Feodor Fitsner on 30 Jan, 2015 04:42 AM
Could you point me to build here https://ci.appveyor.com/project/equalsraf/neovim with that
git clone
error?8 Posted by Rui Abreu Ferre... on 30 Jan, 2015 09:09 AM
This one (or older ones)
https://ci.appveyor.com/project/equalsraf/neovim/build/9-tb-mingw
Support Staff 9 Posted by Feodor Fitsner on 30 Jan, 2015 06:17 PM
OK, in case this is DNS issue you could try the following trick with updating NICs DNS servers. Add this PowerShell commands to your build:
10 Posted by Rui Abreu Ferre... on 30 Jan, 2015 10:06 PM
Hi Feodor
Same error as before
fatal: unable to access 'https://git.chromium.org/external/gyp.git/': Failed connect to git.chromium.org:443; No error
And it seems to be specific to that case. That build is also downloading some tarballs over https without issues.
Full log
https://ci.appveyor.com/project/equalsraf/neovim
Support Staff 11 Posted by Feodor Fitsner on 30 Jan, 2015 10:09 PM
OK, what was the reason of installing your own Git? Maybe this is the issue?
12 Posted by Rui Abreu Ferre... on 30 Jan, 2015 10:24 PM
Ok, here is a temporary fix to force http in git without changing the build, just run the following before building
git config --global url."http://".insteadOf https://
Still the https issue is pretty weird. Is it possible there is a firewall along the way that is blocking the connection?
13 Posted by Rui Abreu Ferre... on 30 Jan, 2015 10:25 PM
I only installed my own git after hitting this problem - but I am now using the default version again.
Support Staff 14 Posted by Feodor Fitsner on 30 Jan, 2015 10:28 PM
Yes, that's weird. All outbound connections/ports are open.
15 Posted by Rui Abreu Ferre... on 30 Jan, 2015 10:39 PM
The last bit of the message makes it more cryptic "No error"
fatal: unable to access 'https://git.chromium.org/external/gyp.git/': Failed connect to git.chromium.org:443; No error
I doubt it is the firewall at the VM/Host. More likely it is in transit. Wild guess - a lot of enterprise grade firewalls have stepped up their SSL filters after the recent vulnerabilities, and kill connections if the protocol version is two low. In some cases they only kill connections from a specific SSL library (openssl/gnutls).
But this is hard to debug without a packet inspector.
Support Staff 16 Posted by Feodor Fitsner on 30 Jan, 2015 10:44 PM
Interesting. I'm just wondering if this error is also reproducible on "Pro" environment which run in a different data center. Would you be able to test it back with "https" if I switch your account to Pro for a day/two?
17 Posted by Rui Abreu Ferre... on 30 Jan, 2015 10:53 PM
Sure. It should just be a matter of removing the git command from the script. Also If it is easier you can just setup any project with a build script as
git clone https://git.chromium.org/external/gyp.git/
that should trigger the same issue.
Support Staff 18 Posted by Feodor Fitsner on 30 Jan, 2015 10:57 PM
Seems like Azure specific issue. I ran it for 3 times with all success: https://ci.appveyor.com/project/FeodorFitsner/simple-console
19 Posted by Rui Abreu Ferre... on 30 Jan, 2015 11:46 PM
Ok. Here is a minimal project of mine failing the clone
https://ci.appveyor.com/project/equalsraf/chan42
Support Staff 20 Posted by Feodor Fitsner on 30 Jan, 2015 11:48 PM
Do you configure it on UI?
21 Posted by Rui Abreu Ferre... on 31 Jan, 2015 12:07 AM
Yes used the UI. The only thing i did was create a cmd build script with
git clone https://git.chromium.org/external/gyp.git/
I did not touch any other option.
Support Staff 22 Posted by Feodor Fitsner on 31 Jan, 2015 12:14 AM
Right, this command perfectly works on "Pro" environment. It's definitely something on Azure related to networking.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.