抱歉啦!你访问的页面出错了,三秒后返回首页...
{"message":"Unexpected token < in JSON at position 0 (data json format: \"<html>\\r\\n<head><title>502 Bad Gateway</title></head>\\r\\n<body>\\r\\n<center><h1>502 Bad Gateway</h1></center>\\r\\n<hr><center>nginx/1.19.9</center>\\r\\n</body>\\r\\n</html>\\r\\n\"), GET http://nginx2:90/api/v1/companies/811 502 (connected: true, keepalive socket: true, agent status: {\"createSocketCount\":29573,\"createSocketErrorCount\":0,\"closeSocketCount\":29564,\"errorSocketCount\":9,\"timeoutSocketCount\":390,\"requestCount\":2848612,\"freeSockets\":{\"nginx2:90:\":7},\"sockets\":{\"nginx2:90:\":2},\"requests\":{}}, socketHandledRequests: 52, socketHandledResponses: 52)\nheaders: {\"server\":\"nginx/1.19.9\",\"date\":\"Sat, 10 Apr 2021 14:13:46 GMT\",\"content-type\":\"text/html\",\"content-length\":\"157\",\"connection\":\"keep-alive\"}","stack":"JSONResponseFormatError: Unexpected token < in JSON at position 0 (data json format: \"<html>\\r\\n<head><title>502 Bad Gateway</title></head>\\r\\n<body>\\r\\n<center><h1>502 Bad Gateway</h1></center>\\r\\n<hr><center>nginx/1.19.9</center>\\r\\n</body>\\r\\n</html>\\r\\n\"), GET http://nginx2:90/api/v1/companies/811 502 (connected: true, keepalive socket: true, agent status: {\"createSocketCount\":29573,\"createSocketErrorCount\":0,\"closeSocketCount\":29564,\"errorSocketCount\":9,\"timeoutSocketCount\":390,\"requestCount\":2848612,\"freeSockets\":{\"nginx2:90:\":7},\"sockets\":{\"nginx2:90:\":2},\"requests\":{}}, socketHandledRequests: 52, socketHandledResponses: 52)\nheaders: {\"server\":\"nginx/1.19.9\",\"date\":\"Sat, 10 Apr 2021 14:13:46 GMT\",\"content-type\":\"text/html\",\"content-length\":\"157\",\"connection\":\"keep-alive\"}\n at JSON.parse (<anonymous>)\n at parseJSON (/home/jobseek/node_modules/urllib/lib/urllib.js:1190:24)\n at /home/jobseek/node_modules/urllib/lib/urllib.js:895:23\n at decodeContent (/home/jobseek/node_modules/urllib/lib/urllib.js:699:14)\n at handleResponseCloseAndEnd (/home/jobseek/node_modules/urllib/lib/urllib.js:876:7)\n at IncomingMessage.<anonymous> (/home/jobseek/node_modules/urllib/lib/urllib.js:920:7)\n at IncomingMessage.emit (events.js:326:22)\n at IncomingMessage.EventEmitter.emit (domain.js:483:12)\n at endReadableNT (_stream_readable.js:1241:12)\n at processTicksAndRejections (internal/process/task_queues.js:84:21)"}