ICheckNotification.RunDoWorkAsync

The job is finished. It will be removed automatically 01/01/0001 00:00:00.
// Id: #135039
using RocketMan.Backoffice.BackgroundJob.ServicesJobs;

var checkNotification = Activate<ICheckNotification>();
await checkNotification.RunDoWorkAsync(null);

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"task-update-mysql"
RetryCount
10
Time
1761707780

State

10/29/2025 07:53:52 (+1h 50m) Failed

Failed to change state to the 'Enqueued' one due to an exception after 5 retry attempts

MySqlConnector.MySqlException (rocketmanhangfireserver:1)

XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected

MySqlConnector.MySqlException: XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected
   at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken)
   at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior)
   at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken)
   at MySqlConnector.MySqlDataReader.InitAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken)
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken)
   at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior)
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at Hangfire.MySql.MySqlStorageConnection.<>c__DisplayClass10_0.<GetJobData>b__0(MySqlConnection connection)
   at Hangfire.MySql.MySqlStorage.UseConnection[T](Func`2 func)
   at Hangfire.States.BackgroundJobStateChanger.GetJobData(StateChangeContext context)
   at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContext context)
   at Hangfire.Server.DelayedJobScheduler.EnqueueBackgroundJob(BackgroundProcessContext context, IStorageConnection connection, String jobId)

+3ms Scheduled

Retry attempt 10 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 07:53:20

+1.351s Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+50.301s Processing

Server:
rocketmanhangfireserver:1
Worker:
5b83fed9

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+11ms Scheduled

Retry attempt 9 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 06:02:19

+343ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+19.445s Processing

Server:
rocketmanhangfireserver:1
Worker:
80702ff3

+41m 45.189s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

Retry attempt 8 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 04:49:05

+108ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+44.103s Processing

Server:
rocketmanhangfireserver:1
Worker:
8c89cb8e

+23m 21.683s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 7 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 04:06:59

+478ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+14.283s Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+12m 43.536s Enqueued

Triggered by DelayedJobScheduler

+12ms Scheduled

Retry attempt 6 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:44:07

+304ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3.833s Processing

Server:
rocketmanhangfireserver:1
Worker:
f14952a9

+6m 2.748s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 5 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:32:10

+190ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+14.404s Processing

Server:
rocketmanhangfireserver:1
Worker:
def5edbb

+1m 45.616s Enqueued

Triggered by DelayedJobScheduler

+11ms Scheduled

Retry attempt 4 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:25:38

+366ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+29.530s Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+1m 30.638s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 3 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:22:08

+152ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+29.529s Processing

Server:
rocketmanhangfireserver:1
Worker:
5b83fed9

+1m 31.536s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 2 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:19:30

+108ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+43.860s Processing

Server:
rocketmanhangfireserver:1
Worker:
9904ae48

+1m 17.070s Enqueued

Triggered by DelayedJobScheduler

+49ms Scheduled

Retry attempt 1 of 10: Authentication Error - No credentials provided

Enqueue at:
10/29/2025 03:17:53

+100ms Failed

An exception occurred during performance of the job.

Twilio.Exceptions.ApiException (rocketmanhangfireserver:1)

Authentication Error - No credentials provided

Twilio.Exceptions.ApiException: Authentication Error - No credentials provided
   at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
   at Twilio.Clients.TwilioRestClient.RequestAsync(Request request)
   at Twilio.Rest.Api.V2010.Account.MessageResource.CreateAsync(CreateMessageOptions options, ITwilioRestClient client)
   at RocketMan.Backoffice.Services.WhatsAppMessageService.TwilioWhatsAppMessage.SendMessageAsync(ServiceOrderCreationMessage message)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.SendSingleNotification(ServiceOrderCreationMessage message, Int32 notificationId, CancellationToken cancellationToken)
   at RocketMan.Backoffice.BackgroundJob.ServicesJobs.CheckNotification.RunDoWorkAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+50.632s Processing

Server:
rocketmanhangfireserver:1
Worker:
5b83fed9

+26ms Enqueued

Triggered by recurring job scheduler

10/29/2025 03:16:20 Created