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:
sql query execution error: DECLARE @product_id uniqueidentifier = NULL SELECT TOP 1 @product_id=uuid FROM [Product] prd WHERE public_id=N'6JX2BNYU' AND prd.owner=N'2DCB46AB-17F5-44CF-9171-E283A4AB6D67' AND prd.is_archived=0 AND prd.is_deleted=0 AND prd.active_for_webshop=1 IF (@product_id IS NOT NULL) BEGIN SELECT *, (SELECT COUNT(*) FROM WebShopStarred WHERE product_id=@product_id AND is_favorite=1) AS like_count FROM [Product] WHERE uuid=@product_id SELECT prdVar.uuid, prdVar.product_id, prdVar.sku, prdVar.sku_prefix, prdVar.sku_suffix, prdVar.discount, prdVar.sell_price, prdVar.sell_price2, prdVar.sell_price3, prdVar.option1_id, prdVar.option_value1_id, prdVar.option2_id, prdVar.option_value2_id, IIF(prd.is_available_on_webshop=0, 0, IIF(prdVarStock._stock < prdVar.min_purchase_quantity, 0, prdVarStock._stock)) stock, prdVar.min_purchase_quantity, prdVar.max_purchase_quantity, opt1 .name AS option1_name , opt1 .ty {"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'pardemarket.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.