Skip to content

Restoring from private azure devops feeds is flaky #3932

@riarenas

Description

@riarenas

We have been seeing multiple issues when restoring from azure devops private feeds.

These errors usually manifest in 401/403/404 errors when attempting to restore packages, and are caused by a mix of bugs in NuGet / The credential provider / MSBuild.

While we have some more information as to when the issues will be fixed, the azure artifacts team recommended a wokaround:

  • Clear the nuget http-cache before attempting to restore any packages from these feeds
  • Set the following environment variables:"
    NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS=20
    NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS=20

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions