DataCloud scheduler Rex job: qa2

// Job ID: #11613
using LegalOne.Lib.Queue.Hangfire.Queues;

var dataCloudSchedulerRexQueueResolver = Activate<DataCloudSchedulerRexQueueResolver<DataCloudSchedulerJob,TaskQueueItemParam<DataCloudScheduleQueueItem>>>();
dataCloudSchedulerRexQueueResolver.Run(
    "DataCloud scheduler Rex job: qa2",
    FromJson<TaskQueueItemParam`1>("{\"ReportModelId\":0,\"ReportId\":0,\"AppIdInstance\":0,\"Parameter\":{\"Id\":1020,\"IdMonHorarioAgendadorApp\":2,\"TimeZoneIdentiy\":\"E. South America Standard Time\",\"SchedulerType\":1,\"DataBaseName\":\"express-firmbr-qa2\",\"DataBaseServer\":\"legalone-dev-eastus2.database.windows.net\",\"AppIdInstancia\":8192195,\"OfficeName\":\"qa2\",\"ManagerIdentifier\":\"520fc9b3-6cbd-488e-80a4-08df5721514d\",\"UtcDifference\":-180,\"EnqueuedDate\":\"2022-09-27T20:15:00.4567395Z\"},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"qa2\",\"TenantIdentifier\":null,\"UserId\":-1,\"BatchId\":null,\"OperationId\":\"xS7lyTdwJq4=\",\"EnqueueTime\":\"2025-12-12T15:32:37.2551244-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
    null);
BatchId
"f7a0bcba-2019-4739-b7f9-a7cae3fe3e19"
CurrentCulture
"pt-BR"
CurrentUICulture
"pt-BR"

State

27/09/2022 23:18:53 (+3m 52.504s) Failed

An exception occurred during performance of the job.

System.ApplicationException

Error on DataCloud scheduler Rex job: qa2. See inner exception for more details.

System.ApplicationException: Error on DataCloud scheduler Rex job: qa2. See inner exception for more details. ---> System.ServiceModel.ProtocolException: An HTTP Content-Type header is required for SOAP messaging and none was found. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Novajus.WSConsumo.WSRex.IWSRex.GetMonthBalance_Processo(GetMonthBalance_ProcessoRequest request)
   at LegalOne.Lib.LegalOneMonitoramento2Rex.RequestMonthBalance(Int32 idInstance, String dcPass) in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Monitoramento\Lib\LegalOneMonitoramento2Rex.cs:line 564
   at LegalOne.Lib.LegalOneMonitoramento2`3.StartBlock() in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Monitoramento\Lib\LegalOneMonitoramento2.cs:line 790
   at LegalOne.Lib.Schedulers.DataCloud.Rex.GerenciadorTarefas.GerenciadorTarefasRexNovaJus.NotificaInicioTarefa(Tarefa tarefa) in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Schedulers\DataCloud\Rex\GerenciadorTarefas\GerenciadorTarefasRexNovaJus.cs:line 165
   at LegalOne.Lib.Schedulers.DataCloud.DataCloudSchedulerJob.Run(TaskQueueItemParam`1 param) in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Schedulers\DataCloud\DataCloudSchedulerJob.cs:line 172
   at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Execute(TTask task, TTaskParam parameter, Exception& exception) in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 161
   --- End of inner exception stack trace ---
   at LegalOne.Lib.Queue.Hangfire.TaskQueueResolver`2.Run(String jobDescription, TTaskParam parameter, IJobCancellationToken cancellationToken) in C:\Agent\1\_work\56\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 139

+100ms Processing

Server:
wn0mdwk0000iq:7244
Worker:
997675ce

+ <1ms Enqueued

27/09/2022 23:15:00 Created