Sep 23 01:19:29 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:29 ubuntu dotnet[4147723]: [01:19:29 INF] Executed DbCommand (2ms) [Parameters=[@p4='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = DateTime), @p2='?', @p3='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:29 ubuntu dotnet[4147723]: UPDATE "NotificationReceipts" SET "DeviceReceivedAt" = @p0, "DisplayedAt" = @p1, "Status" = @p2, "UpdatedAt" = @p3 Sep 23 01:19:29 ubuntu dotnet[4147723]: WHERE "Id" = @p4; Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:30 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:30 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:30 ubuntu dotnet[4147723]: WHERE d."Id" = @__p_0 Sep 23 01:19:30 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] Executed DbCommand (1ms) [Parameters=[@p1='?', @p0='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:30 ubuntu dotnet[4147723]: UPDATE "Devices" SET "LastHeartbeatAt" = @p0 Sep 23 01:19:30 ubuntu dotnet[4147723]: WHERE "Id" = @p1; Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] Executed DbCommand (1ms) [Parameters=[@__messageId_0='?', @__tenantId_1='?', @__classroomId_2='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:30 ubuntu dotnet[4147723]: SELECT EXISTS ( Sep 23 01:19:30 ubuntu dotnet[4147723]:     SELECT 1 Sep 23 01:19:30 ubuntu dotnet[4147723]:     FROM "Notifications" AS n Sep 23 01:19:30 ubuntu dotnet[4147723]:     WHERE n."Id" = @__messageId_0 AND n."TenantId" = @__tenantId_1 AND n."ClassroomId" = @__classroomId_2) Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] ACK validated from Tenant t_beijing_no4, Class cls_802 (Device dev_59e35e79): Message msg_1790126363487_428e -> Delivered Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] Executed DbCommand (1ms) [Parameters=[@__messageId_0='?', @__authenticatedDeviceId_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:30 ubuntu dotnet[4147723]: SELECT n."Id", n."AcknowledgedAt", n."DeviceId", n."DeviceReceivedAt", n."DisplayedAt", n."FailedAt", n."FailureReason", n."NotificationId", n."Status", n."UpdatedAt" Sep 23 01:19:30 ubuntu dotnet[4147723]: FROM "NotificationReceipts" AS n Sep 23 01:19:30 ubuntu dotnet[4147723]: WHERE n."NotificationId" = @__messageId_0 AND n."DeviceId" = @__authenticatedDeviceId_1 Sep 23 01:19:30 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:30 ubuntu dotnet[4147723]: [01:19:30 INF] Executed DbCommand (1ms) [Parameters=[@p4='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = DateTime), @p2='?', @p3='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:30 ubuntu dotnet[4147723]: UPDATE "NotificationReceipts" SET "DeviceReceivedAt" = @p0, "DisplayedAt" = @p1, "Status" = @p2, "UpdatedAt" = @p3 Sep 23 01:19:30 ubuntu dotnet[4147723]: WHERE "Id" = @p4; Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/health - null null Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executing endpoint 'HTTP: GET /api/health' Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:31 ubuntu dotnet[4147723]: SELECT 1 Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Setting HTTP status code 200. Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Writing value of type '<>f__AnonymousType28`6' as Json. Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executed endpoint 'HTTP: GET /api/health' Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/health - 200 null application/json; charset=utf-8 12.6412ms Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executed DbCommand (1ms) [Parameters=[@__messageId_0='?', @__tenantId_1='?', @__classroomId_2='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:31 ubuntu dotnet[4147723]: SELECT EXISTS ( Sep 23 01:19:31 ubuntu dotnet[4147723]:     SELECT 1 Sep 23 01:19:31 ubuntu dotnet[4147723]:     FROM "Notifications" AS n Sep 23 01:19:31 ubuntu dotnet[4147723]:     WHERE n."Id" = @__messageId_0 AND n."TenantId" = @__tenantId_1 AND n."ClassroomId" = @__classroomId_2) Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] ACK validated from Tenant t_beijing_no4, Class cls_802 (Device dev_59e35e79): Message msg_1790126363976_5ee7 -> Delivered Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executed DbCommand (0ms) [Parameters=[@__messageId_0='?', @__authenticatedDeviceId_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:31 ubuntu dotnet[4147723]: SELECT n."Id", n."AcknowledgedAt", n."DeviceId", n."DeviceReceivedAt", n."DisplayedAt", n."FailedAt", n."FailureReason", n."NotificationId", n."Status", n."UpdatedAt" Sep 23 01:19:31 ubuntu dotnet[4147723]: FROM "NotificationReceipts" AS n Sep 23 01:19:31 ubuntu dotnet[4147723]: WHERE n."NotificationId" = @__messageId_0 AND n."DeviceId" = @__authenticatedDeviceId_1 Sep 23 01:19:31 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:31 ubuntu dotnet[4147723]: [01:19:31 INF] Executed DbCommand (1ms) [Parameters=[@p4='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = DateTime), @p2='?', @p3='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:31 ubuntu dotnet[4147723]: UPDATE "NotificationReceipts" SET "DeviceReceivedAt" = @p0, "DisplayedAt" = @p1, "Status" = @p2, "UpdatedAt" = @p3 Sep 23 01:19:31 ubuntu dotnet[4147723]: WHERE "Id" = @p4; Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:38 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:38 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:38 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/schooladmin/devices - null null Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executing endpoint 'ClassNotify.Server.Controllers.SchoolAdminController.GetDevices (ClassNotify.Server)' Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Route matched with {action = "GetDevices", controller = "SchoolAdmin"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetDevices() on controller ClassNotify.Server.Controllers.SchoolAdminController (ClassNotify.Server). Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed DbCommand (1ms) [Parameters=[@__tenantId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:38 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:38 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:38 ubuntu dotnet[4147723]: WHERE d."TenantId" = @__tenantId_0 Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:38 ubuntu dotnet[4147723]: SELECT t."Id", t."CreatedAt", t."IsActive", t."Name" Sep 23 01:19:38 ubuntu dotnet[4147723]: FROM "Tenants" AS t Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:38 ubuntu dotnet[4147723]: SELECT c."TenantId", c."Id", c."CreatedAt", c."DisplayName", c."Grade", c."RoomNumber" Sep 23 01:19:38 ubuntu dotnet[4147723]: FROM "Classrooms" AS c Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.List`1[[ClassNotify.Shared.Models.DeviceAdminDto, ClassNotify.Shared, Version=1.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]]]'. Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed action ClassNotify.Server.Controllers.SchoolAdminController.GetDevices (ClassNotify.Server) in 2.8539ms Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Executed endpoint 'ClassNotify.Server.Controllers.SchoolAdminController.GetDevices (ClassNotify.Server)' Sep 23 01:19:38 ubuntu dotnet[4147723]: [01:19:38 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/schooladmin/devices - 200 null application/json; charset=utf-8 3.2391ms Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/api/device-command/send - application/json; charset=utf-8 75 Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Route matched with {action = "SendCommand", controller = "DeviceCommand"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SendCommand(ClassNotify.Server.Controllers.SendDeviceCommandRequest) on controller ClassNotify.Server.Controllers.DeviceCommandController (ClassNotify.Server). Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:39 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:39 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:39 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 Sep 23 01:19:39 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed DbCommand (2ms) [Parameters=[@p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = DateTime), @p4='?', @p5='?', @p6='?' (DbType = Int64), @p7='?' (DbType = DateTime), @p8='?', @p9='?' (DbType = Int32), @p10='?', @p11='?' (DbType = DateTime), @p12='?', @p13='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:39 ubuntu dotnet[4147723]: INSERT INTO "DeviceCommands" ("Id", "CommandType", "CompletedAt", "CreatedAt", "CreatedBy", "DeviceId", "DurationMs", "ExpiresAt", "Parameters", "ResultCode", "ResultMessage", "StartedAt", "Status", "TenantId") Sep 23 01:19:39 ubuntu dotnet[4147723]: VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13); Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Created remote command cmd_917e36b4441e4fda9a6ae1d7358c2f1f (RestartClient) for Device dev_59e35e79 (Tenant t_beijing_no4, TTL 2m) by 北京四中管理员 Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:39 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:39 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:39 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:39 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed DbCommand (1ms) [Parameters=[@p1='?', @p0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:39 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "Status" = @p0 Sep 23 01:19:39 ubuntu dotnet[4147723]: WHERE "Id" = @p1; Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Dispatched command cmd_917e36b4441e4fda9a6ae1d7358c2f1f (RestartClient) to device dev_59e35e79 via SignalR 07ohQm1Qb1gtWVXCQFBPZg Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executing OkObjectResult, writing value of type '<>f__AnonymousType4`4[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[ClassNotify.Shared.Models.DeviceCommandDto, ClassNotify.Shared, Version=1.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]]]'. Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server) in 259.9399ms Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 23 01:19:39 ubuntu dotnet[4147723]: [01:19:39 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/api/device-command/send - 200 null application/json; charset=utf-8 260.3252ms Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/device-command/cmd_917e36b4441e4fda9a6ae1d7358c2f1f - null null Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Route matched with {action = "GetCommand", controller = "DeviceCommand"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCommand(System.String) on controller ClassNotify.Server.Controllers.DeviceCommandController (ClassNotify.Server). Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:42 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:42 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:42 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:42 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.3932ms Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_917e36b4441e4fda9a6ae1d7358c2f1f - 200 null application/json; charset=utf-8 1.7843ms Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/api/device-command/send - application/json 71 Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Route matched with {action = "SendCommand", controller = "DeviceCommand"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SendCommand(ClassNotify.Server.Controllers.SendDeviceCommandRequest) on controller ClassNotify.Server.Controllers.DeviceCommandController (ClassNotify.Server). Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:42 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:42 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:42 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 Sep 23 01:19:42 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed DbCommand (2ms) [Parameters=[@p0='?', @p1='?', @p2='?' (DbType = DateTime), @p3='?' (DbType = DateTime), @p4='?', @p5='?', @p6='?' (DbType = Int64), @p7='?' (DbType = DateTime), @p8='?', @p9='?' (DbType = Int32), @p10='?', @p11='?' (DbType = DateTime), @p12='?', @p13='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:42 ubuntu dotnet[4147723]: INSERT INTO "DeviceCommands" ("Id", "CommandType", "CompletedAt", "CreatedAt", "CreatedBy", "DeviceId", "DurationMs", "ExpiresAt", "Parameters", "ResultCode", "ResultMessage", "StartedAt", "Status", "TenantId") Sep 23 01:19:42 ubuntu dotnet[4147723]: VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13); Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Created remote command cmd_9be6fb631d3d493b9b48947eaf2cb129 (Reconnect) for Device dev_59e35e79 (Tenant t_beijing_no4, TTL 2m) by 北京四中管理员 Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed DbCommand (0ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:42 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:42 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:42 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:42 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed DbCommand (1ms) [Parameters=[@p1='?', @p0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:42 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "Status" = @p0 Sep 23 01:19:42 ubuntu dotnet[4147723]: WHERE "Id" = @p1; Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Dispatched command cmd_9be6fb631d3d493b9b48947eaf2cb129 (Reconnect) to device dev_59e35e79 via SignalR 07ohQm1Qb1gtWVXCQFBPZg Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executing OkObjectResult, writing value of type '<>f__AnonymousType4`4[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[ClassNotify.Shared.Models.DeviceCommandDto, ClassNotify.Shared, Version=1.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeytoken=[REDACTED]]]'. Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server) in 244.6382ms Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 23 01:19:42 ubuntu dotnet[4147723]: [01:19:42 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/api/device-command/send - 200 null application/json; charset=utf-8 245.0506ms Sep 23 01:19:47 ubuntu dotnet[4147723]: [01:19:47 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - null 0 Sep 23 01:19:47 ubuntu dotnet[4147723]: [01:19:47 INF] Executing endpoint '/hubs/device/negotiate' Sep 23 01:19:47 ubuntu dotnet[4147723]: [01:19:47 INF] Executed endpoint '/hubs/device/negotiate' Sep 23 01:19:47 ubuntu dotnet[4147723]: [01:19:47 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - 200 316 application/json 0.3277ms Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/hubs/device?id=8lx0uEqEIw3z0W72UmtblA - null null Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executing endpoint '/hubs/device' Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?', @__tokenHash_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 AND d."DeviceTokenHash" = @__tokenHash_1 AND d."IsActive" Sep 23 01:19:48 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Replacing previous ConnectionId 07ohQm1Qb1gtWVXCQFBPZg with 6VeOGPRsw8y2IVF6qTSy_A for Device dev_59e35e79 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Device dev_59e35e79 connected via SignalR. ConnectionId=6VeOGPRsw8y2IVF6qTSy_A, IP=130.61.36.218 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Removed replaced connection 07ohQm1Qb1gtWVXCQFBPZg from class group t:t_beijing_no4:c:cls_802; current connection is 6VeOGPRsw8y2IVF6qTSy_A Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Device dev_59e35e79 authenticated successfully. Joined group t:t_beijing_no4:c:cls_802 at 6VeOGPRsw8y2IVF6qTSy_A Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (0ms) [Parameters=[@__tenantId_0='?', @__classId_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT c."TenantId", c."Id", c."CreatedAt", c."DisplayName", c."Grade", c."RoomNumber" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "Classrooms" AS c Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE c."TenantId" = @__tenantId_0 AND c."Id" = @__classId_1 Sep 23 01:19:48 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT n."Id", n."AcknowledgedAt", n."DeviceId", n."DeviceReceivedAt", n."DisplayedAt", n."FailedAt", n."FailureReason", n."NotificationId", n."Status", n."UpdatedAt", n0."Id", n0."ClassroomId", n0."CreatedAt", n0."DurationSeconds", n0."ExpiresAt", n0."Message", n0."Priority", n0."SenderName", n0."SenderUserId", n0."Shake", n0."TenantId", n0."Title", n0."Voice" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "NotificationReceipts" AS n Sep 23 01:19:48 ubuntu dotnet[4147723]: INNER JOIN "Notifications" AS n0 ON n."NotificationId" = n0."Id" Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE n."DeviceId" = @__deviceId_0 AND n."Status" = 'Sent' Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."DeviceId" = @__deviceId_0 AND d."Status" IN ('Pending', 'Dispatched') Sep 23 01:19:48 ubuntu dotnet[4147723]: ORDER BY d."CreatedAt" Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Device dev_59e35e79 connected with 2 pending command(s) to catch up. Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (0ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:48 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (0ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:48 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (0ms) [Parameters=[@__result_CommandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:48 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE d."Id" = @__result_CommandId_0 Sep 23 01:19:48 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed DbCommand (1ms) [Parameters=[@p6='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?', @p4='?' (DbType = DateTime), @p5='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:48 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "CompletedAt" = @p0, "DurationMs" = @p1, "ResultCode" = @p2, "ResultMessage" = @p3, "StartedAt" = @p4, "Status" = @p5 Sep 23 01:19:48 ubuntu dotnet[4147723]: WHERE "Id" = @p6; Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Recorded execution result for Command cmd_917e36b4441e4fda9a6ae1d7358c2f1f (Device dev_59e35e79): Status=Succeeded, ResultCode=0, Duration=368ms Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Unregistered active device connection 6VeOGPRsw8y2IVF6qTSy_A for Device dev_59e35e79 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Device dev_59e35e79 disconnected for Tenant t_beijing_no4, Class cls_802 Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Executed endpoint '/hubs/device' Sep 23 01:19:48 ubuntu dotnet[4147723]: [01:19:48 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/hubs/device?id=8lx0uEqEIw3z0W72UmtblA - 101 null null 737.0213ms Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - null 0 Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executing endpoint '/hubs/device/negotiate' Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executed endpoint '/hubs/device/negotiate' Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - 200 316 application/json 0.3362ms Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/device-command/cmd_917e36b4441e4fda9a6ae1d7358c2f1f - null null Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Route matched with {action = "GetCommand", controller = "DeviceCommand"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetCommand(System.String) on controller ClassNotify.Server.Controllers.DeviceCommandController (ClassNotify.Server). Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:50 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:50 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:50 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:50 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.4014ms Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 23 01:19:50 ubuntu dotnet[4147723]: [01:19:50 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_917e36b4441e4fda9a6ae1d7358c2f1f - 200 null application/json; charset=utf-8 1.8055ms Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/hubs/device?id=xRVi4Rta6vkgxFo0OiiqGQ - null null Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executing endpoint '/hubs/device' Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?', @__tokenHash_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT d."Id", d."ClassroomId", d."CreatedAt", d."DeviceTokenHash", d."Hostname", d."InstallationId", d."IsActive", d."LastHeartbeatAt", d."RawDeviceToken", d."TenantId" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 AND d."DeviceTokenHash" = @__tokenHash_1 AND d."IsActive" Sep 23 01:19:51 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Device dev_59e35e79 connected via SignalR. ConnectionId=UP6S6t9JnvFQS4OT6fO8Tw, IP=130.61.36.218 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Device dev_59e35e79 authenticated successfully. Joined group t:t_beijing_no4:c:cls_802 at UP6S6t9JnvFQS4OT6fO8Tw Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (0ms) [Parameters=[@__tenantId_0='?', @__classId_1='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT c."TenantId", c."Id", c."CreatedAt", c."DisplayName", c."Grade", c."RoomNumber" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "Classrooms" AS c Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE c."TenantId" = @__tenantId_0 AND c."Id" = @__classId_1 Sep 23 01:19:51 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT n."Id", n."AcknowledgedAt", n."DeviceId", n."DeviceReceivedAt", n."DisplayedAt", n."FailedAt", n."FailureReason", n."NotificationId", n."Status", n."UpdatedAt", n0."Id", n0."ClassroomId", n0."CreatedAt", n0."DurationSeconds", n0."ExpiresAt", n0."Message", n0."Priority", n0."SenderName", n0."SenderUserId", n0."Shake", n0."TenantId", n0."Title", n0."Voice" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "NotificationReceipts" AS n Sep 23 01:19:51 ubuntu dotnet[4147723]: INNER JOIN "Notifications" AS n0 ON n."NotificationId" = n0."Id" Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE n."DeviceId" = @__deviceId_0 AND n."Status" = 'Sent' Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (0ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE d."DeviceId" = @__deviceId_0 AND d."Status" IN ('Pending', 'Dispatched') Sep 23 01:19:51 ubuntu dotnet[4147723]: ORDER BY d."CreatedAt" Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Device dev_59e35e79 connected with 1 pending command(s) to catch up. Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (0ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 23 01:19:51 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (1ms) [Parameters=[@__result_CommandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE d."Id" = @__result_CommandId_0 Sep 23 01:19:51 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (2ms) [Parameters=[@p6='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = Int64), @p2='?' (DbType = Int32), @p3='?', @p4='?' (DbType = DateTime), @p5='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "CompletedAt" = @p0, "DurationMs" = @p1, "ResultCode" = @p2, "ResultMessage" = @p3, "StartedAt" = @p4, "Status" = @p5 Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE "Id" = @p6; Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Recorded execution result for Command cmd_9be6fb631d3d493b9b48947eaf2cb129 (Device dev_59e35e79): Status=Succeeded, ResultCode=0, Duration=2708ms Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Executed DbCommand (0ms) [Parameters=[@__result_CommandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 23 01:19:51 ubuntu dotnet[4147723]: SELECT d."Id", d."CommandType", d."CompletedAt", d."CreatedAt", d."CreatedBy", d."DeviceId", d."DurationMs", d."ExpiresAt", d."Parameters", d."ResultCode", d."ResultMessage", d."StartedAt", d."Status", d."TenantId" Sep 23 01:19:51 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 23 01:19:51 ubuntu dotnet[4147723]: WHERE d."Id" = @__result_CommandId_0 Sep 23 01:19:51 ubuntu dotnet[4147723]: LIMIT 1 Sep 23 01:19:51 ubuntu dotnet[4147723]: [01:19:51 INF] Command cmd_9be6fb631d3d493b9b48947eaf2cb129 already completed with terminal status 'Succeeded'. Ignoring duplicate result report.