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:23256) [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) ERROR Error: Uncaught (in promise): HttpErrorResponse: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":200,"statusText":"OK","url":"https://mg.by/assets/config/app-settings.json","ok":false,"name":"HttpErrorResponse","message":"Http failure during parsing for https://mg.by/assets/config/app-settings.json","error":{"error":{},"text":"<p>iisnode encountered an error when processing the request.</p><pre style=\"background-color: eeeeee\">HRESULT: 0x6d\nHTTP status: 500\nHTTP subStatus: 1013\nHTTP reason: Internal Server Error</pre><p>You are receiving this HTTP 200 response because <a href=https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config>system.webServer/iisnode/@devErrorsEnabled</a> configuration setting is 'true'.</p><p>In addition to the log of stdout and stderr of the node.exe process, consider using <a href=http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html>debugging</a> and <a href=http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html>ETW traces</a> to further diagnose the problem.</p><p>The last 64k of the output generated by the node.exe process to stderr is shown below:</p><pre style=\"background-color: eeeeee\">(node:23256) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n(Use `node --trace-deprecation ...` to show where the warning was created)\r\n"}} at resolvePromise (D:\inetpub\mg.by2\main.js:1:2682811) at resolvePromise (D:\inetpub\mg.by2\main.js:1:2681752) at D:\inetpub\mg.by2\main.js:1:2684402 at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430) at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222) at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320) at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995) at drainMicroTaskQueue (D:\inetpub\mg.by2\main.js:1:2677038) at ZoneTask.invokeTask (D:\inetpub\mg.by2\main.js:1:2675079) at ZoneTask.options.useG.invoke (D:\inetpub\mg.by2\main.js:1:2674844) { rejection: HttpErrorResponse { headers: HttpHeaders { normalizedNames: Map(0) {}, lazyUpdate: null, lazyInit: [Function (anonymous)] }, status: 200, statusText: 'OK', url: 'https://mg.by/assets/config/app-settings.json', ok: false, name: 'HttpErrorResponse', message: 'Http failure during parsing for https://mg.by/assets/config/app-settings.json', error: { error: SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at XMLHttpRequest.onLoad (D:\inetpub\mg.by2\main.js:1:1047555) at XMLHttpRequest.dispatchEvent (D:\inetpub\mg.by2\main.js:1:2415166) at XMLHttpRequest._dispatchProgress (D:\inetpub\mg.by2\main.js:1:2423380) at XMLHttpRequest._onHttpResponseEnd (D:\inetpub\mg.by2\main.js:1:2422489) at IncomingMessage.<anonymous> (D:\inetpub\mg.by2\main.js:1:2421595) at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673430) at Object.onInvokeTask (D:\inetpub\mg.by2\main.js:1:812222) at ZoneDelegate.invokeTask (D:\inetpub\mg.by2\main.js:1:2673320) at Zone.runTask (D:\inetpub\mg.by2\main.js:1:2665995), text: '<p>iisnode encountered an error when processing the request.</p><pre style="background-color: eeeeee">HRESULT: 0x6d\n' + 'HTTP status: 500\n' + 'HTTP subStatus: 1013\n' + `HTTP reason: Internal Server Error</pre><p>You are receiving this HTTP 200 response because <a href=https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config>system.webServer/iisnode/@devErrorsEnabled</a> configuration setting is 'true'.</p><p>In addition to the log of stdout and stderr of the node.exe process, consider using <a href=http://tomasz.janczuk.org/2011/11/debug-nodejs-applications-on-windows.html>debugging</a> and <a href=http://tomasz.janczuk.org/2011/09/using-event-tracing-for-windows-to.html>ETW traces</a> to further diagnose the problem.</p><p>The last 64k of the output generated by the node.exe process to stderr is shown below:</p><pre style="background-color: eeeeee">(node:23256) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\r\n` + '(Use `node --trace-deprecation ...` to show where the warning was created)\r\n' } }, promise: ZoneAwarePromise [Promise] { __zone_symbol__state: 0, __zone_symbol__value: HttpErrorResponse { headers: [HttpHeaders], status: 200, statusText: 'OK', url: 'https://mg.by/assets/config/app-settings.json', ok: false, name: 'HttpErrorResponse', message: 'Http failure during parsing for https://mg.by/assets/config/app-settings.json', error: [Object] } }, zone: <ref *1> Zone { _parent: Zone { _parent: null, _name: '<root>', _properties: {}, _zoneDelegate: [ZoneDelegate] }, _name: 'angular', _properties: { isAngularZone: true }, _zoneDelegate: <ref *2> ZoneDelegate { _taskCounts: [Object], zone: [Circular *1], _parentDelegate: [ZoneDelegate], _forkZS: null, _forkDlgt: null, _forkCurrZone: null, _interceptZS: null, _interceptDlgt: null, _interceptCurrZone: null, _invokeZS: [Object], _invokeDlgt: [ZoneDelegate], _invokeCurrZone: [Circular *1], _handleErrorZS: [Object], _handleErrorDlgt: [ZoneDelegate], _handleErrorCurrZone: [Circular *1], _scheduleTaskZS: [Object], _scheduleTaskDlgt: [ZoneDelegate], _scheduleTaskCurrZone: [Circular *1], _invokeTaskZS: [Object], _invokeTaskDlgt: [ZoneDelegate], _invokeTaskCurrZone: [Circular *1], _cancelTaskZS: [Object], _cancelTaskDlgt: [ZoneDelegate], _cancelTaskCurrZone: [Circular *1], _hasTaskZS: [Object], _hasTaskDlgt: [ZoneDelegate], _hasTaskDlgtOwner: [Circular *2], _hasTaskCurrZone: [Circular *1] } }, task: ZoneTask { _zone: <ref *1> Zone { _parent: [Zone], _name: 'angular', _properties: [Object], _zoneDelegate: [ZoneDelegate] }, runCount: 0, _zoneDelegates: null, _state: 'notScheduled', type: 'microTask', source: 'Promise.then', data: ZoneAwarePromise [Promise] { __zone_symbol__state: 0, __zone_symbol__value: [HttpErrorResponse] }, scheduleFn: undefined, cancelFn: undefined, callback: [Function (anonymous)], invoke: [Function (anonymous)] } }