iisnode encountered an error when processing the request.
HRESULT: 0x6d HTTP status: 500 HTTP subStatus: 1013 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
(node:12732) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `node --trace-deprecation ...` to show where the warning was created) failed to udpate any row of <Media> failed to udpate any row of <Media> failed to udpate any row of <Media> failed to udpate any row of <Media> failed to udpate any row of <Media> sql query execution error: BEGIN TRY INSERT INTO orderdetails (uuid, [title], [order_id], [product_variation_id], [warehouse_id], [quantity], [unit], [unit2], [quantity_coef], [is_unit2_default], [price], [discount], [has_tax], [sequence], [description], [price_class], [created_at], changed_at, sync_ver, owner) VALUES ('933DB1D6-E606-4EA3-8AC4-CECB08ED567A', N'شورت نخی گیپوری', N'15e18067-8a2f-4309-afa1-f1a4416f99d2', N'e1eb4679-c74c-46e6-b2c3-a611b42eca70', N'00960542-5582-477d-bc9c-ba7e4405fc66', 6, N'عدد', NULL, 1, 0, 85000, 0, 0, 0, NULL, 0, 1732188178677, 1732188178866, 1732188190155, '57B24FA7-7FD8-4DC1-B406-4CC46170C405') END TRY BEGIN CATCH DECLARE @error_message_0 varchar(max) = ERROR_MESSAGE() EXEC INSERT_MISSING_PKS_BY_ERROR_MESSAGE @error_message_0, N'{"uuid":"933DB1D6-E606-4EA3-8AC4-CECB08ED567A","title":"شورت نخی گیپوری","order_id":"15e18067-8a2f-4309-afa1-f1a4416f99d2","warehouse_id":"00960542-5582-477d-bc9c-ba7e4405fc66","product_variation_id":"e1eb4679-c74c-46e6-b2c3-a611b42eca70","quantity":6,"price":85000,"discount":0,"unit":"عدد","unit2":null,"quantity_coef":1,"is_unit2_default":0,"price_class":0,"has_tax":0,"sequence":0,"description":null,"created_at":1732188178677,"changed_at":1732188178866,"sync_ver":1732188190155,"is_deleted":0}', '57B24FA7-7FD8-4DC1-B406-4CC46170C405' END CATCH BEGIN TRY INSERT INTO orderdetails (uuid, [title], [order_id], [product_variation_id], [warehouse_id], [quantity], [unit], [unit2], [quantity_coef], [is_unit2_default], [price], [discount], [has_tax], [sequence], [description], [price_class], [created_at], changed_at, sync_ver, owner) VALUES ('5732597E-2133-4809-B09D-9AE6E8779C87', N'شورت نخی گیپوری', N'15e18067-8a2f-4309-afa1-f1a4416f99d2', N'15996efc-468a-4306-b68c-5b848afe7177', N'00960542-5582-477d-bc9c-ba7e4405fc66', 7, N'عدد', NULL, 1, 0, 85000, 0, 0, 0, NULL, 0, 1732188178676, 1732188178840, 1732188190155, '57B24FA7-7FD8-4DC1-B406-4CC46170C405') END TRY BEGIN CATCH DECLARE @error_message_1 varchar(max) = ERROR_MESSAGE() EXEC INSERT_MISSING_PKS_BY_ERROR_MESSAGE @error_message_1, N'{"uuid":"5732597E-2133-4809-B09D-9AE6E8779C87","title":"شورت نخی گیپوری","order_id":"15e18067-8a2f-4309-afa1-f1a4416f99d2","warehouse_id":"00960542-5582-477d-bc9c-ba7e4405fc66","product_variation_id":"15996efc-468a-4306-b68c-5b848afe7177","quantity":7,"price":85000,"discount":0,"unit":"عدد","unit2":null,"quantity_coef":1,"is_unit2_default":0,"price_class":0,"has_tax":0,"sequence":0,"description":null,"created_at":1732188178676,"changed_at":1732188178840,"sync_ver":1732188190155,"is_deleted":0}', '57B24FA7-7FD8-4DC1-B406-4CC46170C405' END CATCH BEGIN TRY INSERT INTO orderdetails (uuid, [title], [order_id], [product_variation_id], [warehouse_id], [quantity], [unit], [unit2], [quantity_coef], [is_unit2_default], [price], [discount], [has_tax], [sequence], [description], [price_class], [created_at], changed_at, sync_ver, owner) VALUES ('4D014A23-D309-46AC-A602-E941CF43570A', N'شورت نخی گیپوری', N'15e18067-8a2f-4309-afa1-f1a4416f99d2', N'c49a0cfa-3aa4-4795-b638-5c203f3df834', N'00960542-5582-477d-bc9c-ba7e4405fc66', 7, N'عدد', NULL, 1, 0, 85000, 0, 0, 0, NULL, 0, 1732188178673, 1732188178813, 1732188190155, '57B24FA7-7FD8-4DC1-B406-4CC46170C405') END TRY BEGIN CATCH DECLARE @error_message_2 varchar(max) = ERROR_MESSAGE() EXEC INSERT_MISSING_PKS_BY_ERROR_MESSAGE @error_message_2, N'{"uuid":"4D014A23-D309-46AC-A602-E941CF43570A","title":"شورت نخی گیپوری","order_id":"15e18067-8a2f-4309-afa1-f1a4416f99d2","warehouse_id":"00960542-5582-477d-bc9c-ba7e4405fc66","product_variation_id":"c49a0cfa-3aa4-4795-b638-5c203f3df834","quantity":7,"price":85000,"discount":0,"unit":"عدد","unit2":null,"quantity_coef":1,"is_unit2_default":0,"price_class":0,"has_tax":0,"sequence":0,"description":null,"created_at":1732188178673,"changed_at":1732188178813,"sync_ver":1732188190155,"is_deleted":0}', '57B24FA7-7FD8-4DC1-B406-4CC46170C405' END CATCH BEGIN TRY INSERT INTO orderdetails (uuid, [title], [order_id], [product_variation_id], [warehouse_id], [quantity], [unit], [unit2], [quantity_coef], [is_unit2_default], [price], [discount], [has_tax], [sequence], [description], [price_class], [created_at], changed_at, sync_ver, owner) VALUES ('3C1A334B-F86A-49E5-BFE5-1CD538CA7797', N'شورت نخی گیپوری', N'15e18067-8a2f-4309-afa1-f1a4416f99d2', N'8f5dae1d-e41a-4259-a88e-60bf44572a2e', N'00960542-5582-477d-bc9c-ba7e4405fc66', 8, N'عدد', NULL, 1, 0, 85000, 0, 0, 0, NULL, 0, 1732188178672, 1732188178782, 1732188190155, '57B24FA7-7FD8-4DC1-B406-4CC46170C405') END TRY BEGIN CATCH DECLARE @error_message_3 varchar(max) = ERROR_MESSAGE() EXEC INSERT_MISSING_PKS_BY_ERROR_MESSAGE @error_message_3, N'{"uuid":"3C1A334B-F86A-49E5-BFE5-1CD538CA7797","title":"شورت نخی گیپوری","order_id":"15e18067-8a2f-4309-afa1-f1a4416f99d2","warehouse_id":"00960542-5582-477d-bc9c-ba7e4405fc66","product_variation_id":"8f5dae1d-e41a-4259-a88e-60bf44572a2e","quantity":8,"price":85000,"discount":0,"unit":"عدد","unit2":null,"quantity_coef":1,"is_unit2_default":0,"price_class":0,"has_tax":0,"sequence":0,"description":null,"created_at":1732188178672,"changed_at":1732188178782,"sync_ver":1732188190155,"is_deleted":0}', '57B24FA7-7FD8-4DC1-B406-4CC46170C405' END CATCH BEGIN TRY INSERT INTO orderdetails (uuid, [title], [order_id], [product_variation_id], [warehouse_id], [quantity], [unit], [unit2], [quantity_coef], [is_unit2_default], [price], [discount], [has_tax], [sequence], [description], [price_class], [created_at], changed_at, sync_ver, owner) VALUES ('3E2C20A9-4B0C-4124-8DF3-7156D4712526', N'شورت نخی گیپوری', N'15e18067-8a2f-4309-afa1-f1a4416f99d2', N'cf138cd0-ff0d-4e15-b238-d6f62d740370', N'00960542-5582-477d-bc9c-ba7e4405fc66', 8, N'عدد', NULL, 1, 0, 85000, 0, 0, 0, NULL, 0, 1732188178670, 1732188178749, 1732188190155, '57B24FA7-7FD8-4DC1-B406-4CC46170C405') END TRY BEGIN CATCH DECLARE @error_message_4 varchar(max) = ERROR_MESSAGE() EXEC INSERT_MISSING_PKS_BY_ERROR_MESSAGE @error_message_4, N'{"uuid":"3E2C20A9-4B0C-4124-8DF3-7156D4712526","title":"شورت نخی گیپوری","order_id":"15e18067-8a2f-4309-afa1-f1a4416f99d2","warehouse_id":"00960542-5582-477d-bc9c-ba7e4405fc66","product_variation_id":"cf138cd0-ff0d-4e15-b238-d6f62d740370","quantity":8,"price":85000,"discount":0,"unit":"عدد","unit2":null,"quantity_coef":1,"is_unit2_default":0,"price_class":0,"has_tax":0,"sequence":0,"description":null,"created_at":1732188178670,"changed_at":1732188178749,"sync_ver":1732188190155,"is_deleted":0}', '57B24FA7-7FD8-4DC1-B406-4CC46170C405' END CATCH {"code":"EREQUEST","originalError":{"sqlstate":"HYT00","code":0,"severity":0,"serverName":"","procName":"","lineNumber":0},"name":"RequestError","number":0,"lineNumber":0,"state":"HYT00","class":0,"serverName":"","procName":""} cannot insert bulk RequestError: Query timeout expired at handleError (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:276:21) at StreamEvents.emit (node:events:514:28) at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:83:20 at Array.forEach (<anonymous>) at Query.routeStatementError (C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:73:19) at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\reader.js:239:12 at C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\driver.js:191:13 at Immediate.<anonymous> (C:\inetpub\TX_Kalaban\node_modules\msnodesqlv8\lib\driver.js:167:9) at process.processImmediate (node:internal/timers:478:21) { code: 'EREQUEST', originalError: [Error: [Microsoft][SQL Server Native Client 11.0]Query timeout expired] { sqlstate: 'HYT00', code: 0, severity: 0, serverName: '', procName: '', lineNumber: 0 }, number: 0, lineNumber: 0, state: 'HYT00', class: 0, serverName: '', procName: '' } sql query execution error: SELECT TOP 1 * FROM [Webshop] WHERE [private_domain]=N'mobosood.com' {"code":"ECONNCLOSED","name":"ConnectionError"} ConnectionError: Connection is closed. at Request._query (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\request.js:497:37) at Request._query (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:248:11) at C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\request.js:461:12 at new Promise (<anonymous>) at Request.query (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\request.js:460:12) at ConnectionPool.query (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\connection-pool.js:607:84) at exports.executeQuery (C:\inetpub\TX_Kalaban\library\dbManager.js:14:27) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:449:9) at async Webshop.selectTop1By (C:\inetpub\TX_Kalaban\components\dao.js:200:32) { code: 'ECONNCLOSED' } unhandledRejection: ConnectionError: Connection is closed.