ICheckNotification.RunDoWorkAsync

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

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

Parameters

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

State

10/30/2025 06:11:22 (+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:
10/30/2025 06:10:54

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

+39.554s Processing

Server:
rocketmanhangfireserver:1
Worker:
9904ae48

+1h 9m Enqueued

Triggered by DelayedJobScheduler

+11ms Scheduled

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

Enqueue at:
10/30/2025 04:20:55

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

+38.515s Processing

Server:
rocketmanhangfireserver:1
Worker:
8c89cb8e

+42m 33.265s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
10/30/2025 03:09:40

+809ms 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.317s Processing

Server:
rocketmanhangfireserver:1
Worker:
f14952a9

+25m 99ms Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
10/30/2025 02:26:34

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

+33.521s Processing

Server:
rocketmanhangfireserver:1
Worker:
4197db6b

+12m 42.258s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
10/30/2025 02:02:28

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

+446ms Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+6m 6.979s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
10/30/2025 01:48:13

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

+24.041s Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+3m 40.365s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
10/30/2025 01:42:16

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

+20.258s Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+13.592s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
10/30/2025 01:39:06

+142ms 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.316s Processing

Server:
rocketmanhangfireserver:1
Worker:
5b83fed9

+1m 24.957s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
10/30/2025 01:37:27

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

+20.317s Processing

Server:
rocketmanhangfireserver:1
Worker:
2e8f6959

+14.258s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
10/30/2025 01:36:43

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

+6.676s Processing

Server:
rocketmanhangfireserver:1
Worker:
5b83fed9

+22ms Enqueued

Triggered by recurring job scheduler

10/30/2025 01:36:05 Created