iisnode encountered an error when processing the request.
HRESULT: 0xe8 HTTP status: 500 HTTP subStatus: 1004 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:
Unable to connect to db ConnectionError [SequelizeConnectionError]: no pg_hba.conf entry for host "10.2.1.4", user "postgres", database "mview", no encryption at Client._connectionCallback (F:\sites\production\api\node_modules\sequelize\lib\dialects\postgres\connection-manager.js:145:24) at Client._handleErrorWhileConnecting (F:\sites\production\api\node_modules\pg\lib\client.js:305:19) at Client._handleErrorMessage (F:\sites\production\api\node_modules\pg\lib\client.js:325:19) at Connection.emit (node:events:507:28) at F:\sites\production\api\node_modules\pg\lib\connection.js:114:12 at Parser.parse (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:40:17) at Socket.<anonymous> (F:\sites\production\api\node_modules\pg-protocol\dist\index.js:11:42) at Socket.emit (node:events:507:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) { parent: error: no pg_hba.conf entry for host "10.2.1.4", user "postgres", database "mview", no encryption at Parser.parseErrorMessage (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:287:98) at Parser.handlePacket (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:126:29) at Parser.parse (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:39:38) at Socket.<anonymous> (F:\sites\production\api\node_modules\pg-protocol\dist\index.js:11:42) at Socket.emit (node:events:507:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TCP.onStreamRead (node:internal/stream_base_commons:189:23) { length: 153, severity: 'FATAL', code: '28000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'auth.c', line: '540', routine: 'ClientAuthentication' }, original: error: no pg_hba.conf entry for host "10.2.1.4", user "postgres", database "mview", no encryption at Parser.parseErrorMessage (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:287:98) at Parser.handlePacket (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:126:29) at Parser.parse (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:39:38) at Socket.<anonymous> (F:\sites\production\api\node_modules\pg-protocol\dist\index.js:11:42) at Socket.emit (node:events:507:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3) at Readable.push (node:internal/streams/readable:390:5) at TCP.onStreamRead (node:internal/stream_base_commons:189:23) { length: 153, severity: 'FATAL', code: '28000', detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'auth.c', line: '540', routine: 'ClientAuthentication' } } (node:9844) [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) Application has thrown an uncaught exception and is terminated: SequelizeConnectionError: no pg_hba.conf entry for host "10.2.1.4", user "postgres", database "mview", no encryption at Client._connectionCallback (F:\sites\production\api\node_modules\sequelize\lib\dialects\postgres\connection-manager.js:145:24) at Client._handleErrorWhileConnecting (F:\sites\production\api\node_modules\pg\lib\client.js:305:19) at Client._handleErrorMessage (F:\sites\production\api\node_modules\pg\lib\client.js:325:19) at Connection.emit (node:events:507:28) at F:\sites\production\api\node_modules\pg\lib\connection.js:114:12 at Parser.parse (F:\sites\production\api\node_modules\pg-protocol\dist\parser.js:40:17) at Socket.<anonymous> (F:\sites\production\api\node_modules\pg-protocol\dist\index.js:11:42) at Socket.emit (node:events:507:28) at addChunk (node:internal/streams/readable:559:12) at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)