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:3928) [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 <WebshopCart>
failed to udpate any row of <WebshopCart>
sql query execution error:
SELECT webCart.*,
                prd.title, prd.description, prd.public_id, prd.warehouse_address, prd.brand, prd.is_virtual, prd.weight,
                prd.unit, prd.tag_festival, prd.tag_new, prd.directory_id, prd.is_available_on_webshop, prd.active_for_webshop,
                prdVar.sell_price, prdVar.sell_price2, prdVar.sell_price3, prdVar.discount, prdVar.sku, prdVar.sku_prefix, prdVar.sku_suffix, prdVar.min_purchase_quantity, prdVar.max_purchase_quantity,
                IIF(prd.is_available_on_webshop=0, 0, prdVarStock._stock) AS [stock],
                opt1.name option1_name, opt1.type option1_type, optVal1.name optionValue1_name, optVal1.value_order optionValue1_val,
                opt2.name option2_name, opt2.type option2_type, optVal2.name optionValue2_name, optVal2.value_order optionValue2_val,
                (SELECT TOP 1 url FROM Media WHERE is_cover=1 AND is_deleted=0 AND type='product_pic' AND Media.product_id = prd.uuid) cover_image
            FROM [WebshopCart] AS webCart
            LEFT JOIN F_ProductVariation_Stock_For_Webshop(N'93D2D0C4-FB1A-475F-8717-BF6312CA5BF3') AS prdVarStock ON prdVarStock.product_variation_id = webCart.product_variation_id
            LEFT JOIN ProductVariation  AS prdVar   ON prdVar .uuid = webCart.product_variation_id
            LEFT JOIN Product           AS prd      ON prd    .uuid = prdVar.product_id
            LEFT JOIN Options           AS opt1     ON opt1   .uuid = prdVar.option1_id
            LEFT JOIN OptionValues      AS optVal1  ON optVal1.uuid = prdVar.option_value1_id
            LEFT JOIN Options           AS opt2     ON opt2   .uuid = prdVar.option2_id
            LEFT JOIN OptionValues      AS optVal2  ON optVal2.uuid = prdVar.option_value2_id
            WHERE
                
                webCart.cookie              = N'MMDqOPZvT4Es2MVZ' AND
                
                webCart.webshop_id          = N'A052A85C-E2B3-4CCC-88F7-8C56A0A8FC5B' AND
                prd.is_deleted=0 AND prdVar.is_deleted=0 --AND active_for_webshop=1
            ORDER BY webCart.created_at DESC
{"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:
SELECT TOP 1 * FROM [Webshop] 
                    WHERE [private_domain]=N'yazdketab.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.
sql query execution error:
SELECT TOP 1 * FROM [Webshop] 
                    WHERE [private_domain]=N'cocokish.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.
sql query execution error:
SELECT webCart.*,
                prd.title, prd.description, prd.public_id, prd.warehouse_address, prd.brand, prd.is_virtual, prd.weight,
                prd.unit, prd.tag_festival, prd.tag_new, prd.directory_id, prd.is_available_on_webshop, prd.active_for_webshop,
                prdVar.sell_price, prdVar.sell_price2, prdVar.sell_price3, prdVar.discount, prdVar.sku, prdVar.sku_prefix, prdVar.sku_suffix, prdVar.min_purchase_quantity, prdVar.max_purchase_quantity,
                IIF(prd.is_available_on_webshop=0, 0, prdVarStock._stock) AS [stock],
                opt1.name option1_name, opt1.type option1_type, optVal1.name optionValue1_name, optVal1.value_order optionValue1_val,
                opt2.name option2_name, opt2.type option2_type, optVal2.name optionValue2_name, optVal2.value_order optionValue2_val,
                (SELECT TOP 1 url FROM Media WHERE is_cover=1 AND is_deleted=0 AND type='product_pic' AND Media.product_id = prd.uuid) cover_image
            FROM [WebshopCart] AS webCart
            LEFT JOIN F_ProductVariation_Stock_For_Webshop(N'93D2D0C4-FB1A-475F-8717-BF6312CA5BF3') AS prdVarStock ON prdVarStock.product_variation_id = webCart.product_variation_id
            LEFT JOIN ProductVariation  AS prdVar   ON prdVar .uuid = webCart.product_variation_id
            LEFT JOIN Product           AS prd      ON prd    .uuid = prdVar.product_id
            LEFT JOIN Options           AS opt1     ON opt1   .uuid = prdVar.option1_id
            LEFT JOIN OptionValues      AS optVal1  ON optVal1.uuid = prdVar.option_value1_id
            LEFT JOIN Options           AS opt2     ON opt2   .uuid = prdVar.option2_id
            LEFT JOIN OptionValues      AS optVal2  ON optVal2.uuid = prdVar.option_value2_id
            WHERE
                
                webCart.cookie              = N'MMDqOPZvT4Es2MVZ' AND
                
                webCart.webshop_id          = N'A052A85C-E2B3-4CCC-88F7-8C56A0A8FC5B' AND
                prd.is_deleted=0 AND prdVar.is_deleted=0 --AND active_for_webshop=1
            ORDER BY webCart.created_at DESC
{"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