dotnet / dotnet/vscode-dotnet-runtime

Error acquiring .NET!

Open
#846 0 comments 0 reactions 0 assignees View on GitHub
cause:missing-download
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

**Repro steps:**

1.

**Extension Version:** 1.0.0
**Error Message:** .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\7.0.5' -Version 7.0.5 -Runtime dotnet }
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
Could not find ".NET Core Runtime" with version = 7.0.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET support
En C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install
scripts\dotnet-install.ps1: 1250 Car�cter: 5
+ throw "Could not find `"$assetName`" with version = $($DownloadLi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Could not find ...on .NET support:String) [], RuntimeException
+ FullyQualifiedErrorId : Could not find ".NET Core Runtime" with version = 7.0.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET support

**Error Stack:** Error: .NET Acquisition Failed: Installation failed: Error: Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 ; & 'c:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\anonymous\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\7.0.5' -Version 7.0.5 -Runtime dotnet }
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
dotnet-install: Downloading from "primary" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode:
Error: Error al copiar contenido a una secuencia.
No se puede escribir datos de en la conexi�n de transporte: La conexi�n se cerr�.
Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-runtime-7.0.5-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Runtime/7.0.5/dotnet-win-x64.7.0.5.zip. Returned HTTP status code: 404
Could not find ".NET Core Runtime" with version = 7.0.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET support
En C:\Users\anonymous\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-1.6.0\dist\install
scripts\dotnet-install.ps1: 1250 Car�cter: 5
+ throw "Could not find `"$assetName`" with version = $($DownloadLi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Could not find ...on .NET support:String) [], RuntimeException
+ FullyQualifiedErrorId : Could not find ".NET Core Runtime" with version = 7.0.5
Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET support

at c:\Users\anonymous\.vscode\extensions\vscode-dotnet-runtime-library\dist\Acquisition\DotnetCoreAcquisitionWorker.js:89:27
at processTicksAndRejections (node:internal/process/task_queues:96:5)

[DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1681715764268.txt](https://github.com/dotnet/vscode-dotnet-runtime/files/11247377/DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1681715764268.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.