Failed to stop service because BusHandle.Stop was canceled

21 views
Skip to first unread message

Emir Ključanin

unread,
Feb 1, 2018, 12:46:10 PM2/1/18
to masstransit-discuss
Hi all. We have windows service installed using Topshelf and when we want to stop the service so we could update it we get this error in event log:

Failed to stop service. System.OperationCanceledException: The operation was canceled. at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource) at MassTransit.Util.TaskUtil.SingleThreadSynchronizationContext.RunOnCurrentThread(CancellationToken cancellationToken) at MassTransit.Util.TaskUtil.Await(Func`1 taskFactory, CancellationToken cancellationToken) at MassTransit.BusHandleExtensions.Stop(BusHandle handle, TimeSpan stopTimeout)

Anyone have any suggestions what might be wrong?

Thank you
Reply all
Reply to author
Forward
0 new messages