Skip to content

tls2-downlload.exe get error 0x00000057 behind http proxy #17688

@ChanthMiao

Description

@ChanthMiao

Describe the bug
scripts/bootstrap.ps1 failed, because tls2-downlload.exe get error 0x00000057 behind http proxy

Environment

  • OS: windows 10 v10.0.19042.0
  • shell: powershell 5.1.19041.906

To Reproduce
Steps to reproduce the behavior:

  1. $Env:HTTP_PROXY=http://192.168.32.1:8080; $Env:HTTPS_PROXY=http://192.168.32.1:8080 # Setup http proxy
  2. .\bootstrap-vcpkg.bat
  3. See error

Expected behavior
Download vcpkg.exe successifully.

Failure logs
image

Additional context
There is nothing wrong with my proxy. At my local branch, I modified the 'scripts/bootstrap.ps1' to replace tls2-download.exe with aria2c, which installed by scoop. Then, downloading successed.
image

Metadata

Metadata

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions