Skip to content

UseDotNet fails with {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}  #13895

@pakrym

Description

@pakrym

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Bug

Enter Task Name: UseDotNet

list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

Environment

Starting: Initialize job
Agent name: 'Azure Pipelines 50'
Agent machine name: 'fv-az686-22'
Current agent version: '2.177.1'
Operating System
Microsoft Windows Server 2019
10.0.17763
Datacenter
Virtual Environment
Environment: windows-2019
Version: 20201108.1
Included Software: https://github.com/actions/virtual-environments/blob/win19/20201108.1/images/win/Windows2019-Readme.md
Current image version: '20201108.1'
Agent running as: 'VssAdministrator'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: PowerShell (2.170.1)
Downloading task: UsePythonVersion (0.176.0)
Downloading task: UseDotNet (2.175.0)
Downloading task: CmdLine (2.177.3)
Downloading task: PublishPipelineArtifact (1.2.3)
Checking job knob settings.
   Knob: AgentToolsDirectory = C:/hostedtoolcache/windows Source: ${AGENT_TOOLSDIRECTORY} 
   Knob: AgentPerflog = c:\vsts\perflog Source: ${VSTS_AGENT_PERFLOG} 
Finished checking job knob settings.
Plugin: 'Test Result Parser plugin' is running in background.
Plugin: 'Test File Publisher plugin' is running in background.
Start tracking orphan processes.
Finishing: Initialize job

Issue Description

UseDotNet fails with the following error:

2020-11-13T23:19:45.8791257Z ##[section]Starting: Use .NET Core SDK
2020-11-13T23:19:45.8927403Z ==============================================================================
2020-11-13T23:19:45.8928045Z Task         : Use .NET Core
2020-11-13T23:19:45.8928699Z Description  : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
2020-11-13T23:19:45.8929406Z Version      : 2.175.0
2020-11-13T23:19:45.8929718Z Author       : Microsoft Corporation
2020-11-13T23:19:45.8930113Z Help         : https://aka.ms/AA4xgy0
2020-11-13T23:19:45.8930494Z ==============================================================================
2020-11-13T23:19:51.0537063Z ##[error]Failed to download or parse releases-index.json with error: {"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}
2020-11-13T23:19:51.0686494Z ##[section]Finishing: Use .NET Core SDK

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions