ICheckNotification.RunDoWorkAsync

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

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

Parameters

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

State

11/09/2025 03:03:44 (+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.ExecuteNonQueryAsync(IOBehavior ioBehavior, CancellationToken cancellationToken)
   at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader)
   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command)
   at Hangfire.MySql.MySqlDistributedLock.Acquire()
   at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContext context)
   at Hangfire.Server.DelayedJobScheduler.EnqueueBackgroundJob(BackgroundProcessContext context, IStorageConnection connection, String jobId)

+1ms Scheduled

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

Enqueue at:
11/09/2025 03:02:33

+66ms 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)

+5.473s Processing

Server:
rocketmanhangfireserver:1
Worker:
0dfe495a

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
11/09/2025 01:12:14

+1.392s 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)

+15.781s Processing

Server:
rocketmanhangfireserver:1
Worker:
604c688a

+42m 17.367s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
11/09/2025 00:00:55

+81ms 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)

+25.334s Processing

Server:
rocketmanhangfireserver:1
Worker:
368b3673

+23m 18.301s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
11/08/2025 23:16:54

+1.432s 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)

+9.254s Processing

Server:
rocketmanhangfireserver:1
Worker:
68b01b61

+12m 46.507s Enqueued

Triggered by DelayedJobScheduler

+7ms Scheduled

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

Enqueue at:
11/08/2025 22:54:38

+82ms 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)

+1.437s Processing

Server:
rocketmanhangfireserver:1
Worker:
0dfe495a

+4m 7.016s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
11/08/2025 22:42:07

+654ms 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)

+9.308s Processing

Server:
rocketmanhangfireserver:1
Worker:
661b80b6

+1m 51.696s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
11/08/2025 22:37:16

+717ms 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)

+7.982s Processing

Server:
rocketmanhangfireserver:1
Worker:
f70236fd

+1m 53.058s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
11/08/2025 22:33:59

+565ms 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)

+21.630s Processing

Server:
rocketmanhangfireserver:1
Worker:
f70236fd

+1m 38.626s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
11/08/2025 22:31:31

+413ms 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)

+21.272s Processing

Server:
rocketmanhangfireserver:1
Worker:
dd07c884

+730ms Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
11/08/2025 22:30:59

+109ms 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)

+5.924s Processing

Server:
rocketmanhangfireserver:1
Worker:
368b3673

+23ms Enqueued

Triggered by recurring job scheduler

11/08/2025 22:30:29 Created