-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinHttpSendRequest() failed: 12007 #23512
Comments
What's the version of your vcpkg? Could you please clone the latest vcpkg and reinstall the port? Thank you! |
Thanks, we are using |
This issue is more of a 7zip site issue, a random network issue. |
Thanks. Feel free to close if you don't think the download logic can be improved. Some possible improvements
|
@BillyONeal What do you think about the two suggestions above? |
If you have better ideas :)
We do do this: https://github.com/microsoft/vcpkg-tool/blob/91494e3e24f53270ba38749a325c36c6373699ed/src/vcpkg/base/downloads.cpp#L318 |
For those like me who keep running into this problem: You can download the file manually using another reliable method (browser, curl, etc.) then put it under vcpkg/downloads/7z1900-x64.msi yourself. |
We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info. |
I see intermittent problems downloading 7zip.
Perhaps, some improvement can be made to the download logic similar to this PR: microsoft/vcpkg-tool#116.
12007 corresponds to
ERROR_WINHTTP_NAME_NOT_RESOLVED
: https://docs.microsoft.com/en-us/windows/win32/winhttp/error-messagesThe text was updated successfully, but these errors were encountered: