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:
Error: connect ETIMEDOUT 210.71.183.8:1002
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '210.71.183.8',
port: 1002
}
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
SAVE_PATH : https://ybjson02.youbike.com.tw:60008/yb2/taichung/gwjs.json
statusCode : 200
response.headers:application/json
Error: connect ETIMEDOUT 210.71.183.8:1002
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '210.71.183.8',
port: 1002
}
Application has thrown an uncaught exception and is terminated:
TypeError: Cannot read properties of undefined (reading 'statusCode')
at Request._callback (C:\Website\NodejsSwagger\express\api\download_file.js:46:58)
at self.callback (C:\Website\NodejsSwagger\express\node_modules\request\request.js:186:22)
at Request.emit (node:events:513:28)
at Request.onRequestError (C:\Website\NodejsSwagger\express\node_modules\request\request.js:878:8)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:481:9)
at TLSSocket.emit (node:events:513:28)
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)