New to Telerik Reporting? Download free 30-day trial

Error 401 Failed to retrieve information from remote source https://nuget.telerik.com on restoring Nuget packages in a .NET Core project

Environment

Product Progress® Telerik® Reporting
Framework .NET Core

Desciption

Telerik products, including Telerik Reporting, can be used via Nuget packages. To access Nuget packages, you need Telerik account allowing you to connect to the private Telerik Nuget feed - We Maintain a Telerik NuGet Feed.

Error Message

Error 401: Failed to retrieve information from remote source https://nuget.telerik.com

Cause

The connection to the private Nuget feed requires user and password credentials, which are not stored automatically.

Solution

This is an issue with .NET Core tooling and its options for storing passwords for private feeds - Restore fails when a NuGet feed with Encrypted Credentials (default) is defined on the system. The comment in the first post elaborates on how to store the username and password in plain text to allow the restore operation.

See Also

Consuming packages from authenticated feeds.

How to add the Telerik private NuGet feed to Visual Studio.

In this article