Hello,
I am intermittently getting errors whilst triggering a deploy of an Octopus package from Team City. It seems to be having trouble downloading the packages (the relevant part of the stack trace is below).
I’m not sure whether it is relevant, but I also find that sometimes Octopus does not choose the most recent version of the NuGet package available - sometimes it is the previous version than the latest.
Any help much appreciated,
Lawrence
2014-10-13 17:02:47.3544 ERROR Unhandled error on request: http://MyNuGetServer/api/feeds/feeds-33/packages?packageIds=MyPackageId : The operation completed successfully
System.ComponentModel.Win32Exception (0x80004005): The operation completed successfully
at MS.Win32.HwndWrapper…ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Threading.Dispatcher…ctor()
at MS.Internal.WeakEventTable…ctor()
at NuGet.SendingRequestEventManager.get_CurrentManager()
at NuGet.SendingRequestEventManager.AddListener(IHttpClientEvents source, IWeakEventListener listener)
at Octopus.Shared.Packages.OctopusPackageRepositoryFactory.CreateRepository(String packageSource) in y:\work\db516cd4dfb6f424\source\Octopus.Shared\Packages\OctopusPackageRepositoryFactory.cs:line 30
at Octopus.Server.Web.Api.Actions.PackageSearchAction.Versions(String feedId, IEnumerable1 packageIds) in y:\work\db516cd4dfb6f424\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 98 at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute() in y:\work\db516cd4dfb6f424\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 41 at Octopus.Platform.Web.Api.Responder
1.Respond(TDescriptor options, NancyContext context) in y:\work\db516cd4dfb6f424\source\Octopus.Platform.Web\Api\Responder.cs:line 162
at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
at CallSite.Target(Closure , CallSite , Object , Object , NancyContext )
at Octopus.Server.Web.Api.OctopusRestApiModule.<>c__DisplayClass5.<.ctor>b__2(Object o) in y:\work\db516cd4dfb6f424\source\Octopus.Server\Web\Api\OctopusRestApiModule.cs:line 47
at CallSite.Target(Closure , CallSite , Func`2 , Object )
at Nancy.Routing.Route.<>c__DisplayClass4.b__3(Object parameters, CancellationToken context)