# Troubleshooting Telerik NuGet

This article provides solutions to common issues that you may observe when working with the Telerik NuGet server and the NuGet packages that it provides.

## Networking Problems

One common problem is that your machine (PC or DevOps agent) is behind a proxy. To check if you're experiencing a networking issue, open the following URL in your web browser:

<https://nuget.telerik.com/v3/search?q=reporting>

In the authentication window, enter `api-key` in the **User name** field and your [API key](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installing-with-nuget#generate-an-api-key) in the **Password** field. After the successful authentication, you should see a JSON search result containing a list of all the **Telerik Reporting** packages available with your license.

## Issue: The NuGet Package Takes Too Long to Install or Update on Visual Studio

The NuGet package takes too long to install or update on Visual Studio. How to improve the installation and update times?

### Solution

You can disconnect the project from the source control before running the **Update Wizard**.

## Issue: Telerik NuGet Returns 401 Logon Failed after Password Change

After changing your Telerik password, you get `[Telerik Nuget] The V2 feed at '...' returned an unexpected status code '401 Logon failed.'` error in the NuGet Package Manager.

### Solution

Update your credentials and use an API key instead of a password. Using an API key instead of a password is a more secure approach:

1. [Generate an API key](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installing-with-nuget#generate-an-api-key).
2. Update the credentials for the Telerik NuGet feed by running `dotnet nuget update source "TelerikNuget" --source "https://nuget.telerik.com/v3/index.json" --username "api-key" --password "YOUR-API-KEY" --store-password-in-clear-text`. Ensure updating the name of the Nuget source "TelerikNuget" and the api key "YOUR-API-KEY".

As an alternative, you can [reset your Telerik NuGet Feed credentials from the Windows Credentials Manager](https://www.telerik.com/products/reporting/documentation/knowledge-base/troubleshooting-nuget#solution-2-windows-credentials-manager)

## Issue: Unable to load the service index for source <https://nuget.telerik.com/v3/index.json>

The error may occur if the `nuget.telerik.com server` is down.

Test for [Networking Problems](https://www.telerik.com/products/reporting/documentation/knowledge-base/troubleshooting-nuget#networking-problems).

If you hit that error, make sure that the Telerik NuGet Feed is live at <https://status.telerik.com/>.

## Issue: Resetting Telerik Nuget Credentials

On Windows, if you enter and save wrong credentials for the Telerik NuGet or if you change your Telerik credentials, you won't have access to the desired NuGet packages. Before you can enter the correct user name and password, you must clear the saved credentials.

### Solution 1: Resetting The Credentials in NuGet.config

Try resetting your credentials by using the approach suggested in the [Telerik NuGet returns 401 Logon failed after password change](https://www.telerik.com/products/reporting/documentation/knowledge-base/troubleshooting-nuget#issue-telerik-nuget-returns-401-logon-failed-after-password-change). If the credentials are not updated, continue with [Solution 2 below](https://www.telerik.com/products/reporting/documentation/knowledge-base/troubleshooting-nuget#solution-2-windows-credentials-manager).

### Solution 2: Windows Credentials Manager

Alternatively, use Windows Credentials Manager to remove the saved credentials:

1. In Visual Studio navigate to **Tools** > **NuGet Package Manager** > **Package Manager Settings**. Select **NuGet Package Manager**, click **Package Sources**, and remove the listed Telerik NuGet package source.

2. Close all open Visual Studio instances (this is so that all NuGet package manager tasks are stopped).

3. Open the Windows Credentials Manager. To access it, navigate to **Control Panel** > **User Accounts** > **Credential Manager**.

4. Click **Windows Credentials**.

5. Scroll through all the entries until you find any that are for `nuget.telerik.com` and remove them. Usually, these should be the following:

   * `nuget.telerik.com`
   * `VSCredentials_nuget.telerik.com`

   ![Remove credentials from Windows Credential Manager](https://www.telerik.com/products/reporting/documentation/assets/b7ce06a7f059716840a8a4e16f7a6a5b/windows-credential-manager.png)

6. [Add the Telerik NuGet Feed](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installing-with-nuget#how-to-install-from-the-telerik-nuget-server) again, and then enter the correct credentials. For more details, see the [Installing with Nuget](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installation-approaches#using-nuget-packages) article section.

7. If desired, verify the NuGet credentials by inspecting the `NuGet.config` file located in `%AppData%\NuGet\NuGet.config`.

8. Reopen Visual Studio and access the Telerik NuGet server.

## See Also

* [Adding the Telerik Private NuGet Feed to VS](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installing-with-nuget)
* [Restoring NuGet Packages in Your CI Workflow](https://www.telerik.com/products/reporting/documentation/getting-started/installation/restoring-nugets-in-ci)
* [Installing with NuGet](https://www.telerik.com/products/reporting/documentation/getting-started/installation/installation-approaches#installing-with-nuget)
