Sep 22 13:49:49 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:49:49 ubuntu dotnet[4147723]: [13:49:49 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 22 13:49:49 ubuntu dotnet[4147723]: [13:49:49 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.4595ms Sep 22 13:49:49 ubuntu dotnet[4147723]: [13:49:49 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:49:49 ubuntu dotnet[4147723]: [13:49:49 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_a4a62ad6628d48dbb9f8a7660c7fad9b - 200 null application/json; charset=utf-8 1.8556ms Sep 22 13:49:53 ubuntu dotnet[4147723]: [13:49:53 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:49:53 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 22 13:49:53 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:49:53 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/api/device-command/send - application/json 71 Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 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 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:49:56 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 22 13:49:56 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 22 13:49:56 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 Sep 22 13:49:56 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 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 22 13:49:56 ubuntu dotnet[4147723]: INSERT INTO "DeviceCommands" ("Id", "CommandType", "CompletedAt", "CreatedAt", "CreatedBy", "DeviceId", "DurationMs", "ExpiresAt", "Parameters", "ResultCode", "ResultMessage", "StartedAt", "Status", "TenantId") Sep 22 13:49:56 ubuntu dotnet[4147723]: VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13); Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Created remote command cmd_4b3d282575f74a3e82771acd1cef5a06 (SelfCheck) for Device dev_59e35e79 (Tenant t_beijing_no4, TTL 5m) by 北京四中管理员 Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executed DbCommand (0ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:49:56 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 22 13:49:56 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:49:56 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 22 13:49:56 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executed DbCommand (2ms) [Parameters=[@p1='?', @p0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:49:56 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "Status" = @p0 Sep 22 13:49:56 ubuntu dotnet[4147723]: WHERE "Id" = @p1; Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Dispatched command cmd_4b3d282575f74a3e82771acd1cef5a06 (SelfCheck) to device dev_59e35e79 via SignalR mSLdGKmvMMZvZQF5J00uVQ Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executing OkObjectResult, writing value of type '<>f__AnonymousType4`4[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ClassNotify.Shared.Models.DeviceCommandDto, ClassNotify.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server) in 244.5813ms Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 22 13:49:56 ubuntu dotnet[4147723]: [13:49:56 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/api/device-command/send - 200 null application/json; charset=utf-8 244.9689ms Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/device-command/cmd_4b3d282575f74a3e82771acd1cef5a06 - null null Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 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 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:49:57 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 22 13:49:57 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:49:57 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 22 13:49:57 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.3422ms Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:49:57 ubuntu dotnet[4147723]: [13:49:57 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_4b3d282575f74a3e82771acd1cef5a06 - 200 null application/json; charset=utf-8 1.7318ms Sep 22 13:50:03 ubuntu dotnet[4147723]: [13:50:03 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:03 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 22 13:50:03 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:03 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:50:13 ubuntu dotnet[4147723]: [13:50:13 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:13 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 22 13:50:13 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:13 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:50:23 ubuntu dotnet[4147723]: [13:50:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:23 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 22 13:50:23 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:23 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:50:23 ubuntu dotnet[4147723]: [13:50:23 INF] Unregistered active device connection mSLdGKmvMMZvZQF5J00uVQ for Device dev_59e35e79 Sep 22 13:50:23 ubuntu dotnet[4147723]: [13:50:23 INF] Device dev_59e35e79 disconnected for Tenant t_beijing_no4, Class cls_802 Sep 22 13:50:28 ubuntu dotnet[4147723]: [13:50:28 INF] Connection id "0HNOOC57U1J6D", Request id "0HNOOC57U1J6D:00000001": the application aborted the connection. Sep 22 13:50:28 ubuntu dotnet[4147723]: [13:50:28 INF] Executed endpoint '/hubs/device' Sep 22 13:50:28 ubuntu dotnet[4147723]: [13:50:28 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/hubs/device?id=LZzdUBUI90nYk2R8nu3sPA - 101 null null 1617365.9231ms Sep 22 13:50:32 ubuntu dotnet[4147723]: [13:50:32 INF] Request starting HTTP/1.1 GET http://127.0.0.1:5000/api/health - null null Sep 22 13:50:32 ubuntu dotnet[4147723]: [13:50:32 INF] Executing endpoint 'HTTP: GET /api/health' Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:33 ubuntu dotnet[4147723]: SELECT 1 Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Setting HTTP status code 200. Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Writing value of type '<>f__AnonymousType28`6' as Json. Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Executed endpoint 'HTTP: GET /api/health' Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Request finished HTTP/1.1 GET http://127.0.0.1:5000/api/health - 200 null application/json; charset=utf-8 12.7085ms Sep 22 13:50:33 ubuntu dotnet[4147723]: [13:50:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:33 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 22 13:50:33 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:33 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:50:43 ubuntu dotnet[4147723]: [13:50:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:43 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 22 13:50:43 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:43 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:50:53 ubuntu dotnet[4147723]: [13:50:53 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:50:53 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 22 13:50:53 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:50:53 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:03 ubuntu dotnet[4147723]: [13:51:03 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:03 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 22 13:51:03 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:03 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:13 ubuntu dotnet[4147723]: [13:51:13 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:13 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 22 13:51:13 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:13 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:23 ubuntu dotnet[4147723]: [13:51:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:23 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 22 13:51:23 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:23 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:33 ubuntu dotnet[4147723]: [13:51:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:33 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 22 13:51:33 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:33 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:43 ubuntu dotnet[4147723]: [13:51:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:43 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 22 13:51:43 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:43 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:51:53 ubuntu dotnet[4147723]: [13:51:53 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:51:53 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 22 13:51:53 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:51:53 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:03 ubuntu dotnet[4147723]: [13:52:03 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:03 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 22 13:52:03 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:03 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:03 ubuntu dotnet[4147723]: [13:52:03 WRN] Command cmd_4b3d282575f74a3e82771acd1cef5a06 (Device dev_59e35e79, Tenant t_beijing_no4) transitioned to terminal status 'TimedOut': Command timed out (device did not report execution result within 2 minutes). Sep 22 13:52:03 ubuntu dotnet[4147723]: [13:52:03 INF] Executed DbCommand (1ms) [Parameters=[@p4='?', @p0='?' (DbType = DateTime), @p1='?' (DbType = Int32), @p2='?', @p3='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:03 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "CompletedAt" = @p0, "ResultCode" = @p1, "ResultMessage" = @p2, "Status" = @p3 Sep 22 13:52:03 ubuntu dotnet[4147723]: WHERE "Id" = @p4; Sep 22 13:52:13 ubuntu dotnet[4147723]: [13:52:13 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:13 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 22 13:52:13 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:13 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/device-command/cmd_4b3d282575f74a3e82771acd1cef5a06 - null null Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 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 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:18 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 22 13:52:18 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:18 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 22 13:52:18 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.5535ms Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:52:18 ubuntu dotnet[4147723]: [13:52:18 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_4b3d282575f74a3e82771acd1cef5a06 - 200 null application/json; charset=utf-8 2.0016ms Sep 22 13:52:23 ubuntu dotnet[4147723]: [13:52:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:23 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 22 13:52:23 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:23 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/api/device-command/send - application/json 75 Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 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 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:33 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 22 13:52:33 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:33 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:33 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 22 13:52:33 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 22 13:52:33 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 Sep 22 13:52:33 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 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 22 13:52:33 ubuntu dotnet[4147723]: INSERT INTO "DeviceCommands" ("Id", "CommandType", "CompletedAt", "CreatedAt", "CreatedBy", "DeviceId", "DurationMs", "ExpiresAt", "Parameters", "ResultCode", "ResultMessage", "StartedAt", "Status", "TenantId") Sep 22 13:52:33 ubuntu dotnet[4147723]: VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13); Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Created remote command cmd_e1eed8c1f85f47c9b390e335519e85d0 (RestartClient) for Device dev_59e35e79 (Tenant t_beijing_no4, TTL 2m) by 北京四中管理员 Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Device dev_59e35e79 is offline. Command cmd_e1eed8c1f85f47c9b390e335519e85d0 queued as Pending until 2026-09-22 13:54:33Z Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executing OkObjectResult, writing value of type '<>f__AnonymousType4`4[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ClassNotify.Shared.Models.DeviceCommandDto, ClassNotify.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server) in 281.3913ms Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.SendCommand (ClassNotify.Server)' Sep 22 13:52:33 ubuntu dotnet[4147723]: [13:52:33 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/api/device-command/send - 200 null application/json; charset=utf-8 281.7955ms Sep 22 13:52:43 ubuntu dotnet[4147723]: [13:52:43 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:43 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 22 13:52:43 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:43 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/device-command/cmd_e1eed8c1f85f47c9b390e335519e85d0 - null null Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Executing endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 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 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:49 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 22 13:52:49 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:49 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 22 13:52:49 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Executing OkObjectResult, writing value of type 'ClassNotify.Shared.Models.DeviceCommandDto'. Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Executed action ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server) in 1.5884ms Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Executed endpoint 'ClassNotify.Server.Controllers.DeviceCommandController.GetCommand (ClassNotify.Server)' Sep 22 13:52:49 ubuntu dotnet[4147723]: [13:52:49 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/device-command/cmd_e1eed8c1f85f47c9b390e335519e85d0 - 200 null application/json; charset=utf-8 1.9939ms Sep 22 13:52:53 ubuntu dotnet[4147723]: [13:52:53 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:52:53 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 22 13:52:53 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:52:53 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:53:03 ubuntu dotnet[4147723]: [13:53:03 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:03 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 22 13:53:03 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:03 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/api/health - null null Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Executing endpoint 'HTTP: GET /api/health' Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:09 ubuntu dotnet[4147723]: SELECT 1 Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Setting HTTP status code 200. Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Writing value of type '<>f__AnonymousType28`6' as Json. Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Executed endpoint 'HTTP: GET /api/health' Sep 22 13:53:09 ubuntu dotnet[4147723]: [13:53:09 INF] Request finished HTTP/1.1 GET https://classnotify.paradise.eu.org/api/health - 200 null application/json; charset=utf-8 12.6978ms Sep 22 13:53:13 ubuntu dotnet[4147723]: [13:53:13 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:13 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 22 13:53:13 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:13 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:53:14 ubuntu dotnet[4147723]: [13:53:14 INF] Request starting HTTP/1.1 POST http://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - null 0 Sep 22 13:53:14 ubuntu dotnet[4147723]: [13:53:14 INF] Executing endpoint '/hubs/device/negotiate' Sep 22 13:53:14 ubuntu dotnet[4147723]: [13:53:14 INF] Executed endpoint '/hubs/device/negotiate' Sep 22 13:53:14 ubuntu dotnet[4147723]: [13:53:14 INF] Request finished HTTP/1.1 POST https://classnotify.paradise.eu.org/hubs/device/negotiate?negotiateVersion=1 - 200 316 application/json 0.5631ms Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Request starting HTTP/1.1 GET http://classnotify.paradise.eu.org/hubs/device?id=ASKii87aciiCpMjysQi1PQ - null null Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executing endpoint '/hubs/device' Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?', @__tokenHash_1='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 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 22 13:53:15 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE d."Id" = @__deviceId_0 AND d."DeviceTokenHash" = @__tokenHash_1 AND d."IsActive" Sep 22 13:53:15 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Device dev_59e35e79 connected via SignalR. ConnectionId=J4UAalT7jCQoLf5dyJ6TBA, IP=130.61.36.218 Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Device dev_59e35e79 authenticated successfully. Joined group t:t_beijing_no4:c:cls_802 at J4UAalT7jCQoLf5dyJ6TBA Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (0ms) [Parameters=[@__tenantId_0='?', @__classId_1='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 ubuntu dotnet[4147723]: SELECT c."TenantId", c."Id", c."CreatedAt", c."DisplayName", c."Grade", c."RoomNumber" Sep 22 13:53:15 ubuntu dotnet[4147723]: FROM "Classrooms" AS c Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE c."TenantId" = @__tenantId_0 AND c."Id" = @__classId_1 Sep 22 13:53:15 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (1ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 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 22 13:53:15 ubuntu dotnet[4147723]: FROM "NotificationReceipts" AS n Sep 22 13:53:15 ubuntu dotnet[4147723]: INNER JOIN "Notifications" AS n0 ON n."NotificationId" = n0."Id" Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE n."DeviceId" = @__deviceId_0 AND n."Status" = 'Sent' Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (0ms) [Parameters=[@__deviceId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 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 22 13:53:15 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE d."DeviceId" = @__deviceId_0 AND d."Status" IN ('Pending', 'Dispatched') Sep 22 13:53:15 ubuntu dotnet[4147723]: ORDER BY d."CreatedAt" Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Device dev_59e35e79 connected with 1 pending command(s) to catch up. Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (1ms) [Parameters=[@__commandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 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 22 13:53:15 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE d."Id" = @__commandId_0 Sep 22 13:53:15 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:53:15 ubuntu dotnet[4147723]: [13:53:15 INF] Executed DbCommand (1ms) [Parameters=[@p1='?', @p0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:15 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "Status" = @p0 Sep 22 13:53:15 ubuntu dotnet[4147723]: WHERE "Id" = @p1; Sep 22 13:53:16 ubuntu dotnet[4147723]: [13:53:16 INF] Executed DbCommand (1ms) [Parameters=[@__result_CommandId_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:16 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 22 13:53:16 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:16 ubuntu dotnet[4147723]: WHERE d."Id" = @__result_CommandId_0 Sep 22 13:53:16 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:53:16 ubuntu dotnet[4147723]: [13:53:16 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 22 13:53:16 ubuntu dotnet[4147723]: UPDATE "DeviceCommands" SET "CompletedAt" = @p0, "DurationMs" = @p1, "ResultCode" = @p2, "ResultMessage" = @p3, "StartedAt" = @p4, "Status" = @p5 Sep 22 13:53:16 ubuntu dotnet[4147723]: WHERE "Id" = @p6; Sep 22 13:53:16 ubuntu dotnet[4147723]: [13:53:16 INF] Recorded execution result for Command cmd_e1eed8c1f85f47c9b390e335519e85d0 (Device dev_59e35e79): Status=Succeeded, ResultCode=0, Duration=354ms Sep 22 13:53:23 ubuntu dotnet[4147723]: [13:53:23 INF] Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:23 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 22 13:53:23 ubuntu dotnet[4147723]: FROM "DeviceCommands" AS d Sep 22 13:53:23 ubuntu dotnet[4147723]: WHERE d."Status" IN ('Pending', 'Dispatched') Sep 22 13:53:23 ubuntu dotnet[4147723]: [13:53:23 INF] Executed DbCommand (1ms) [Parameters=[@__p_0='?'], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:23 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 22 13:53:23 ubuntu dotnet[4147723]: FROM "Devices" AS d Sep 22 13:53:23 ubuntu dotnet[4147723]: WHERE d."Id" = @__p_0 Sep 22 13:53:23 ubuntu dotnet[4147723]: LIMIT 1 Sep 22 13:53:23 ubuntu dotnet[4147723]: [13:53:23 INF] Executed DbCommand (1ms) [Parameters=[@p1='?', @p0='?' (DbType = DateTime)], CommandType='Text', CommandTimeout='30'] Sep 22 13:53:23 ubuntu dotnet[4147723]: UPDATE "Devices" SET "LastHeartbeatAt" = @p0 Sep 22 13:53:23 ubuntu dotnet[4147723]: WHERE "Id" = @p1;