iisnode encountered an error when processing the request.

HRESULT: 0x2
HTTP status: 500
HTTP subStatus: 1002
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:38464) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:38464) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:42 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (1)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:45 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (2)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:48 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (3)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:51 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (4)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:54 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (5)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:44:57 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (6)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:45:00 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (7)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:45:03 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (8)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:45:06 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[TypeOrmModule] [x1B][39m[x1B][31mUnable to connect to the database. Retrying (9)...[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
[x1B][31m[Nest] 38464  - [x1B][39m08/18/2026, 12:45:06 PM [x1B][31m  ERROR[x1B][39m [x1B][38;5;3m[ExceptionHandler] [x1B][39m[x1B][31mFailed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca[x1B][39m
ConnectionError: Failed to connect to 15.235.145.33:1433 - self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\mssql\lib\tedious\connection-pool.js:85:17
    at Connection.onConnect (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:838:9)
    at Object.onceWrapper (node:events:623:26)
    at Connection.emit (node:events:508:28)
    at Connection.emit (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:959:18)
    at Connection.socketError (C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:1340:12)
    at C:\inetpub\wwwroot\ClinicAPITest(nest)\node_modules\tedious\lib\connection.js:2242:25
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)