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:3520) [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:

            
            SELECT TOP 1 grp.*,
                media.url logo_media_url,
                [plan].max_users AS max_users,
                storage.value AS storage_capacity,
                bandwidth.value AS bandwidth_capacity,
                webshop.fa_title AS webshop_plan_title_fa, webshop.en_title AS webshop_plan_title_en,
                webshop.fa_short_desc AS webshop_plan_short_desc_fa, webshop.en_short_desc AS webshop_plan_short_desc_en,
                stg.uuid AS workgroup_setting_id
            FROM Workgroup grp
            LEFT JOIN Media             [media]   ON [media]  .uuid = grp.logo_media_id AND media.is_deleted=0
            LEFT JOIN KalabanPlan       [plan]    ON [plan]   .name = grp.plan_name
            LEFT JOIN KalabanPlanConfig storage   ON storage  .name = grp.storage_plan
            LEFT JOIN KalabanPlanConfig bandwidth ON bandwidth.name = grp.bandwidth_plan
            LEFT JOIN KalabanPlanConfig webshop   ON webshop  .name = grp.webshop_plan
          

            {}
        
unhandledRejection: Error: operation timed out for an unknown reason
sql query execution error:

            SELECT TOP 1 * FROM [WorkgroupMemberPermission] 
                    WHERE [workgroup_member_id]=N'53E088CA-6D25-4ACE-91E7-655E65D2EF22'

            {}
        
TimeoutError: operation timed out for an unknown reason
    at C:\inetpub\TX_Kalaban\node_modules\tarn\dist\PendingOperation.js:17:27
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
sql query execution error:

            
            SELECT * FROM Directory
            WHERE owner=N'33972FAF-6CF8-4FC7-8E12-A04C55B56CCE' AND is_deleted=0
            ORDER BY name ASC
        

            {}
        
unhandledRejection: Error: operation timed out for an unknown reason
sql query execution error:

            SELECT TOP 1 * FROM [Webshop] 
                    WHERE [owner]=N'9F4806DC-9855-4795-8B56-C35E20C693D3'

            {}
        
TimeoutError: operation timed out for an unknown reason
    at C:\inetpub\TX_Kalaban\node_modules\tarn\dist\PendingOperation.js:17:27
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
unhandledRejection: Error: operation timed out for an unknown reason