{"action":"closed","issue":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1071","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1071/labels{/name}","comments_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1071/comments","events_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/1071/events","html_url":"https://github.com/OctopusDeploy/Issues/issues/1071","id":37937634,"number":1071,"title":"Apparent handle leak exposed when querying NuGet feeds","user":{"login":"nblumhardt","id":342712,"avatar_url":"https://avatars.githubusercontent.com/u/342712?v=3","gravatar_id":"","url":"https://api.github.com/users/nblumhardt","html_url":"https://github.com/nblumhardt","followers_url":"https://api.github.com/users/nblumhardt/followers","following_url":"https://api.github.com/users/nblumhardt/following{/other_user}","gists_url":"https://api.github.com/users/nblumhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/nblumhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nblumhardt/subscriptions","organizations_url":"https://api.github.com/users/nblumhardt/orgs","repos_url":"https://api.github.com/users/nblumhardt/repos","events_url":"https://api.github.com/users/nblumhardt/events{/privacy}","received_events_url":"https://api.github.com/users/nblumhardt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OctopusDeploy/Issues/labels/1%20-%20In%20Sprint","name":"1 - In Sprint","color":"006b75"},{"url":"https://api.github.com/repos/OctopusDeploy/Issues/labels/bug","name":"bug","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-07-15T23:55:00Z","updated_at":"2015-03-04T03:37:43Z","closed_at":"2015-03-04T03:37:43Z","body":"```json\r\n{\r\n  \"ErrorMessage\": \"The operation completed successfully\",\r\n  \"FullException\": \"System.ComponentModel.Win32Exception (0x80004005): The operation completed successfully\\r\\n   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)\\r\\n   at System.Windows.Threading.Dispatcher..ctor()\\r\\n   at MS.Internal.WeakEventTable..ctor()\\r\\n   at NuGet.SendingRequestEventManager.get_CurrentManager()\\r\\n   at NuGet.SendingRequestEventManager.AddListener(IHttpClientEvents source, IWeakEventListener listener)\\r\\n   at Octopus.Shared.Packages.OctopusPackageRepositoryFactory.CreateRepository(String packageSource) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Shared\\\\Packages\\\\OctopusPackageRepositoryFactory.cs:line 30\\r\\n   at Octopus.Server.Web.Api.Actions.PackageSearchAction.Versions(String feedId, IEnumerable`1 packageIds) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\Actions\\\\PackageSearchAction.cs:line 98\\r\\n   at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute() in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\Actions\\\\PackageSearchAction.cs:line 41\\r\\n   at Octopus.Platform.Web.Api.Responder`1.Respond(TDescriptor options, NancyContext context) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Platform.Web\\\\Api\\\\Responder.cs:line 162\\r\\n   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)\\r\\n   at CallSite.Target(Closure , CallSite , Object , Object , NancyContext )\\r\\n   at Octopus.Server.Web.Api.OctopusRestApiModule.<>c__DisplayClass5.<.ctor>b__2(Object o) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\OctopusRestApiModule.cs:line 47\\r\\n   at CallSite.Target(Closure , CallSite , Func`2 , Object )\\r\\n   at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)\"\r\n}\r\n```\r\n\r\n```\r\nSystem.ComponentModel.Win32Exception (0x80004005): The operation completed successfully\\r\r\n   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)\\r\r\n   at System.Windows.Threading.Dispatcher..ctor()\\r\r\n   at MS.Internal.WeakEventTable..ctor()\\r\r\n   at NuGet.SendingRequestEventManager.get_CurrentManager()\\r\r\n   at NuGet.SendingRequestEventManager.AddListener(IHttpClientEvents source, IWeakEventListener listener)\\r\r\n   at Octopus.Shared.Packages.OctopusPackageRepositoryFactory.CreateRepository(String packageSource) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Shared\\\\Packages\\\\OctopusPackageRepositoryFactory.cs:line 30\\r\r\n   at Octopus.Server.Web.Api.Actions.PackageSearchAction.Versions(String feedId, IEnumerable`1 packageIds) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\Actions\\\\PackageSearchAction.cs:line 98\\r\r\n   at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute() in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\Actions\\\\PackageSearchAction.cs:line 41\\r\r\n   at Octopus.Platform.Web.Api.Responder`1.Respond(TDescriptor options, NancyContext context) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Platform.Web\\\\Api\\\\Responder.cs:line 162\\r\r\n   at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)\\r\r\n   at CallSite.Target(Closure , CallSite , Object , Object , NancyContext )\\r\r\n   at Octopus.Server.Web.Api.OctopusRestApiModule.<>c__DisplayClass5.<.ctor>b__2(Object o) in y:\\\\work\\\\refs\\\\heads\\\\master\\\\source\\\\Octopus.Server\\\\Web\\\\Api\\\\OctopusRestApiModule.cs:line 47\\r\r\n   at CallSite.Target(Closure , CallSite , Func`2 , Object )\\r\r\n   at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)\r\n```\r\n\r\n<!---\r\n@huboard:{\"order\":1113.78125,\"milestone_order\":1071,\"custom_state\":\"\"}\n-->\r\n"}}