Skip to content
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

Error Code:0x80072f78 #5133

Open
longliangzhe opened this issue Jan 14, 2025 · 2 comments
Open

Error Code:0x80072f78 #5133

longliangzhe opened this issue Jan 14, 2025 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@longliangzhe
Copy link

Brief description of your issue

在使用winget安装git时,出现错误

Steps to reproduce

使用winget下载安装git时,出现一下错误代码:0x80072f78

Expected behavior

请问如何修复这个问题?

Actual behavior

安装git时,终端内容如下:

Image

Environment

Windows 程序包管理器(预览) v1.10.40-preview
版权所有 (C) Microsoft Corporation。保留所有权利。

WinGet 命令行实用工具可从命令行安装应用程序和其他程序包。
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 14, 2025
@stephengillie
Copy link

stephengillie commented Jan 14, 2025

It appears that the package manager wasn't able to download Git. The InternetOpenUrl() failed. message at the bottom is common when the package is unavailable. Additioanlly, an Internet search for the error code brought me to an unrelated Microsoft Answers page, which had the quote:

Error: 0x80072f78 is caused because of temporary connection-related issues.

So I'm guessing the code might have the same meaning here. I do not know why it shows "unknown error" after the error code.

The dependency appears to be Git.Git version 2.47.1, added in microsoft/winget-pkgs#193710. I'm able to start the download, so it appears to be available from my network location.

  • Could you try again? Maybe there was a temporary connection issue.
  • If not, could there be another network blocker preventing the connection?

Edit; This only impacts 1 package and should be moved to the winget-pkgs repo.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage Issue need to be triaged label Jan 14, 2025
@denelon denelon added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jan 14, 2025
@DuckDuckStudio
Copy link

DuckDuckStudio commented Jan 16, 2025

I'm pretty sure this is due to network connection issues (I've encountered this more than once, GitHub access in China is like this...), please check your internet connection and try again.
For this, the modification manifest will not fix the issue.
I don't think this issue should be moved to winget-pkgs, which is not relevant to the manifest.
Edit: The main issue is why winget shows network errors as 'unknown error'.

Fun things: Sometimes the GitHub domain even resolves to a Loopback Address (127.0.0.1) - Search

原文 我非常确定这是网络连接的问题(例如下载一半后面的下载不下来、无法访问下载链接...) (我遇到过不止一次了,GitHub在中国的访问是这样的:( )
唯一能做的只有:检查您的链接,然后重试。实在不行可以尝试使用 VPN 等工具
对于此问题,修改清单并不能解决问题,清单中对相同的安装程序只允许添加1个下载链接,即使git可能在中国有镜像下载地址... ( #5138 )
我不认同将此问题移动至 winget-pkgs 仓库,因为此问题与清单无关。

@denelon denelon changed the title 错误代码:0x80072f78 Error Code:0x80072f78 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants