gclient failing

1,004 views
Skip to first unread message

Meraj Jilani

unread,
Oct 12, 2020, 6:59:31 AM10/12/20
to Chromium-dev, Chromium-discuss
Hi,

I am trying to build chromium for windows. when I am running gclient command in command prompt (admin mode) it gives error :

Failed to bootstrap or update CIPD client
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.ap
pspot.com/client?platform=windows-amd64&version=git_revision:0323cbe1ef467af36a
a6784f2315c5ee36e89e34...
Failed to download the file, check your network connection
At E:\depot_tools\.cipd_impl.ps1:116 char:5
+     throw "Failed to download the file, check your network connection"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to downl...work connec
   tion:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to download the file, check your network
   connection

Failed to bootstrap or update CIPD client


Any idea what is going wrong here?

Thanks,
Meraj

Meraj Jilani

unread,
Oct 12, 2020, 9:40:32 AM10/12/20
to Christian Biesinger, Chromium-dev, Chromium-discuss
Hi, 

I have tried below and none of them work.

1: launch command prompt in admin mode and hit gclinet.
2. launch command prompt in non admin mode and hit gclient.
3: since I am behind the corporate proxy so I have set environment variable HTTPPROXY pointing to corporate proxy URL(with port).

In all cases getting the same error. My internet is working fine.

Has anyone ever faced this issue? Please assist.

Thanks,
Meraj


On Mon, Oct 12, 2020 at 5:14 PM Christian Biesinger <cbies...@chromium.org> wrote:
FWIW, it's probably a bad idea to do this in admin mode (and possibly
(?) the reason why it's failing)

Christian
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAVD3YAJTA3Hu%2BMZT6Vd5zEtbNh-Pm_GAFCPSd9dOTy80CpUxg%40mail.gmail.com.

PhistucK

unread,
Oct 12, 2020, 10:22:01 AM10/12/20
to Meraj Jilani, Christian Biesinger, Chromium-dev, Chromium-discuss
You mentioned (privately and not) "http_proxy" and "HTTPPROXY".
I suggested "HTTP_PROXY" and "HTTPS_PROXY" (I think "HTTPS_PROXY" is even more relevant), so, just noting in case that is the culprit.

PhistucK


--
--
Chromium Discussion mailing list: chromium...@chromium.org

View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Meraj Jilani

unread,
Oct 13, 2020, 1:28:01 AM10/13/20
to PhistucK, Christian Biesinger, Chromium-dev, Chromium-discuss
Hi, 

I can download cipd.exe from the browser but it's failing through gclient command.
I have tried setting environment variables http_proxy (and HTTP_PROXY) and https_proxy(HTTPS_PROXY)) but still getting the same error message.

Does gclient really use these environments variables to check proxy settings?

Thanks,
Meraj


Meraj Jilani

unread,
Oct 13, 2020, 1:44:06 PM10/13/20
to PhistucK, Christian Biesinger, Chromium-dev, Chromium-discuss
After more digging, I found that while downloading the file it's throwing the exception "could not create SSL/TLS secure channel".
Any idea how to fix this? Does it need some specific version of .Net framework?

Thanks,
Meraj

Meraj Jilani

unread,
Oct 14, 2020, 10:48:14 AM10/14/20
to PhistucK, Christian Biesinger, Chromium-dev, Chromium-discuss
Okay, it works once I added code to support tls -1.2 in "depot_tools\.cipd_impl.ps1"
but now gclient sync giving below error:

 for match in self.ANSI_OSC_RE.finditer(text):
TypeError: cannot use a string pattern on a bytes-like object

Any idea what's going wrong now?

Thanks,
Meraj

Meraj Jilani

unread,
Oct 15, 2020, 2:47:23 AM10/15/20
to Bruce Dawson, Chromium-dev, cbies...@chromium.org, Chromium-discuss, PhistucK
Hi,

I am using Windows 8.1, gclient command has installed two versions of python, 2.7 and 3.8.
I noticed on chromium discussion forum that this issue could be due to an incompatible version of python also.
But currently in my environment variable path list depot_tool  is placed at first place and there is no other version of python pre-installed.

Thanks,
Meraj

On Thu, Oct 15, 2020 at 9:47 AM Bruce Dawson <bruce...@google.com> wrote:
What OS are you running on? There was a similar (but not identical) error reported a few times when trying to get a Chromium repo on Windows 7. In that case the trick was to redirect the gclient output to a file, but I'm not sure this will help here.
Reply all
Reply to author
Forward
0 new messages