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:

Warning: For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Run 'yarn add sharp', and Next.js will use it automatically for Image Optimization.
Read more: https://nextjs.org/docs/messages/sharp-missing-in-production
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"]
    at ServerResponse.setHeader (node:_http_outgoing:662:3)
    at NodeNextResponse.setHeader (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\node.js:61:19)
    at NodeNextResponse.redirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\index.js:26:14)
    at handleRedirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:577:17)
    at NextNodeServer.renderToResponseWithComponents (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:845:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NextNodeServer.renderPageComponent (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:901:24)
    at async NextNodeServer.renderToResponse (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:930:36)
    at async NextNodeServer.getStaticHTML (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:391:25)
    at async E:\WEB\oz_landing\server.js:54:15 {
  code: 'ERR_INVALID_CHAR'
}
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"]
    at ServerResponse.setHeader (node:_http_outgoing:662:3)
    at NodeNextResponse.setHeader (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\node.js:61:19)
    at NodeNextResponse.redirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\index.js:26:14)
    at handleRedirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:577:17)
    at NextNodeServer.renderToResponseWithComponents (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:845:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NextNodeServer.renderPageComponent (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:901:24)
    at async NextNodeServer.renderToResponse (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:930:36)
    at async NextNodeServer.getStaticHTML (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:391:25)
    at async E:\WEB\oz_landing\server.js:54:15 {
  code: 'ERR_INVALID_CHAR'
}
Warning: data for page "/article/[url]" (path "/article/kak-cifrovye-servisy-pomogayut-shkol-nikam-osvaivat-metodologiyu-eksperimenta") is 1.17 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/article/[url]" (path "/article/leto-pedagoga-uchebnyj-god-zakonchilsya-chto-dal-she") is 2.91 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/article/[url]" (path "/article/nestandartnyj-podhod-v-izuchenii-slozhnyh-tem-po-biologii-s-servisom-oblako-znanij") is 774 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/article/[url]" (path "/article/virtual-nyj-praktikum-ili-zhivaya-laboratornaya-chto-vybrat-uchitelyu") is 1.91 MB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"]
    at ServerResponse.setHeader (node:_http_outgoing:662:3)
    at NodeNextResponse.setHeader (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\node.js:61:19)
    at NodeNextResponse.redirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\index.js:26:14)
    at handleRedirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:577:17)
    at NextNodeServer.renderToResponseWithComponents (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:845:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NextNodeServer.renderPageComponent (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:901:24)
    at async NextNodeServer.renderToResponse (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:930:36)
    at async NextNodeServer.getStaticHTML (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:391:25)
    at async E:\WEB\oz_landing\server.js:54:15 {
  code: 'ERR_INVALID_CHAR'
}
RequestError: Timeout: Request failed to complete in 15000ms
    at E:\WEB\oz_landing\node_modules\mssql\lib\tedious\request.js:449:19
    at Array.forEach (<anonymous>)
    at Request.userCallback (E:\WEB\oz_landing\node_modules\mssql\lib\tedious\request.js:446:46)
    at Request.callback (E:\WEB\oz_landing\node_modules\tedious\lib\request.js:205:14)
    at E:\WEB\oz_landing\node_modules\tedious\lib\connection.js:2866:24
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ETIMEOUT',
  originalError: RequestError: Timeout: Request failed to complete in 15000ms
      at Connection.requestTimeout (E:\WEB\oz_landing\node_modules\tedious\lib\connection.js:1279:21)
      at Timeout._onTimeout (E:\WEB\oz_landing\node_modules\tedious\lib\connection.js:1231:14)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    code: 'ETIMEOUT',
    number: undefined,
    state: undefined,
    class: undefined,
    serverName: undefined,
    procName: undefined,
    lineNumber: undefined
  },
  number: 'ETIMEOUT',
  lineNumber: undefined,
  state: undefined,
  class: undefined,
  serverName: undefined,
  procName: undefined,
  precedingErrors: []
}
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Location"]
    at ServerResponse.setHeader (node:_http_outgoing:662:3)
    at NodeNextResponse.setHeader (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\node.js:61:19)
    at NodeNextResponse.redirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-http\index.js:26:14)
    at handleRedirect (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:577:17)
    at NextNodeServer.renderToResponseWithComponents (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:845:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async NextNodeServer.renderPageComponent (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:901:24)
    at async NextNodeServer.renderToResponse (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:930:36)
    at async NextNodeServer.getStaticHTML (E:\WEB\oz_landing\node_modules\next\dist\server\base-server.js:391:25)
    at async E:\WEB\oz_landing\server.js:54:15 {
  code: 'ERR_INVALID_CHAR'
}