[16:21:28][Octopus Deploy] Error from Octopus server (HTTP 500): Octopus Server returned an error: The operation completed successfully
[16:21:28][Octopus Deploy] Server exception:
[16:21:28][Octopus Deploy] System.ComponentModel.Win32Exception (0x80004005): The operation completed successfully
[16:21:28][Octopus Deploy] at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
[16:21:28][Octopus Deploy] 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)
[16:21:28][Octopus Deploy] at System.Windows.Threading.Dispatcher…ctor()
[16:21:28][Octopus Deploy] at System.Windows.Threading.Dispatcher.get_CurrentDispatcher()
[16:21:28][Octopus Deploy] at MS.Internal.WeakEventTable…ctor()
[16:21:28][Octopus Deploy] at MS.Internal.WeakEventTable.get_CurrentWeakEventTable()
[16:21:28][Octopus Deploy] at NuGet.SendingRequestEventManager.get_CurrentManager()
[16:21:28][Octopus Deploy] at NuGet.DataServicePackageRepository…ctor(IHttpClient client, PackageDownloader packageDownloader)
[16:21:28][Octopus Deploy] at Octopus.Core.Packages.OctopusPackageRepositoryFactory.CreateRepository(String packageSource) in Y:\Work\refs\tags\3.3.27\source\Octopus.Core\Packages\OctopusPackageRepositoryFactory.cs:line 40
[16:21:28][Octopus Deploy] at Octopus.Core.Packages.OctopusPackageRepositoryFactory.CreateRepository(String packageSource, ICredentials credentials) in Y:\Work\refs\tags\3.3.27\source\Octopus.Core\Packages\OctopusPackageRepositoryFactory.cs:line 25
[16:21:28][Octopus Deploy] at Octopus.Server.Web.Api.Actions.PackageSearchAction.Search(String feedId, String packageId, Boolean partialMatch, Boolean includeMultipleVersions, Boolean includeNotes, Boolean includePreRelease, Int32 take, IVersionSpec versionRange, Regex preReleaseTag) in Y:\Work\refs\tags\3.3.27\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 68
[16:21:28][Octopus Deploy] at Octopus.Server.Web.Api.Actions.PackageSearchAction.Execute() in Y:\Work\refs\tags\3.3.27\source\Octopus.Server\Web\Api\Actions\PackageSearchAction.cs:line 56
[16:21:28][Octopus Deploy] at Octopus.Server.Web.Infrastructure.Api.Responder`1.Respond(TDescriptor options, NancyContext context) in Y:\Work\refs\tags\3.3.27\source\Octopus.Server\Web\Infrastructure\Api\Responder.cs:line 162
[16:21:28][Octopus Deploy] at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
[16:21:28][Octopus Deploy] at Octopus.Server.Web.Api.OctopusRestApiModule.<>c__DisplayClass0_0.<.ctor>b__0(Object o) in Y:\Work\refs\tags\3.3.27\source\Octopus.Server\Web\Api\OctopusRestApiModule.cs:line 46
[16:21:28][Octopus Deploy] at Nancy.Routing.Route.<>c__DisplayClass4.b__3(Object parameters, CancellationToken context)
[16:21:28][Octopus Deploy] -----------------------
[16:21:28][Octopus Deploy]
[16:21:28][Octopus Deploy] Exit code: -7
[16:21:28][Octopus Deploy] Octo.exe exit code: -7
We just saw this error today on 3.3.27
HI,
Thanks for reaching out! In Octopus 3.4
we moved to Nuget 3.4
which should fix the handle leak described in that github issue.
Please let us know if you keep seeing it after upgrading.
Thanks,
Dalmiro
Notice:
This issue has been closed due to inactivity. If you encounter the same or a similar issue and require help, please open a new discussion (if we asked for logs or extra details in this thread, consider including them in the new thread). If you are the creator of this thread and believe it should not be closed let us know via our support email.