iisnode encountered an error when processing the request.

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:

An error occured in portraits/index Error: certificate has expired
(node:4628) [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)

 WARN  Cannot stringify a function transformRequest

 WARN  Cannot stringify a function transformResponse

 WARN  Cannot stringify a function httpAdapter

 WARN  Cannot stringify a function validateStatus

 WARN  Cannot stringify arbitrary non-POJOs Writable

 WARN  Cannot stringify a function toJSON

Application has thrown an uncaught exception and is terminated:
FetchError: request to https://ws-agit.cdtl32.com/EpTourismsheets.aspx failed, reason: certificate has expired
    at ClientRequest.<anonymous> (D:\plesk\tourisme-gers.com\httpdocs\node_modules\node-fetch\lib\index.js:1491:11)
    at ClientRequest.emit (node:events:527:28)
    at ClientRequest.emit (node:domain:475:12)
    at TLSSocket.socketErrorListener (node:_http_client:454:9)
    at TLSSocket.emit (node:events:527:28)
    at TLSSocket.emit (node:domain:475:12)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)