DataCloud scheduler Rex job: qa2

// Job ID: #42992
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\":8076095,\"OfficeName\":\"qa2\",\"ManagerIdentifier\":\"f616ee60-7ef2-4165-a199-d3e23b215446\",\"UtcDifference\":-180,\"EnqueuedDate\":\"2022-10-03T20:11:00.8610682Z\"},\"ReportIdentifier\":null,\"TransactionId\":null,\"Tenancy\":\"qa2\",\"TenantIdentifier\":null,\"UserId\":-1,\"BatchId\":null,\"OperationId\":\"OQNzFnD/Lcw=\",\"EnqueueTime\":\"2025-12-12T13:47:21.4195841-03:00\",\"MutexIdentifier\":null,\"QueueType\":null}"),
    null);
BatchId
"48103de3-a7f8-4c07-97e5-c63b0777c459"
CurrentCulture
"pt-BR"
CurrentUICulture
"pt-BR"

State

03/10/2022 23:14:55 (+3m 54.207s) 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\24\s\LegalOne\LegalOne.Lib\Monitoramento\Lib\LegalOneMonitoramento2Rex.cs:line 564
   at LegalOne.Lib.LegalOneMonitoramento2`3.StartBlock() in C:\Agent\1\_work\24\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\24\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\24\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\24\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\24\s\LegalOne\LegalOne.Lib\Queue\Hangfire\TaskQueueResolver.cs:line 139

+527ms Processing

Server:
pd0mdwk0004ys:148
Worker:
d9c1cf60

+46ms Enqueued

03/10/2022 23:11:00 Created