ServiceBusException when using Service Bus Premium with .NET Core Project
See original GitHub issueI’m getting this exception when using Service Bus Premium version & .NET CORE 2.2 Target Framework.
If I change the service bus to Standard version or change the .NET Framework to 4.6.1. The orchestration completes successfully. For the above said issue, the orchestration state is “Pending”.
To re-create, attached sample project can be used, which uses the AverageCalculator from durabletask/DurableTask.Samples.
serviceBusConnectionString, storageConnectionString and taskHubName should be modified in Program.cs.
NuGet Packages versions
“DurableTask.Core” Version=“2.0.0.6” “DurableTask.ServiceBus” Version=“2.0.0.6” “EnterpriseLibrary.SemanticLogging” Version=“2.0.1406.1” “Microsoft.Azure.DurableTask.ServiceBus” Version=“2.1.3” “Microsoft.Azure.ServiceBus” Version=“4.1.1” “WindowsAzure.Storage” Version=“9.3.3”
Exception Details
Exception: Microsoft.Azure.ServiceBus.ServiceBusException : The service was unable to process the request; please retry the operation. For more information on exception types and proper exception handling, please refer to http://go.microsoft.com/fwlink/?LinkId=761101 Reference:1c875715-d6a5-4eb8-839b-bbe5aa367228, TrackingId:6e0b54590000008900000ebc5e501c4c_G12_B32, SystemTracker:escalationsvc-test:Queue:escalationsvchub/orchestrator, Timestamp:2020-02-21T18:07:09
at Microsoft.Azure.ServiceBus.MessageSession.OnSetStateAsync(Byte[] sessionState)
at Microsoft.Azure.ServiceBus.MessageSession.OnSetStateInstrumentedAsync(Byte[] sessionState)
at DurableTask.ServiceBus.Common.Abstraction.IMessageSession.SetStateAsync(Byte[] sessionState) in C:\source\durabletask\src\DurableTask.ServiceBus\Common\Abstraction\ServiceBusAbstraction.cs:line 140
at DurableTask.ServiceBus.ServiceBusOrchestrationService.TrySetSessionStateAsync(TaskOrchestrationWorkItem workItem, OrchestrationRuntimeState newOrchestrationRuntimeState, OrchestrationRuntimeState runtimeState, IMessageSession session) in C:\source\durabletask\src\DurableTask.ServiceBus\ServiceBusOrchestrationService.cs:line 1560
at DurableTask.ServiceBus.ServiceBusOrchestrationService.CompleteTaskOrchestrationWorkItemAsync(TaskOrchestrationWorkItem workItem, OrchestrationRuntimeState newOrchestrationRuntimeState, IList1 outboundMessages, IList
1 orchestratorMessages, IList1 timerMessages, TaskMessage continuedAsNewMessage, OrchestrationState orchestrationState) in C:\source\durabletask\src\DurableTask.ServiceBus\ServiceBusOrchestrationService.cs:line 658 at DurableTask.Core.TaskOrchestrationDispatcher.OnProcessWorkItemAsync(TaskOrchestrationWorkItem workItem) in C:\source\durabletask\src\DurableTask.Core\TaskOrchestrationDispatcher.cs:line 427 at DurableTask.Core.TaskOrchestrationDispatcher.OnProcessWorkItemSessionAsync(TaskOrchestrationWorkItem workItem) in C:\source\durabletask\src\DurableTask.Core\TaskOrchestrationDispatcher.cs:line 116 at DurableTask.Core.WorkItemDispatcher
1.ProcessWorkItemAsync(WorkItemDispatcherContext context, Object workItemObj) in C:\source\durabletask\src\DurableTask.Core\WorkItemDispatcher.cs:line 312
I will appreciate any pointers to resolve this issue.
Please let me know if you have any questions or need any additional information.
Thanks, Sakshar DTFNetCoreSample.zip
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
@maximebousquet I was not able to resolve the issue. I am still running into the issue with the updated libraries so I will try to provide more information around my errors.
We are looking into this issue. @tkamesh will update this thread with details.