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:8372) [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) sql query execution error: WITH InStockProducts AS ( SELECT product_id FROM F_Product_Stock_For_Webshop(N'5DBA1BE8-6A5F-45D9-84EA-2C8146900765') WHERE _stock > 0 ) SELECT COUNT(*) AS _count FROM Product JOIN InStockProducts ON Product.uuid = InStockProducts.product_id WHERE Product.is_deleted = 0 AND Product.owner = N'5DBA1BE8-6A5F-45D9-84EA-2C8146900765' AND active_for_webshop=1 AND is_archived=0 {"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":""} unhandledRejection: RequestError: Query timeout expired sql query execution error: BEGIN TRY UPDATE productvariation SET is_deleted=1, changed_at=IIF(1741711361697>changed_at, 1741711361697, changed_at), sync_ver=1741717816215 WHERE uuid='83A3388E-C8CD-4CB7-9A7B-C5A6E765637E' AND changed_at<1741711361697 END TRY BEGIN CATCH END CATCH BEGIN TRY UPDATE productvariation SET [product_id]=N'11ad01bc-3c8b-406b-9d2e-7e61bcdde5a4', [buy_price]=0, [sell_price]=61000000, [discount]=0, [sell_price2]=0, [sell_price3]=0, [sku]=N'KLB10536', [sku_prefix]=N'KLB', [sku_suffix]=N'10536', [barcode]=N'', [option1_id]=NULL, [option_value1_id]=NULL, [option2_id]=NULL, [option_value2_id]=NULL, [min_purchase_quantity]=0, [max_purchase_quantity]=0, [commission1]=0, [commission2]=0, is_deleted=0, changed_at=IIF(1741711350908>changed_at, 1741711350908, changed_at), sync_ver=1741717816215 WHERE uuid='A0F2E9C5-3247-45A6-8FB3-C86F94B842A0' AND changed_at<1741711350908 END TRY BEGIN CATCH END CATCH BEGIN TRY UPDATE productvariation SET [product_id]=N'89ab07ef-c082-41f5-a6a2-de786506 {"code":"ENOTOPEN","name":"ConnectionError"} cannot update bulk ConnectionError: Connection is closing at ConnectionPool._acquire (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\connection-pool.js:382:36) at ConnectionPool.acquire (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\base\connection-pool.js:366:56) at Immediate.<anonymous> (C:\inetpub\TX_Kalaban\node_modules\mssql\lib\msnodesqlv8\request.js:354:19) at process.processImmediate (node:internal/timers:478:21) { code: 'ENOTOPEN' }