Can't run update_depot_tools.bat

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Can't run update_depot_tools.bat

Postby Teotihuacan » Mon Dec 14, 2020 1:40 pm

Trying to build cef on Win7 64

m:\cef\depot_tools>update_depot_tools

Downloading CIPD client for windows-386 from https://chrome-infra-packages.appspot.c ... 45b53d02c1
Failed to download the file, check your network connection, Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.SecurityProtocolType" due to invalid enumeration values. Spe
cify one of the following enumeration values and try again. The possible enumeration values are "Ssl3, Tls"."
Retrying after a short nap...
Teotihuacan
Techie
 
Posts: 48
Joined: Sun Sep 09, 2018 6:23 am

Re: Can't run update_depot_tools.bat

Postby Teotihuacan » Mon Dec 14, 2020 1:57 pm

FIX:

file: .cipd_impl.ps1

.........

# Download a file to a particular path.
function Download-File {
[CmdletBinding()]
param (
[Parameter(Mandatory = $true)]
[string]
$UserAgent,

[Parameter(Mandatory = $true)]
[string]
$Url,

[Parameter(Mandatory = $true)]
[string]
$Path
)

$wc = (New-Object System.Net.WebClient)
$wc.Headers.Add("User-Agent", $UserAgent)
try {
# Download failures were reported on Windows 8.1 without this line.
[System.Net.ServicePointManager]::SecurityProtocol = `
[System.Net.SecurityProtocolType]::Tls
$wc.DownloadFile($Url, $Path)
}
catch {
$err = $_.Exception.Message
throw "Failed to download the file, check your network connection, $err"
}
finally {
$wc.Dispose()
}
}

..........
Teotihuacan
Techie
 
Posts: 48
Joined: Sun Sep 09, 2018 6:23 am

Re: Can't run update_depot_tools.bat

Postby Satrajit » Mon Feb 01, 2021 7:55 am

How was this issue resolved?

I am getting this issue while building CEF 88 (4324)

pls provide the fix.
Satrajit
Mentor
 
Posts: 87
Joined: Wed Jan 09, 2019 6:11 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 44 guests