Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
Failed to change state to a 'Processing' one due to an exception after 10 retry attempts Fewer details...
10/27/2025 12:43:01 PM
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException (0x80004005): The Command Timeout expired before the operation completed.
---> MySqlConnector.MySqlException (0x80004005): Query execution was interrupted
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 50
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 119
at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 445
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1commands, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 60
at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 271
at MySqlConnector.MySqlCommand.ExecuteNonQuery() in /_/src/MySqlConnector/MySqlCommand.cs:line 101
at Dapper.SqlMapper.ExecuteCommand(IDbConnectioncnn, CommandDefinition&command, Action`2paramReader) in C:\projects\dapper\Dapper\SqlMapper.cs:line 2836
at Dapper.SqlMapper.ExecuteImpl(IDbConnectioncnn, CommandDefinition&command) in C:\projects\dapper\Dapper\SqlMapper.cs:line 570
at Dapper.SqlMapper.Execute(IDbConnectioncnn, Stringsql, Objectparam, IDbTransactiontransaction, Nullable`1commandTimeout, Nullable`1commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 443
at Hangfire.MySql.MySqlWriteOnlyTransaction.<>c__DisplayClass24_0.<PersistSet>b__0(MySqlConnectionx)
at Hangfire.MySql.MySqlWriteOnlyTransaction.<Commit>b__30_0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.<>c__DisplayClass18_0.<UseTransaction>b__0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.UseTransaction[T](Func`2func, Nullable`1isolationLevel)
at Hangfire.MySql.MySqlStorage.UseTransaction(Action`1action)
at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContextcontext)
at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId, IStatestate, IReadOnlyDictionary`2customData, String[]expectedStates, IFetchedJobcompleteJob, BackgroundJob&backgroundJob, CancellationTokeninitializeToken, CancellationTokenabortToken)
Failed to change state to a 'Processing' one due to an exception after 10 retry attempts More details...
10/24/2025 10:24:57 AM
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException (0x80004005): The Command Timeout expired before the operation completed.
---> MySqlConnector.MySqlException (0x80004005): Query execution was interrupted
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 50
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 119
at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 445
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1commands, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 60
at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 271
at MySqlConnector.MySqlCommand.ExecuteNonQuery() in /_/src/MySqlConnector/MySqlCommand.cs:line 101
at Dapper.SqlMapper.ExecuteCommand(IDbConnectioncnn, CommandDefinition&command, Action`2paramReader) in C:\projects\dapper\Dapper\SqlMapper.cs:line 2836
at Dapper.SqlMapper.ExecuteImpl(IDbConnectioncnn, CommandDefinition&command) in C:\projects\dapper\Dapper\SqlMapper.cs:line 570
at Dapper.SqlMapper.Execute(IDbConnectioncnn, Stringsql, Objectparam, IDbTransactiontransaction, Nullable`1commandTimeout, Nullable`1commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 443
at Hangfire.MySql.MySqlWriteOnlyTransaction.<>c__DisplayClass24_0.<PersistSet>b__0(MySqlConnectionx)
at Hangfire.MySql.MySqlWriteOnlyTransaction.<Commit>b__30_0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.<>c__DisplayClass18_0.<UseTransaction>b__0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.UseTransaction[T](Func`2func, Nullable`1isolationLevel)
at Hangfire.MySql.MySqlStorage.UseTransaction(Action`1action)
at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContextcontext)
at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId, IStatestate, IReadOnlyDictionary`2customData, String[]expectedStates, IFetchedJobcompleteJob, BackgroundJob&backgroundJob, CancellationTokeninitializeToken, CancellationTokenabortToken)
Failed to change state to a 'Processing' one due to an exception after 10 retry attempts More details...
10/24/2025 10:25:00 AM
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException (0x80004005): The Command Timeout expired before the operation completed.
---> MySqlConnector.MySqlException (0x80004005): Query execution was interrupted
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 50
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 119
at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 445
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1commands, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 60
at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 271
at MySqlConnector.MySqlCommand.ExecuteNonQuery() in /_/src/MySqlConnector/MySqlCommand.cs:line 101
at Dapper.SqlMapper.ExecuteCommand(IDbConnectioncnn, CommandDefinition&command, Action`2paramReader) in C:\projects\dapper\Dapper\SqlMapper.cs:line 2836
at Dapper.SqlMapper.ExecuteImpl(IDbConnectioncnn, CommandDefinition&command) in C:\projects\dapper\Dapper\SqlMapper.cs:line 570
at Dapper.SqlMapper.Execute(IDbConnectioncnn, Stringsql, Objectparam, IDbTransactiontransaction, Nullable`1commandTimeout, Nullable`1commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 443
at Hangfire.MySql.MySqlWriteOnlyTransaction.<>c__DisplayClass24_0.<PersistSet>b__0(MySqlConnectionx)
at Hangfire.MySql.MySqlWriteOnlyTransaction.<Commit>b__30_0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.<>c__DisplayClass18_0.<UseTransaction>b__0(MySqlConnectionconnection)
at Hangfire.MySql.MySqlStorage.UseTransaction[T](Func`2func, Nullable`1isolationLevel)
at Hangfire.MySql.MySqlStorage.UseTransaction(Action`1action)
at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContextcontext)
at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId, IStatestate, IReadOnlyDictionary`2customData, String[]expectedStates, IFetchedJobcompleteJob, BackgroundJob&backgroundJob, CancellationTokeninitializeToken, CancellationTokenabortToken)