none
Error after migrating SP2013 to SP2016 Failed Service Bus Operation: System.OperationCanceledException: 40400: Endpoint not found. RRS feed

  • Question

  • After migrating SP2013 to SP2016, we proceeded to restore the WorkFlow Manager DR server and make the registration

    Register-SPWorkflowService -SPSite "https://SERVER01.DOMAIN.net:5005" -WorkflowHostUri "http://SERVER.DOMAIN.net:12291" -AllowOAuthHttp -Force -Verbose


    to keep track of the flows that are running, but when trying to execute new flows I get the error

    When debugging Service Bus and WorkFlow Manager I get the following error.

    Log Name:      Microsoft-Workflow/Operational
    Source:        Microsoft-Workflow
    Date:          9/24/2018 5:18:57 PM
    Event ID:      368
    Task Category: (65166)
    Level:         Warning
    Keywords:      Dispatcher,Management
    User:          DOMAIN\SP_Farm
    Computer:      SERER
    Description:
    Failed Service Bus Operation: System.OperationCanceledException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM ---> Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM ---> System.ServiceModel.FaultException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM
    
    Server stack trace:
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.ThrowIfFaultMessage(Message wcfMessage)
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.HandleMessageReceived(IAsyncResult result)
    
    Exception rethrown at [0]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.DuplexCorrelationAsyncResult.End(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [1]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.RequestAsyncResult.<>c__DisplayClass17.<GetAsyncSteps>b__a(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [2]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [3]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpTransactionalAsyncResult`1.<GetAsyncSteps>b__36(TIteratorAsyncResult thisPtr, IAsyncResult a)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [4]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
       --- End of inner exception stack trace ---
    
    Server stack trace:
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndSend(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.<>c__DisplayClass1.<Begin>b__0(IAsyncResult r, Boolean& output)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OperationComplete(IAsyncResult result)
       at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    
    Exception rethrown at [0]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.End(IAsyncResult result, T& output)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.End(IAsyncResult result)
       at Microsoft.Activities.Hosting.ServiceBusUtilities.Isolate(Action callback, Boolean preserveExceptionMessage)
       --- End of inner exception stack trace ---
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Activities.Hosting.NamespaceSender.SendMessageRetryAsyncResult.EndAsyncResult(IAsyncResult result)
       at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)
       at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Workflow" Guid="{B2885F6E-231C-43FF-BBEA-7516148FF6FE}" />
        <EventID>368</EventID>
        <Version>0</Version>
        <Level>3</Level>
        <Task>65166</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000210</Keywords>
        <TimeCreated SystemTime="2018-09-24T21:18:57.595421600Z" />
        <EventRecordID>809060</EventRecordID>
        <Correlation ActivityID="{BFB36185-07F9-4E62-9EB7-E46251C2E0E6}" />
        <Execution ProcessID="3140" ThreadID="1736" />
        <Channel>Microsoft-Workflow/Operational</Channel>
        <Computer>SERVER.DOMAIN.NET</Computer>
        <Security UserID="S-1-5-21-365581909-1784370368-1847928074-26246" />
      </System>
      <EventData>
        <Data Name="errorMsg">System.OperationCanceledException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM ---&gt; Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM ---&gt; System.ServiceModel.FaultException: 40400: Endpoint not found..TrackingId:04a2b7af-3087-4704-8cbb-dded6990cd00_GSERVER,TimeStamp:9/24/2018 9:18:57 PM
    
    Server stack trace:
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.ThrowIfFaultMessage(Message wcfMessage)
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.HandleMessageReceived(IAsyncResult result)
    
    Exception rethrown at [0]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.DuplexCorrelationAsyncResult.End(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.&lt;GetAsyncSteps&gt;b__4(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [1]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.RequestAsyncResult.&lt;&gt;c__DisplayClass17.&lt;GetAsyncSteps&gt;b__a(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [2]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.&lt;GetAsyncSteps&gt;b__4(RequestAsyncResult thisPtr, IAsyncResult r)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [3]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpTransactionalAsyncResult`1.&lt;GetAsyncSteps&gt;b__36(TIteratorAsyncResult thisPtr, IAsyncResult a)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    
    Exception rethrown at [4]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
       --- End of inner exception stack trace ---
    
    Server stack trace:
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndSend(IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.&lt;&gt;c__DisplayClass1.&lt;Begin&gt;b__0(IAsyncResult r, Boolean&amp; output)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.OperationComplete(IAsyncResult result)
       at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    
    Exception rethrown at [0]:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.OpenOnceManagerAsyncResult`1.End(IAsyncResult result, T&amp; output)
       at Microsoft.ServiceBus.Messaging.OpenOnceManager.End(IAsyncResult result)
       at Microsoft.Activities.Hosting.ServiceBusUtilities.Isolate(Action callback, Boolean preserveExceptionMessage)
       --- End of inner exception stack trace ---
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Activities.Hosting.NamespaceSender.SendMessageRetryAsyncResult.EndAsyncResult(IAsyncResult result)
       at Microsoft.Workflow.Common.BackoffRetryAsyncResult.IsolateWithRetry(IAsyncResult result)
       at Microsoft.Workflow.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)</Data>
      </EventData>
    </Event>

    Monday, September 24, 2018 9:33 PM

All replies