Unable to download package: Could not connect to the feed specified at

We are using MyGet.org to host some of our off site packages and suddenly we are unable to download packages from this feed. It’s been working fine, and suddenly it stopped. We are using 1.5.1.1652. The feed is added correctly and I can search and find the packages (as can the Create Release dialog) - however when deploying we get the following error. Any ideas of how to troubleshoot this?

Thanks

@@@
Download package DMS.KVKService.Database 2013.5.0.232 from NuGet feed: MyGet.org Feed
2013-05-06 11:39:45 INFO Downloading NuGet package DMS.KVKService.Database 2013.5.0.232 from feed: 'http://www.myget.org/F/somefeedname/'
2013-05-06 11:39:45 DEBUG Downloaded packages will be stored in: C:\Octopus\Data\PackageCache
2013-05-06 11:39:45 DEBUG Finding package (attempt 1 of 5)
2013-05-06 11:39:48 ERROR Unable to download package: Could not connect to the feed specified at ‘http://www.myget.org/F/somefeedname/’. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity. System.InvalidOperationException: Could not connect to the feed specified at ‘http://www.myget.org/F/somefeedname/’. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity. —> System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. —> System.Data.Services.Client.DataServiceClientException: Unauthorized
at System.Data.Services.Client.QueryResult.Execute()
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
— End of inner exception stack trace —
at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at System.Data.Services.Client.DataServiceQuery1.Execute() at System.Data.Services.Client.DataServiceQuery1.ExecuteInternal()
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
— End of inner exception stack trace —
at NuGet.DataServiceQueryWrapper1.Execute[TResult](Func1 action)
at NuGet.DataServiceQueryWrapper1.<GetAll>d__7.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NuGet.PackageRepositoryExtensions.FindPackage(IPackageRepository repository, String packageId, SemanticVersion version, IPackageConstraintProvider constraintProvider, Boolean allowPrereleaseVersions, Boolean allowUnlisted)
at Octopus.Server.Tasks.Deploy.DownloadPackageActivity.FindPackage(Int32 attempt, IPackageStep step, Feed feed) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\DownloadPackageActivity.cs:line 146
at Octopus.Server.Tasks.Deploy.DownloadPackageActivity.AttemptToFindAndDownloadPackage(Int32 attempt, String cacheDirectory, IPackageStep step, Feed feed, IPackage& downloadedPackage, String& path) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\DownloadPackageActivity.cs:line 129
at Octopus.Server.Tasks.Deploy.DownloadPackageActivity.AttemptToDownload(IPackageStep step, Feed feed) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\DownloadPackageActivity.cs:line 93
@@@

Hi,

Can you try restarting the Octopus Server windows service to see if the issue is resolved?

Paul

Hi Paul

That worked - the password was changed and it seemed that, when deploying a release, the old password was still cached. Service restart worked.

Thanks