Sync all product data to Magento NS

The job is finished. It will be removed automatically 1/1/0001 12:00:00 AM.
// Id: #794628
using KA_scheduler.Services;

var jobService = Activate<JobService>();
await jobService.TriggerRequest(
    null,
    "Sync all product data to Magento NS",
    "https://mainapi.karasmussen.vpstage.no/api/sync?incrementalSync=true",
    FromJson<HttpMethod>("{\"Method\":\"GET\"}"),
    null,
    "NS");

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"MagentoSyncNS"
RetryCount
1
Time
1761298774

State

10/24/2025 10:25:00 AM (+37m 19.349s) Failed

Failed to change state to a 'Processing' one due to an exception after 10 retry attempts

MySqlConnector.MySqlException (427fe171-fbd0-4d46-97db-7f5b8ede7eaf)

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(IOBehavior ioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 50
   at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 119
   at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 445
   at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 60
   at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 271
   at MySqlConnector.MySqlCommand.ExecuteNonQuery() in /_/src/MySqlConnector/MySqlCommand.cs:line 101
   at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in C:\projects\dapper\Dapper\SqlMapper.cs:line 2836
   at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in C:\projects\dapper\Dapper\SqlMapper.cs:line 570
   at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 443
   at Hangfire.MySql.MySqlWriteOnlyTransaction.<>c__DisplayClass24_0.<PersistSet>b__0(MySqlConnection x)
   at Hangfire.MySql.MySqlWriteOnlyTransaction.<Commit>b__30_0(MySqlConnection connection)
   at Hangfire.MySql.MySqlStorage.<>c__DisplayClass18_0.<UseTransaction>b__0(MySqlConnection connection)
   at Hangfire.MySql.MySqlStorage.UseTransaction[T](Func`2 func, Nullable`1 isolationLevel)
   at Hangfire.MySql.MySqlStorage.UseTransaction(Action`1 action)
   at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContext context)
   at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContext context, IStorageConnection connection, String jobId, IState state, IReadOnlyDictionary`2 customData, String[] expectedStates, IFetchedJob completeJob, BackgroundJob& backgroundJob, CancellationToken initializeToken, CancellationToken abortToken)

+5.958s Processing

Server:
0e825c56-a836-4d27-9465-cd61765fc055
Worker:
7a3c3ff7
+252msGetting token for 143e853b-49e7-4f77-b548-7809674624ce, authUrl https://1ei6y3a3n2.execute-api.eu-north-1.amazonaws.com/Jwt
+731msPayload:

+8ms Scheduled

Retry attempt 1 of 10: Unable to connect to any of the specified MySQL h…

Enqueue at:
10/24/2025 9:48:17 AM

+8m 312ms Failed

An exception occurred during performance of the job.

MySqlConnector.MySqlException (0e825c56-a836-4d27-9465-cd61765fc055)

Unable to connect to any of the specified MySQL hosts.

MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
   at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 515
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(String logMessage, Int32 startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 435
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 139
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 139
   at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 902
   at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 435
   at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 380
   at Hangfire.MySql.MySqlStorage.CreateAndOpenConnection()
   at Hangfire.MySql.MySqlStorage.UseConnection[T](Func`2 func)
   at Hangfire.Console.Server.ConsoleContext.FixExpiration()
   at Hangfire.Console.Server.ConsoleServerFilter.OnPerformed(PerformedContext filterContext)
   at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple)
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message)
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message)
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)

+403ms Processing

Server:
0e825c56-a836-4d27-9465-cd61765fc055
Worker:
624e059d
+132msGetting token for 143e853b-49e7-4f77-b548-7809674624ce, authUrl https://1ei6y3a3n2.execute-api.eu-north-1.amazonaws.com/Jwt
+421msPayload:

+80ms Enqueued

Triggered using recurring job manager

10/24/2025 9:39:34 AM Created